High variance and Moments NaN (variance decomposition)

Hello everyone,
I'm running a model, everything seems good but I receive bad results: theoretical moments have high or NaN std and variance. Thus I have bad variance decomposition.
Any idea of what's wrong?
I'm running a model, everything seems good but I receive bad results: theoretical moments have high or NaN std and variance. Thus I have bad variance decomposition.
Any idea of what's wrong?