libcosim
libcosim copied to clipboard
Missing lines in the log after simulating for a long time
Setup: Using COSIM-CLI Configuration: only with the Damper model as in the attachment (base step-size:0.2) Damper.zip
Actions: Simulate for a long time
Result:
- When simulating for a long time, the decimals for Time just disappear from the log.
At start:

When we get to 6 digits the decimal just disappears:
NOTE: This will be handled in #618
- In addition there are also missing entries for some timesteps, see log attached: Damper1_20210901_162507_022372.zip

I have not investigated further if this occurs for other timestamps.
I'm pretty sure this is the same as #618. The default for C++ output is to print floating-point numbers with 6 digits of precision.
I'm pretty sure this is the same as #618. The default for C++ output is to print floating-point numbers with 6 digits of precision.
Yes, you are correct, I had not seen #618 .
I have one additional item in the bug above (the missing entries). I mean for timestamp 100000 there are only 3 entries while the expected would be 5.
That is very weird. I'm not sure the two issues are related. I suggest you change the issue title to focus on the problem with missing lines, and then we can deal with the missing decimals under #618.
That is very weird. I'm not sure the two issues are related. I suggest you change the issue title to focus on the problem with missing lines, and then we can deal with the missing decimals under #618.
Ok, I agree and I've changed the title.