Unrecognized field name "edim"

Hi,

I have been working on the file attached but I keep getting the following error:

Unrecognized field name “edim”.
Error in check (line 65)
if (nyf == dr.edim) && (dr.full_rank)
Error in ARtest3.driver (line 567)
oo_.dr.eigval = check(M_,options_,oo_);
Error in dynare (line 281)
evalin(‘base’,[fname ‘.driver’]);

It can compute the steady-state values but I think the BK condition is not verified. I have double-checked the timing of the variables but I cannot seem to point out where the error may be coming from. Could you please check and assist me?

ARtest3calib.m (2.3 KB)
ARtest3steady.m (2.0 KB)
ARtest3.mod (13.8 KB)

I cannot replicate the problem in Dynare 6.