Error Massage when running my file

i just do my homework for an RBC model with risk shock , finishing my file writing and try to run it, but something went wrong.the error massage flowing:
错误使用 chol
矩阵必须为正定矩阵。

出错 th_autocovariances (line 191)
cs = chol(SS)’;

出错 disp_th_moments (line 40)
[oo_.gamma_y,stationary_vars] = th_autocovariances(dr, ivar, M_, options_, nodecomposition);

出错 stoch_simul (line 194)
oo_=disp_th_moments(oo_.dr,var_list,M_,options_,oo_);

出错 model2.driver (line 302)
[info, oo_, options_, M_] = stoch_simul(M_, options_, oo_, var_list_);

出错 dynare (line 293)
evalin(‘base’,[fname ‘.driver’]) ;
i have no idea about what is it going on
model2.log (4.3 KB)

Please upload your file, otherwise helping you is very difficult, you uploaded the log file and not the mod file. All I can see from the log file is that

[警告: Some of the parameters have no value (sigmaa, sigmap) when using stoch_simul. If these parameters are not initialized in
a steadystate file or a steady_state_model-block, Dynare may not be able to solve the model…]

but it found a steady state, so this may not cause the problem.