Missing state variable

Hello,
I'm solving a standard RBC model with investment adjustment cost. As a result, lagged investment, i(-1), is supposed to be a state variable. However i(-1) doesn't appear in the policy function for some reason. Is this a bug or am I missing something?
I've attached my mod file.
Thank you!
I'm solving a standard RBC model with investment adjustment cost. As a result, lagged investment, i(-1), is supposed to be a state variable. However i(-1) doesn't appear in the policy function for some reason. Is this a bug or am I missing something?
I've attached my mod file.
Thank you!