Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant4") translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009432/0.0009432, allocations: 107 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008852/0.0008852, allocations: 187.1 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.07839/0.07839, allocations: 13.55 MB / 304.8 MB, free: 1.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.755e-05, allocations: 5.516 kB / 422.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant4): time 0.002182/0.002208, allocations: 2.133 MB / 424.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.00349, allocations: 0.9814 MB / 425.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.003698, allocations: 23.88 kB / 425.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.004739, allocations: 0.7965 MB / 426.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.004877, allocations: 39.47 kB / 426.2 MB, free: 10.39 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12183:5-12189:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of NFTyping.typeClassSections: time 0.000673/0.005556, allocations: 319.5 kB / 426.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.006049, allocations: 0.6197 MB / 427.1 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006897/0.006747, allocations: 0.7659 MB / 427.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.006984, allocations: 295 kB / 428.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.007198, allocations: 282.7 kB / 428.5 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.775e-05/0.007271, allocations: 60 kB / 428.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.007384, allocations: 72 kB / 428.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000297/0.007687, allocations: 0.8684 MB / 429.4 MB, free: 7.113 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001713/0.007864, allocations: 0.577 MB / 430 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.007945, allocations: 75.69 kB / 430.1 MB, free: 6.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.609e-05/0.008016, allocations: 83.55 kB / 430.2 MB, free: 6.371 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 (144) * Number of variables: 142 (142) Notification: Performance of Bindings: time 0.00178/0.0098, allocations: 2.498 MB / 432.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002442/0.01005, allocations: 245.8 kB / 432.9 MB, free: 3.504 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009937/0.01105, allocations: 1.429 MB / 434.3 MB, free: 2.035 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001056/0.01116, allocations: 111.8 kB / 434.5 MB, free: 1.926 MB / 302.1 MB Notification: Performance of Alias: time 0.001557/0.01273, allocations: 2.025 MB / 436.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simplify2: time 9.532e-05/0.01283, allocations: 83.81 kB / 436.6 MB, free: 15.55 MB / 318.1 MB Notification: Performance of Events: time 0.0003458/0.01318, allocations: 283.5 kB / 436.8 MB, free: 15.25 MB / 318.1 MB Notification: Performance of Detect States: time 0.000672/0.01386, allocations: 0.6955 MB / 437.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000789/0.01466, allocations: 0.7588 MB / 438.3 MB, free: 13.73 MB / 318.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency step2.inPort.node.suspend could not be divided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [FOR-] (2) ($RES_SIM_93) [----] for $i1 in 1:1 loop [----] [RECD] (2) step2.inPort[$i1].node = step2.connectorNode.node ($RES_SIM_94) [----] end for; Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (111/111) **************************** (1) [DISC] (1) Boolean[1] step2.outPort.fire (2) [DISC] (1) Boolean T4.inPort.available (3) [DISC] (1) Boolean[1] step2.outPort.available (4) [DISS] (1) protected Boolean step3.oldActive (fixed = true, start = false) (5) [DISC] (1) Boolean T2.inPort.node.suspend (6) [DISC] (1) Boolean[1] initialStep.outPort.available (7) [DISC] (1) Boolean[1] step4.outPort.fire (8) [DISC] (1) Boolean T2.inPort.node.resume (9) [DISC] (1) protected Boolean initialStep.connectorNode.node.suspend (10) [DISC] (1) protected Boolean initialStep.connectorNode.node.resume (11) [DISC] (1) Boolean T3.outPort.node.resume (12) [DISC] (1) protected Boolean step3.newActive (fixed = true, start = false) (13) [DISS] (1) protected discrete Real timer2.entryTime (14) [DISC] (1) protected Boolean step4.connectorNode.node.suspend (15) [DISS] (1) protected Boolean initialStep.oldActive (fixed = true, start = true) (16) [DISC] (1) protected Boolean step3.outport_fire (17) [DISC] (1) Boolean T2.outPort.fire (18) [DISC] (1) protected Boolean step2.inport_fire (19) [DISC] (1) Boolean[1] step3.inPort.node.suspend (20) [DISC] (1) protected Boolean step3.inport_fire (21) [DISC] (1) protected Boolean step4.inport_fire (22) [DISC] (1) Boolean T1.inPort.available (23) [DISC] (1) Boolean[1] step3.outPort.node.suspend (24) [DISC] (1) Boolean[1] initialStep.inPort.fire (25) [DISC] (1) Boolean T4.outPort.fire (26) [DISC] (1) Boolean T3.inPort.available (27) [DISC] (1) Boolean[1] step4.outPort.node.suspend (28) [DISC] (1) protected Boolean initialStep.newActive (fixed = true, start = true) (29) [DISC] (1) Boolean[1] step4.outPort.node.resume (30) [DISC] (1) Boolean[1] initialStep.outPort.node.suspend (31) [DISC] (1) Boolean T4.inPort.node.suspend (32) [DISC] (1) protected Boolean step2.connectorNode.node.suspend (33) [DISC] (1) Boolean[1] step3.inPort.node.resume (34) [DISC] (1) Boolean[1] step2.outPort.node.resume (35) [DISC] (1) Boolean[1] initialStep.outPort.fire (36) [ALGB] (1) Real timer1.y (37) [DISC] (1) Boolean T4.outPort.node.suspend (38) [DISS] (1) protected Boolean step4.oldActive (fixed = true, start = false) (39) [DISC] (1) Boolean[1] step4.inPort.node.suspend (40) [DISC] (1) Boolean[1] step4.inPort.node.resume (41) [DISC] (1) Boolean T2.inPort.available (42) [DISC] (1) Boolean step2.active (43) [DISC] (1) Boolean T1.outPort.node.resume (44) [DISC] (1) Boolean greaterEqual.y (45) [DISC] (1) protected Boolean step4.newActive (fixed = true, start = false) (46) [DISC] (1) protected Boolean step3.connectorNode.node.resume (47) [DISC] (1) protected Boolean step4.connectorNode.node.resume (48) [DISC] (1) Boolean[1] step3.outPort.fire (49) [DISC] (1) Boolean T4.outPort.node.resume (50) [DISC] (1) protected Boolean T1.localCondition (51) [DISC] (1) protected Boolean step3.connectorNode.node.suspend (52) [DISC] (1) Boolean T2.outPort.node.suspend (53) [DISC] (1) Boolean initialStep.active (54) [DISC] (1) Boolean $SEV_12 (55) [DISC] (1) protected Boolean step2.connectorNode.node.resume (56) [DISC] (1) Boolean $SEV_11 (57) [DISC] (1) Boolean $SEV_10 (58) [DISC] (1) Boolean[1] initialStep.outPort.node.resume (59) [DISC] (1) Boolean T3.inPort.node.suspend (60) [DISC] (1) Boolean T4.inPort.node.resume (61) [DISC] (1) protected Boolean step2.outport_fire (62) [DISC] (1) Boolean step3.active (63) [DISC] (1) Boolean T1.outPort.fire (64) [DISS] (1) protected Boolean step2.oldActive (fixed = true, start = false) (65) [DISC] (1) protected Boolean step4.outport_fire (66) [DISC] (1) Boolean $SEV_9 (67) [DISC] (1) Boolean T3.outPort.fire (68) [DISC] (1) Boolean $SEV_8 (69) [DISC] (1) Boolean T1.inPort.node.suspend (70) [DISC] (1) Boolean $SEV_7 (71) [DISC] (1) Boolean $SEV_6 (72) [DISC] (1) Boolean[1] step2.outPort.node.suspend (73) [DISC] (1) Boolean $SEV_5 (74) [DISC] (1) Boolean $SEV_4 (75) [DISC] (1) Boolean $TEV_9 (76) [DISC] (1) Boolean $SEV_3 (77) [DISC] (1) Boolean $TEV_8 (78) [DISC] (1) protected Boolean step2.newActive (fixed = true, start = false) (79) [DISC] (1) Boolean T3.inPort.node.resume (80) [DISC] (1) Boolean $SEV_2 (81) [DISC] (1) Boolean $TEV_7 (82) [ALGB] (1) Real timer2.y (83) [DISC] (1) Boolean $SEV_1 (84) [DISC] (1) Boolean $TEV_6 (85) [DISC] (1) Boolean[1] step2.inPort.node.resume (86) [DISS] (1) protected discrete Real timer1.entryTime (87) [DISC] (1) Boolean $SEV_0 (88) [DISC] (1) Boolean $TEV_5 (89) [DISC] (1) Boolean T2.outPort.node.resume (90) [DISC] (1) Boolean $TEV_4 (91) [DISC] (1) Boolean greaterEqual1.y (92) [DISC] (1) Boolean $TEV_3 (93) [DISC] (1) Boolean step4.active (94) [DISC] (1) Boolean $TEV_2 (95) [DISC] (1) Boolean $TEV_1 (96) [DISC] (1) Boolean $TEV_0 (97) [DISC] (1) Boolean[1] step2.inPort.fire (98) [DISC] (1) Boolean[1] initialStep.inPort.node.resume (99) [DISC] (1) Boolean[1] step3.inPort.fire (100) [DISC] (1) Boolean[1] step4.inPort.fire (101) [DISC] (1) Boolean[1] initialStep.inPort.node.suspend (102) [DISC] (1) protected Boolean initialStep.inport_fire (103) [DISC] (1) Boolean[1] step2.inPort.node.suspend (104) [DISC] (1) Boolean T3.outPort.node.suspend (105) [DISC] (1) Boolean[1] step4.outPort.available (106) [DISC] (1) Boolean $TEV_10 (107) [DISC] (1) Boolean T1.outPort.node.suspend (108) [DISC] (1) Boolean[1] step3.outPort.available (109) [DISC] (1) Boolean T1.inPort.node.resume (110) [DISC] (1) Boolean[1] step3.outPort.node.resume (111) [DISC] (1) protected Boolean initialStep.outport_fire System Equations (109/121) **************************** (1) [SCAL] (1) initialStep.active = $TEV_9 ($RES_SIM_132) (2) [SCAL] (1) step3.outPort[1].fire = true ($RES_SIM_50) (3) [SCAL] (1) T4.outPort.fire = $SEV_1 ($RES_SIM_15) (4) [SCAL] (1) initialStep.newActive = if initialStep.connectorNode.node.resume then initialStep.oldActive else $SEV_12 ($RES_SIM_133) (5) [SCAL] (1) step4.outPort[1].fire = true ($RES_SIM_16) (6) [SCAL] (1) step3.inPort[1].fire = true ($RES_SIM_53) (7) [SCAL] (1) step4.outPort[1].node.suspend = T3.inPort.node.suspend ($RES_SIM_170) (8) [SCAL] (1) T4.outPort.node.resume = step4.inPort[1].node.resume ($RES_SIM_136) (9) [SCAL] (1) step4.outPort[1].fire = T3.outPort.fire ($RES_SIM_171) (10) [SCAL] (1) step4.inPort[1].fire = true ($RES_SIM_19) (11) [SCAL] (1) T1.localCondition = $TEV_10 ($RES_BND_184) (12) [SCAL] (1) T4.outPort.node.suspend = step4.inPort[1].node.suspend ($RES_SIM_137) (13) [SCAL] (1) T4.outPort.fire = step4.inPort[1].fire ($RES_SIM_138) (14) [SCAL] (1) step4.outPort[1].available = T3.inPort.available ($RES_SIM_173) (15) [FOR-] (2) ($RES_SIM_93) (15) [----] for $i1 in 1:1 loop (15) [----] [RECD] (2) step2.inPort[$i1].node = step2.connectorNode.node ($RES_SIM_94) (15) [----] end for; (16) [FOR-] (2) ($RES_SIM_59) (16) [----] for $i1 in 1:1 loop (16) [----] [RECD] (2) step3.outPort[$i1].node = step3.connectorNode.node ($RES_SIM_60) (16) [----] end for; (17) [SCAL] (1) T3.outPort.node.resume = initialStep.inPort[1].node.resume ($RES_SIM_177) (18) [SCAL] (1) T3.outPort.node.suspend = initialStep.inPort[1].node.suspend ($RES_SIM_178) (19) [SCAL] (1) step2.outPort[1].available = $SEV_8 ($RES_SIM_97) (20) [SCAL] (1) T3.outPort.fire = initialStep.inPort[1].fire ($RES_SIM_179) (21) [WHEN] (1)when step2.connectorNode.node.suspend then (21) [----] step2.oldActive := step2.active (21) [----] end when; (22) [SCAL] (1) step2.active = $TEV_8 ($RES_SIM_99) (23) [SCAL] (1) $TEV_8 = $PRE.step2.newActive ($RES_EVT_210) (24) [SCAL] (1) $TEV_9 = $PRE.initialStep.newActive ($RES_EVT_211) (25) [SCAL] (1) $TEV_10 = time >= 2.0 ($RES_EVT_212) (26) [SCAL] (1) $SEV_0 = timer2.y >= greaterEqual1.threshold ($RES_EVT_213) (27) [SCAL] (1) $SEV_1 = greaterEqual1.y and T4.inPort.available ($RES_EVT_214) (28) [SCAL] (1) $SEV_2 = step4.active and not step4.connectorNode.node.suspend ($RES_EVT_215) (29) [SCAL] (1) $SEV_3 = step4.inport_fire or (step4.active and not step4.outport_fire) and not step4.connectorNode.node.suspend ($RES_EVT_216) (30) [SCAL] (1) $SEV_4 = timer1.y >= greaterEqual.threshold ($RES_EVT_217) (31) [SCAL] (1) $SEV_5 = step3.active and not step3.connectorNode.node.suspend ($RES_EVT_218) (32) [SCAL] (1) $SEV_6 = step3.inport_fire or (step3.active and not step3.outport_fire) and not step3.connectorNode.node.suspend ($RES_EVT_219) (33) [SCAL] (1) step2.newActive = if step2.connectorNode.node.resume then step2.oldActive else $SEV_9 ($RES_SIM_100) (34) [RECD] (2) T1.outPort.node = T1.inPort.node ($RES_SIM_103) (35) [SCAL] (1) step3.outPort[1].node.resume = T4.inPort.node.resume ($RES_SIM_141) (36) [SCAL] (1) step3.outPort[1].node.suspend = T4.inPort.node.suspend ($RES_SIM_142) (37) [FOR-] (2) ($RES_SIM_25) (37) [----] for $i1 in 1:1 loop (37) [----] [RECD] (2) step4.outPort[$i1].node = step4.connectorNode.node ($RES_SIM_26) (37) [----] end for; (38) [SCAL] (1) step3.outPort[1].fire = T4.outPort.fire ($RES_SIM_143) (39) [SCAL] (1) T1.outPort.fire = $SEV_10 ($RES_SIM_109) (40) [FOR-] (2) ($RES_SIM_63) (40) [----] for $i1 in 1:1 loop (40) [----] [RECD] (2) step3.inPort[$i1].node = step3.connectorNode.node ($RES_SIM_64) (40) [----] end for; (41) [SCAL] (1) step3.outPort[1].available = T4.inPort.available ($RES_SIM_145) (42) [SCAL] (1) T2.outPort.node.resume = step3.inPort[1].node.resume ($RES_SIM_146) (43) [FOR-] (2) ($RES_SIM_29) (43) [----] for $i1 in 1:1 loop (43) [----] [RECD] (2) step4.inPort[$i1].node = step4.connectorNode.node ($RES_SIM_30) (43) [----] end for; (44) [SCAL] (1) T2.outPort.node.suspend = step3.inPort[1].node.suspend ($RES_SIM_147) (45) [SCAL] (1) T2.outPort.fire = step3.inPort[1].fire ($RES_SIM_148) (46) [SCAL] (1) step3.outPort[1].available = $SEV_5 ($RES_SIM_67) (47) [WHEN] (1)when step3.connectorNode.node.suspend then (47) [----] step3.oldActive := step3.active (47) [----] end when; (48) [SCAL] (1) step3.active = $TEV_7 ($RES_SIM_69) (49) [SCAL] (1) $SEV_7 = greaterEqual.y and T2.inPort.available ($RES_EVT_220) (50) [SCAL] (1) $SEV_8 = step2.active and not step2.connectorNode.node.suspend ($RES_EVT_221) (51) [SCAL] (1) $SEV_9 = step2.inport_fire or (step2.active and not step2.outport_fire) and not step2.connectorNode.node.suspend ($RES_EVT_222) (52) [SCAL] (1) $SEV_10 = T1.localCondition and T1.inPort.available ($RES_EVT_223) (53) [SCAL] (1) $SEV_11 = initialStep.active and not initialStep.connectorNode.node.suspend ($RES_EVT_224) (54) [SCAL] (1) $SEV_12 = initialStep.inport_fire or (initialStep.active and not initialStep.outport_fire) and not initialStep.connectorNode.node.suspend ($RES_EVT_225) (55) [SCAL] (1) initialStep.outPort[1].fire = true ($RES_SIM_111) (56) [SCAL] (1) initialStep.inport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue(initialStep.inPort.fire) ($RES_$AUX_201) (57) [SCAL] (1) initialStep.inPort[1].fire = true ($RES_SIM_114) (58) [SCAL] (1) initialStep.outport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue(initialStep.outPort.fire) ($RES_$AUX_200) (59) [SCAL] (1) step4.outPort[1].available = $SEV_2 ($RES_SIM_33) (60) [SCAL] (1) step2.outPort[1].node.resume = T2.inPort.node.resume ($RES_SIM_151) (61) [WHEN] (1)when step4.connectorNode.node.suspend then (61) [----] step4.oldActive := step4.active (61) [----] end when; (62) [SCAL] (1) step2.outPort[1].node.suspend = T2.inPort.node.suspend ($RES_SIM_152) (63) [SCAL] (1) step3.newActive = if step3.connectorNode.node.resume then step3.oldActive else $SEV_6 ($RES_SIM_70) (64) [SCAL] (1) step4.active = $TEV_6 ($RES_SIM_35) (65) [SCAL] (1) step2.outPort[1].fire = T2.outPort.fire ($RES_SIM_153) (66) [SCAL] (1) step4.newActive = if step4.connectorNode.node.resume then step4.oldActive else $SEV_3 ($RES_SIM_36) (67) [RECD] (2) T2.outPort.node = T2.inPort.node ($RES_SIM_73) (68) [SCAL] (1) step2.outPort[1].available = T2.inPort.available ($RES_SIM_155) (69) [SCAL] (1) T1.outPort.node.resume = step2.inPort[1].node.resume ($RES_SIM_156) (70) [SCAL] (1) greaterEqual.y = $SEV_4 ($RES_SIM_39) (71) [SCAL] (1) T1.outPort.node.suspend = step2.inPort[1].node.suspend ($RES_SIM_157) (72) [SCAL] (1) T1.outPort.fire = step2.inPort[1].fire ($RES_SIM_158) (73) [SCAL] (1) T2.outPort.fire = $SEV_7 ($RES_SIM_79) (74) [SCAL] (1) step2.inport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue(step2.inPort.fire) ($RES_$AUX_198) (75) [SCAL] (1) step2.outport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue(step2.outPort.fire) ($RES_$AUX_197) (76) [SCAL] (1) step3.inport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue(step3.inPort.fire) ($RES_$AUX_195) (77) [SCAL] (1) step3.outport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue(step3.outPort.fire) ($RES_$AUX_194) (78) [SCAL] (1) step4.inport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue(step4.inPort.fire) ($RES_$AUX_192) (79) [FOR-] (2) ($RES_SIM_120) (79) [----] for $i1 in 1:1 loop (79) [----] [RECD] (2) initialStep.outPort[$i1].node = initialStep.connectorNode.node ($RES_SIM_121) (79) [----] end for; (80) [SCAL] (1) step4.outport_fire = Modelica_StateGraph2.Blocks.BooleanFunctions.anyTrue(step4.outPort.fire) ($RES_$AUX_191) (81) [SCAL] (1) timer1.y = if step2.active then time - timer1.entryTime else 0.0 ($RES_SIM_40) (82) [SCAL] (1) initialStep.connectorNode.node.resume = false ($RES_SIM_122) (83) [WHEN] (1)when step2.active then (83) [----] timer1.entryTime := time (83) [----] end when; (84) [SCAL] (1) initialStep.connectorNode.node.suspend = false ($RES_SIM_123) (85) [RECD] (2) T3.outPort.node = T3.inPort.node ($RES_SIM_42) (86) [SCAL] (1) initialStep.outPort[1].node.resume = T1.inPort.node.resume ($RES_SIM_161) (87) [FOR-] (2) ($RES_SIM_126) (87) [----] for $i1 in 1:1 loop (87) [----] [RECD] (2) initialStep.inPort[$i1].node = initialStep.connectorNode.node ($RES_SIM_127) (87) [----] end for; (88) [SCAL] (1) step2.outPort[1].fire = true ($RES_SIM_80) (89) [SCAL] (1) initialStep.outPort[1].node.suspend = T1.inPort.node.suspend ($RES_SIM_162) (90) [SCAL] (1) initialStep.outPort[1].fire = T1.outPort.fire ($RES_SIM_163) (91) [SCAL] (1) step2.inPort[1].fire = true ($RES_SIM_83) (92) [SCAL] (1) T3.outPort.fire = T3.inPort.available ($RES_SIM_48) (93) [SCAL] (1) initialStep.outPort[1].available = T1.inPort.available ($RES_SIM_165) (94) [SCAL] (1) step4.outPort[1].node.resume = T3.inPort.node.resume ($RES_SIM_169) (95) [FOR-] (2) ($RES_SIM_89) (95) [----] for $i1 in 1:1 loop (95) [----] [RECD] (2) step2.outPort[$i1].node = step2.connectorNode.node ($RES_SIM_90) (95) [----] end for; (96) [SCAL] (1) $TEV_0 = $PRE.timer2.entryTime ($RES_EVT_202) (97) [SCAL] (1) $TEV_1 = $PRE.T4.outPort.fire ($RES_EVT_203) (98) [RECD] (2) T4.outPort.node = T4.inPort.node ($RES_SIM_9) (99) [SCAL] (1) $TEV_2 = $PRE.timer1.entryTime ($RES_EVT_204) (100) [WHEN] (1)when step3.active then (100) [----] timer2.entryTime := time (100) [----] end when; (101) [SCAL] (1) $TEV_3 = $PRE.T3.outPort.fire ($RES_EVT_205) (102) [SCAL] (1) timer2.y = if step3.active then time - timer2.entryTime else 0.0 ($RES_SIM_7) (103) [SCAL] (1) $TEV_4 = $PRE.T2.outPort.fire ($RES_EVT_206) (104) [SCAL] (1) greaterEqual1.y = $SEV_0 ($RES_SIM_6) (105) [SCAL] (1) $TEV_5 = $PRE.T1.outPort.fire ($RES_EVT_207) (106) [SCAL] (1) $TEV_6 = $PRE.step4.newActive ($RES_EVT_208) (107) [SCAL] (1) $TEV_7 = $PRE.step3.newActive ($RES_EVT_209) (108) [SCAL] (1) initialStep.outPort[1].available = $SEV_11 ($RES_SIM_130) (109) [WHEN] (1)when initialStep.connectorNode.node.suspend then (109) [----] initialStep.oldActive := initialStep.active (109) [----] end when;