Blanchard & Kahn conditions, rank condition isn't verified

I am trying to replicate CEE, my current code is attached. I keep getting this error and can’t figure out where the timing issue. Can anyone see it? Thanks!
PS2.mod (4.2 KB)

There are 10 eigenvalue(s) larger than 1 in modulus for 9 forward-looking variable(s)
The rank condition ISN’T verified!
Error using print_info (line 33)
Blanchard & Kahn conditions are not satisfied: no stable equilibrium.

Error in stoch_simul (line 119)
print_info(info, options_.noprint, options_);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in PS2.driver (line 610)
[info, oo_, options_, M_] = stoch_simul(M_, options_, oo_, var_list_);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in dynare (line 308)
evalin(‘base’,[fname ‘.driver’]);

Check the timing. From what I can see, the timing for the states like capital seems inconsistent with Dynare’s convention.