Hi Aravind (@aravindbaskar) and thanks for the very detailed description of the problem!
This issue has already been discussed in some posts. I would recommend having a look at the following post from @jprobst: Floating Point Exception Error
Maybe you can get anything out of it and it will help your simulation. If not please let me know and I will try to figure out another solution.
Cheers and good luck!
Jousef