Walras law in dsge model

That is hard to debug. I can only recommend starting with a smaller model to see where the problem is.