Doubts about the dynare

I’m trying to estimate my model in the dynare, but this error always appears:
Error using dynare (line 217)
DYNARE: preprocessing failed

Can someRotinas do modelo1.txt (3.7 KB)
one help me? Thank you

Your bracketing is messed up. Some brackets open and never close. Check all equations.