Mass matrix contains zeros on the diagonal

it solved the problem. but after completion, i am getting error - your session crashed after using all available RAM. i am using google colab. The maximum RAM allocated is 25 GB