I have a very strange issue in my deterministic simulation. I have a model with 59 variables. All their initial values are set to the steady state values through
initval command. There is no problem with the steady state.
For a weird reason, from the 27th variable (ordered as declared) onward all variables get 0 as initial value (period 1). For their end value even though I have specify to be the SS. These variables get arbitrary values.
The rest of the variables get their correct initial and end variables (SS).
When I change the ordering of the variables, the perfect foresight solver cannot find a solution!