Ramsey model: Index exceeds the number of array elements

Hi professor, I was running a ramsey and came across the error saying:
Index exceeds the number of array elements. Index must not exceed

Error in model.static_resid_tt (line 25)
T(8) = y(77)*T(7);

Error in model.static_resid (line 19)
T = model.static_resid_tt(T, y, x, params);

Error in model.static (line 4)
residual = model.static_resid(T, y, x, params, true);

Error in evaluate_static_model (line 69)
residuals = feval(fh_static,ys,exo_ss,params);

Error in evaluate_steady_state_file (line 108)
[residuals, check] = evaluate_static_model(ys, exo_ss, params, M, options);

Error in evaluate_steady_state (line 254)
[ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M, options,steadystate_check_flag);

Error in steady_ (line 55)
[steady_state,params,info] = evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);

Error in steady (line 80)
[oo_.steady_state,M_.params,info] = steady_(M_,options_,oo_);

Error in model.driver (line 916)

Error in dynare (line 281)
evalin(‘base’,[fname ‘.driver’]);

How can I solve this problem? Thank you very much.

model.mod (6.1 KB)
I can only upload one file. There are three other files that I cannot upload because it came across an error saying that the file I am loading is 0 byte.

The param.mat is missing.

test.zip (6.3 KB)
Hi professor, thanks for you reply. I update the files and came across a new error. It seemed like that the ramsey can not calculate the multipliers steady state. How can I solve this problem. Thanks for your help again.