Hello Everybody,
Finally, I get rid of this problem mentioned above. I re-looked into the program stepwise and found that some denominators were going to infinite and due to that only the error was coming. Then, I have corrected those functions again by redesigning the controller.