Covariance matrix not positive definitive in DSGE-VAR model

There is a second post with the same issues and codes: