I have parsed an xml file of a biomodel and on using stochpy package in that psc file generated i am getting error like this.

What can be the possible reasons for not taking the log function in the .psc file. I have tried importing math in different ways...still showing the same error.