Question about financial accelerator in soe

The model is Based on BGG(1999) and Gertler (2007) External Constraints on Monetary Policy and the Financial Accelerator.but there is something wrong with dynare code I wrote,as follow:
Error using print_info (line 36)
The generalized Schur (QZ) decomposition failed. For more information, see the documentation
for Lapack function dgges: info=23, n=23

Error in check (line 76)
print_info(info, options.noprint);

Error in test3 (line 312)
oo_.dr.eigval = check(M_,options_,oo_);

Error in dynare (line 120)
evalin(‘base’,fname) ;

the model and the dynare code i wrote attached.
will you so kind to give me some advises. thank you in advance.
test3.mod (4.26 KB)
Financial accelerator in soe.pdf (238 KB)