The generalized Schur (QZ) decomposition failed. For more information, see the documentation for Lapack function dgges: info=30, n=30

One thing that you should do is replace the use of the steady_state-operator for things that cannot be computed endogenously. See

That should eliminate the most message displayed in model_diagnostics. After that, check whether additional flagged issues remain.