The first time with dynare

Dear Dynare Community.
the_effectiveness_of_QE.m (1.8 KB) effectivenessQE.mod (5.1 KB)
This is my first time to use dynare, I try to run a model which contains a financial department. I take a lot of time to calculate this model and enter it into dynare, but I got stuck in the first step, it reveals that

,and when I point in ,it reminds me that if status
% Should not use “error(result)” since message will be truncated if too long
error(‘DYNARE: preprocessing failed’)
end
then I take a few days to check the model ,but unfortunately I cant find the mistake.
The main file is the m file. I’d appreciate it if you could give me some advice about how to correct the error?

In the line

exp(omega(+1))=beta*exp(Lam(+1))/exp(Lam)*(1-theta+theta*(exp(nuk(+1))*exp(phi(+1))+rho(+1));

the bracket before (1-theta never closes.

QEeffective2.mod (5.0 KB) the_effectiveness_of_QE.m (2.0 KB) Thank you very much, I corrected my grammar error, I am very happy that dynare has finally preprocessed. But I have encountered a new problem, the error is as follows,I would be grateful if you could tell me the reason for the error and how can I correct it. I hope to get your reply, thank u again!
Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

Using 64-bit preprocessor
Starting Dynare (version 4.5.7).
Starting preprocessing of the model file …
Found 32 equation(s).
Evaluating expressions…done
Computing static model derivatives:

  • order 1
    Computing dynamic model derivatives:
  • order 1
    Processing outputs …
    done
    Preprocessing completed.

Residuals of the static equations:

Equation number 1 : 0
Equation number 2 : 0
Equation number 3 : 0
Equation number 4 : 0
Equation number 5 : 0
Equation number 6 : 0
Equation number 7 : 0
Equation number 8 : 0
Equation number 9 : 0
Equation number 10 : 0
Equation number 11 : 0
Equation number 12 : 0
Equation number 13 : 0
Equation number 14 : 0
Equation number 15 : 0
Equation number 16 : 0
Equation number 17 : 0
Equation number 18 : 0
Equation number 19 : 0
Equation number 20 : 0
Equation number 21 : 0
Equation number 22 : 0
Equation number 23 : 0
Equation number 24 : 0
Equation number 25 : 0
Equation number 26 : 0
Equation number 27 : 0
Equation number 28 : 0
Equation number 29 : 0
Equation number 30 : 0
Equation number 31 : 0
Equation number 32 : 0

STEADY-STATE RESULTS:

phi 1.60944
rho 0.0825013
nuk -7.72641
omega 0.072451
rk -4.55531
rd -4.59512
rb -4.57502
qk 0
spk 5.89742
qb -1.61554
spb 6.17754
n 4.41155
k 6.00278
i 2.3139
Lam -4.38925
y 3.1757
l -1.06492
w 3.32433
c 2.19463
Tau 1.80261
Rd 0.0150379
b 6.40068
sgk 3.7002
sgb 4.79124
phik -2.30259
phib -1.60944
pi -5.29832
ksi 0
g 1.56626
z 0
V 0
X 0

EIGENVALUES:
Modulus Real Imaginary

   3.996e-13        3.996e-13                0
    1.33e-12         1.33e-12                0
   5.971e-10        5.971e-10                0
    0.008744        -0.008744                0
      0.6383           0.6383                0
         0.9              0.9                0
         0.9              0.9                0
         0.9              0.9                0
         0.9              0.9                0
         0.9              0.9                0
      0.9867           0.9867                0
       0.992            0.992                0
       1.026            1.026                0
       1.029            1.029                0
       1.052            1.052                0
       1.583            1.583                0
       24.14           -24.14                0
        61.1             61.1                0
   5.271e+14       -5.271e+14                0
   1.255e+16       -1.255e+16                0
   4.886e+16       -4.886e+16                0
   1.383e+33        1.383e+33                0
   7.521e+33        7.521e+33                0
   1.637e+34        1.637e+34                0

There are 12 eigenvalue(s) larger than 1 in modulus
for 15 forward-looking variable(s)

The rank condition ISN’T verified!

错误使用 print_info (line 45)
Blanchard Kahn conditions are not satisfied: indeterminacy

出错 stoch_simul (line 100)
print_info(info, options_.noprint, options_);

出错 QEeffective2 (line 512)
info = stoch_simul(var_list_);

出错 dynare (line 235)
evalin(‘base’,fname) ;

出错 the_effectiveness_of_QE (line 85)

Usually that is the sign of a timing error. Check the timing of all predetermined variables, in particular of stock like bonds, capital, or net worth.