Everything looks fine to me.
Maybe computation of derivatives is causing the issue.
In this post 7 I have references to a notebook that solves possion equation which contains solving second order PDEs. I hope it helps.