Log-linearization in CF model

As in [Error Syntax "Unexpected EXP"] it is difficult to say without having the entire mod file and knowing the status of the objects (parameters vs. endogenous variables).

That said, there is probably something wrong in the antepenultimate line of the block for the initial values, where you replace q by \log e^q… The two expressions are equivalent, so you did not change anything here.

Best,
Stéphane.