I am trying to use the Identification Tools (developed by Ratto) in Dynare. I have a pretty large model (perhaps 80 parameters, 25 shocks), and when I run the model I get the following error message:
Starting Dynare (version 4.4.3).
Starting preprocessing of the model file ...
Substitution of endo lags >= 2: added 10 auxiliary variables and equations.
Found 288 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
- order 2
- derivatives of Jacobian/Hessian w.r. to parameters
Computing dynamic model derivatives:
- order 1
- order 2
- derivatives of Jacobian/Hessian w.r. to parameters
terminate called after throwing an instance of 'St9bad_alloc'
what(): std::bad_alloc
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Not really sure what is going on. I googled "terminate called after throwing an instance of 'St9bad_alloc'", and to me it looks like this is a C++ error, and has something to do with running out of memory.
Is there a way to fix some of the parameters, so that Dynare doesn't need to take the derivatives of all the parameters?
Thanks!