preprocessor issueshttps://git.dynare.org/Dynare/preprocessor/-/issues2023-12-06T08:50:04Zhttps://git.dynare.org/Dynare/preprocessor/-/issues/121Allow requesting derivatives of dynamic model at command line2023-12-06T08:50:04ZJohannes PfeiferAllow requesting derivatives of dynamic model at command lineThe manual states:
```
output=second|third
Instructs the preprocessor to output derivatives of the dynamic model at least up to the given
order
```
However, the attached mod-file does not run despite containing
```
//--+ options: output=...The manual states:
```
output=second|third
Instructs the preprocessor to output derivatives of the dynamic model at least up to the given
order
```
However, the attached mod-file does not run despite containing
```
//--+ options: output=third, stochastic +--.
```
due to
```
The derivatives were not computed for the required order. Make sure that you used the right order option inside the `stoch_simul' command
Error using print_info
k_order_pert was unable to compute the solution
```
[example3.mod](/uploads/6ea1fa9de7e53b41d8803975ca98a4e1/example3.mod)https://git.dynare.org/Dynare/preprocessor/-/issues/112Check variable counting if variables appear in multiple PAC models2022-12-19T14:16:49ZJohannes PfeiferCheck variable counting if variables appear in multiple PAC modelsSee https://forum.dynare.org/t/multiple-pac-equations-and-satellite-var-models-in-a-single-mod-file/21635
[block_agg.mod](/uploads/82c57104381679043ea08a3db55fa14e/block_agg.mod)See https://forum.dynare.org/t/multiple-pac-equations-and-satellite-var-models-in-a-single-mod-file/21635
[block_agg.mod](/uploads/82c57104381679043ea08a3db55fa14e/block_agg.mod)https://git.dynare.org/Dynare/preprocessor/-/issues/102Fix treatment of redundant Lagrange multiplier2022-07-26T09:46:03ZJohannes PfeiferFix treatment of redundant Lagrange multiplierThe attached file contains a redundant equation `junk=junk` that results in Lagrange multiplier 19 not being present at all. That causes a crash in `stochastic_solvers` due to `M_.lead_lag_incidence` containing a column of zeros. In cont...The attached file contains a redundant equation `junk=junk` that results in Lagrange multiplier 19 not being present at all. That causes a crash in `stochastic_solvers` due to `M_.lead_lag_incidence` containing a column of zeros. In contrast to other cases, we do not provide a preprocessing error. For example
```
0*junk=0;
```
will result in
>Starting preprocessing of the model file ...
Error: junk not used in the model block
[Gali_2008_chapter_5_commitment.mod](/uploads/b595228fa77e2112a3b3dce37b75084a/Gali_2008_chapter_5_commitment.mod)