Fix current dimension

The equation count is a much more reliable indicator...

Signed-off-by: Christoph Höger <christoph.hoeger@tu-berlin.de>
Fix flatTests

Signed-off-by: Christoph Höger <christoph.hoeger@tu-berlin.de>
Add tests for simulation runs

Signed-off-by: Christoph Höger <christoph.hoeger@tu-berlin.de>
Add some validation tests

Signed-off-by: Christoph Höger <christoph.hoeger@tu-berlin.de>
Get rid of unnecessary flattening

Signed-off-by: Christoph Höger <christoph.hoeger@tu-berlin.de>
Fix event loop on "everyStep" signal

Signed-off-by: Christoph Höger <christoph.hoeger@tu-berlin.de>
Fix nasty sampling bug(s)

Signed-off-by: Christoph Höger <christoph.hoeger@tu-berlin.de>
Register simulation interface

This might be moved to the set_sim_state monad in the future.

Signed-off-by: Christoph Höger <christoph.hoeger@tu-berlin.de>