CIF simulation crashes with Java runtime error "Invalid lp value: -1"
The attached merged.cif
file crashes when simulating, while "Waiting for initialization to finish...":
[Exception]
java.lang.RuntimeException: Invalid lp value: -1
at cifcode.AlgVars.a_control_a_conveyer(AlgVars.java:325)
at cifcode.AlgVars.a_a_conveyer(AlgVars.java:207)
at cifcode.StateInit.initState0(StateInit.java:88)
at cifcode.StateInit.initState(StateInit.java:74)
at cifcode.State.create(State.java:158)
at cifcode.Spec.createInitialState(Spec.java:964)
at cifcode.Spec.createInitialState(Spec.java:40)
at org.eclipse.escet.cif.simulator.CifSimulator.simulateInternal(CifSimulator.java:297)
at org.eclipse.escet.cif.simulator.CifSimulator.simulate(CifSimulator.java:115)
at org.eclipse.escet.cif.simulator.CifSimulatorApp.runInternal(CifSimulatorApp.java:129)
at org.eclipse.escet.common.app.framework.Application.run(Application.java:343)
at org.eclipse.escet.common.app.framework.ChildAppStarter$1.run(ChildAppStarter.java:281)
at java.base/java.lang.Thread.run(Thread.java:834)
[Application]
Application name = CIF simulator
Application version = 0.2.0.20210520-142628
Application class = org.eclipse.escet.cif.simulator.CifSimulatorApp
[Options]
Command line arguments = "merged.cif", "-i", "svg", "--speed=1", "-o", "-state-target"
merged.cif crash_report_2021-06-07_17-20-42-589_8602957817598269521.log