During my simulations a very large number of warnings appear in the console. The warnings seem to occur around the times when action potentials occur in my simulation, which is also when the adaptive integration method uses short time steps. The warnings always look like this:
Where xxx.x is between 200 and 300 ms, based on my simulation parameters.CVode-- Warning: Internal t = xxx.x and h = y.yyyyy
are such that t + h = t on the next step.
The solver will continue anyway.
Where y.yyyyy is usually from 1.yyyyye-17 to 9.yyyyye-19 (roughly eye-balled).
I have a couple of concerns that I'm hoping someone here can address.
1. I'm concerned that the warnings are slowing my simulation. I don't know how to confirm this, since I haven't figured out a way to turn the warnings off. My past experience in other types of programming taught me that printing to the screen takes some time, enough to introduce timing bugs in an embedded environment ... not sure how the time required to print + scroll these warnings compares to the execution time for a single time-step?
2. The warnings flood my console, so I am unable to easily see my earlier console commands and statements. However, I can still use the cursors to scroll through the commands I issued, but I can't go back and see other print statements that preceed the first warnings. This is merely inconvenient.
3. Even though these are "warnings" (not "errors"), I'm not sure how to interpret the "anyway" portion of the message. Aside from issues #1 and #2 above, is it safe to ignore these warnings? In other words, could the conditions that lead to the warnings also be affecting my simulation result?
How can I turn off these warnings, or avoid the conditions that lead to them?
Thank you very much!
PS: Looks like the warnings may be generated at L280 in src/scopmath/csoda.c