DSGE generalized Schur (QZ) decomposition failed

Dear Professor,I’m reproducing this article, but the current code shows that the model has a redundant equation and lacks a necessary equation, I really can’t find a new equation to replace it, could you please help take a look?

print_info (line 32)
The generalized Schur (QZ) decomposition failed. For more information, see the documentation for Lapack function dgges: info=30,
n=28. You can also run model_diagnostics to get more information on what may cause this problem.

Uploading: 1-s2.0-S0304393216300198-mmc1.pdf…
model.mod (7.3 KB)
steady_helper.m (197 Bytes)

model_diagnostics warns about collinearity between the following equations

Colinear equations
    17    29    30    32

You should focus on those.

I find the original mode of the artical and fund the equation,and the problem was settled, thank you Professor.Best regards!