Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 103 kB / 16.37 MB, free: 6.367 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.001249/0.001249, allocations: 191.3 kB / 17.3 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/2.992e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.004696/0.00474, allocations: 3.124 MB / 0.6759 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002698/0.007455, allocations: 1.713 MB / 0.6776 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.007692, allocations: 11.94 kB / 0.6776 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000896/0.008596, allocations: 314 kB / 0.6779 GB, free: 0.7266 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.009044, allocations: 194.8 kB / 0.6781 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.009784, allocations: 370.4 kB / 0.6784 GB, free: 180 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007403/0.01053, allocations: 0.7993 MB / 0.6792 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005744/0.01112, allocations: 0.533 MB / 0.6797 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.01143, allocations: 330.9 kB / 0.68 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.01174, allocations: 318.5 kB / 0.6803 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.365e-05/0.01183, allocations: 64 kB / 0.6804 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.01213, allocations: 179.8 kB / 0.6806 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.000614/0.01276, allocations: 1.004 MB / 0.6816 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0003332/0.0131, allocations: 0.6424 MB / 0.6822 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.01321, allocations: 99.62 kB / 0.6823 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001153/0.01333, allocations: 63.61 kB / 0.6823 GB, free: 12.14 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 (144) * Number of variables: 143 (134) Notification: Performance of Bindings: time 0.00257/0.01591, allocations: 2.958 MB / 0.6852 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.000205/0.01612, allocations: 179.7 kB / 0.6854 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.001391/0.01752, allocations: 1.558 MB / 0.6869 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of simplify1: time 0.0001115/0.01764, allocations: 103.9 kB / 0.687 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of Alias: time 0.00275/0.0204, allocations: 2.671 MB / 0.6896 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of simplify2: time 6.649e-05/0.02048, allocations: 75.89 kB / 0.6897 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of Events: time 0.000481/0.02097, allocations: 413.8 kB / 0.6901 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0005492/0.02152, allocations: 0.6011 MB / 0.6907 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0005863/0.02212, allocations: 0.5699 MB / 0.6912 GB, free: 2.457 MB / 0.5606 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (100/114) ********************************* (1) [DISC] (1) protected Boolean transition4.outPort.occupied (2) [DISS] (1) protected Boolean nor.oldActive (3) [DISC] (1) protected Boolean transition4.inPort.available (4) [DISC] (2) protected Boolean[2] off.outPort.reset (5) [ALGB] (1) protected flow Real nor.outerStatePort.subgraphStatePort.activeSteps (6) [DISC] (1) protected Boolean nor.newActive (7) [ALGB] (1) protected flow Real stateGraphRoot.subgraphStatePort.activeSteps (8) [DISC] (1) protected Boolean warUpCtr.or2.y (9) [DISC] (2) protected Boolean[2] off.inPort.occupied (10) [DISC] (1) final Boolean transition2.localCondition = transition2.localCondition (11) [ALGB] (2) Real[2] PEle.y (12) [ALGB] (1) protected Real warUpCtr.add1.y (13) [DISC] (2) Boolean[2] $SEV_11[$i1] (14) [DISC] (1) protected Boolean[1] nor.outPort.reset (15) [DISC] (2) Boolean[2] warUp.outPort.reset (16) [DISC] (1) Boolean transition3.outPort.occupied (17) [DISC] (1) protected Boolean transition5.outPort.occupied (18) [ALGB] (1) Real TEng.y (19) [ALGB] (1) protected Real warUpCtr.PEleNet (20) [DISC] (2) protected Boolean[2] off.inPort.set (21) [DISC] (1) Boolean $FUN_6 (22) [DISC] (1) Boolean $FUN_5 (23) [DISC] (1) protected Boolean warUpCtr.hysTem.y (24) [DISC] (1) Boolean $FUN_4 (25) [DISC] (1) Boolean $FUN_3 (26) [DISC] (1) Boolean $FUN_2 (27) [DISC] (1) Boolean $FUN_1 (28) [DISC] (2) Boolean[2] $SEV_9[$i1] (29) [ALGB] (1) protected Real warUpCtr.add.y (30) [DISS] (1) protected discrete Real runSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (31) [DISC] (2) Boolean[2] warUp.outPort.available (32) [DISC] (1) Boolean transition2.outPort.occupied (33) [ALGB] (1) protected flow Real off.outerStatePort.subgraphStatePort.activeSteps (34) [DISS] (1) protected Boolean warUp.oldActive (35) [DISC] (1) protected Integer stateGraphRoot.activeSteps (36) [DISC] (1) protected Boolean[1] nor.inPort.set (37) [DISC] (1) Boolean transition1.outPort.set (38) [DISC] (1) Boolean transition2.outPort.set (39) [DISC] (1) Boolean $SEV_19 (40) [DISC] (1) Boolean transition2.inPort.available (41) [DISC] (1) Boolean transition3.outPort.set (42) [ALGB] (1) protected flow Real warUp.outerStatePort.subgraphStatePort.activeSteps (43) [DISC] (1) Boolean $SEV_18 (44) [ALGB] (1) protected Real warUpCtr.PEle (45) [DISC] (1) protected Boolean transition4.outPort.set (46) [DISC] (1) Boolean $SEV_16 (47) [DISC] (1) Boolean $SEV_15 (48) [DISC] (1) protected Boolean transition5.outPort.set (49) [DISC] (1) Boolean $SEV_14 (50) [DISC] (1) protected Boolean warUp.newActive (51) [DISC] (1) Boolean $SEV_13 (52) [DISC] (1) protected Boolean[1] nor.outPort.available (53) [DISC] (1) final Boolean transition1.localCondition = transition1.localCondition (54) [DISC] (1) Boolean $SEV_10 (55) [ALGB] (1) Real runSig.realToBoolean.u (56) [ALGB] (1) Real[1] runSig.combiTimeTable.y (57) [DISC] (1) protected Boolean off.outerStatePort.localActive = off.outerStatePort.localActive (58) [DISS] (1) protected discrete Real runSig.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (59) [DISC] (2) Boolean[2] warUp.inPort.occupied (60) [DISS] (1) protected Boolean off.oldActive (61) [DISC] (1) Boolean transition1.inPort.available (62) [DISC] (2) Boolean[2] $SEV_8[$i1] (63) [DISC] (1) Boolean transition1.outPort.occupied (64) [DISC] (1) protected Boolean transition5.inPort.available (65) [DISC] (1) Boolean $SEV_6 (66) [DISC] (1) protected Boolean nor.outerStatePort.localActive = nor.outerStatePort.localActive (67) [DISC] (1) protected Boolean[1] nor.inPort.occupied (68) [DISC] (1) Boolean $SEV_5 (69) [DISC] (1) protected Boolean warUpCtr.hysPow.y (70) [DISC] (1) enumeration Buildings.Fluid.CHPs.BaseClasses.Types.Mode(Off, StandBy, PumpOn, WarmUp, Normal, CoolDown) actMod (71) [DISC] (1) Boolean $SEV_4 (72) [DISC] (1) Boolean $TEV_9 (73) [DISC] (2) Boolean[2] warUp.inPort.set (74) [DISC] (1) Boolean $SEV_3 (75) [DISC] (1) Boolean $TEV_8 (76) [DISC] (1) protected Boolean off.newActive (77) [DISC] (1) Boolean transition3.inPort.available (78) [DISC] (1) Boolean $SEV_2 (79) [DISC] (1) Boolean $TEV_7 (80) [DISC] (1) Boolean $TEV_6 (81) [DISC] (1) Boolean $TEV_5 (82) [DISC] (1) Boolean $TEV_4 (83) [DISC] (1) Boolean $TEV_3 (84) [DISC] (1) Boolean $TEV_2 (85) [DISC] (1) Boolean $TEV_1 (86) [DISC] (1) Boolean $TEV_19 (87) [DISC] (1) Boolean $TEV_0 (88) [DISC] (1) Boolean $TEV_18 (89) [DISC] (1) Boolean $TEV_17 (90) [DISC] (1) Boolean $TEV_16 (91) [DISC] (1) Boolean $TEV_15 (92) [DISC] (1) Boolean $TEV_14 (93) [DISC] (2) Boolean[2] $SEV_12[$i1] (94) [DISC] (1) Boolean $TEV_13 (95) [DISC] (1) Boolean $TEV_12 (96) [DISC] (1) Boolean $TEV_11 (97) [DISC] (1) Boolean $TEV_10 (98) [DISC] (1) protected Boolean warUp.outerStatePort.localActive = warUp.outerStatePort.localActive (99) [DISC] (2) protected Boolean[2] off.outPort.available (100) [DISC] (2) Boolean[2] $SEV_7[$i1] system eqns Equations (110/124) ********************************* (1) [SCAL] (1) transition4.outPort.set = $SEV_6 ($RES_SIM_50) (2) [SCAL] (1) transition5.outPort.set = off.outPort[2].reset ($RES_SIM_133) (3) [SCAL] (1) transition5.inPort.available = off.outPort[2].available ($RES_SIM_134) (4) [SCAL] (1) transition3.outPort.set = off.inPort[2].set ($RES_SIM_135) (5) [SCAL] (1) transition3.outPort.occupied = off.inPort[2].occupied ($RES_SIM_136) (6) [SCAL] (1) nor.outPort[1].reset = transition3.outPort.set ($RES_SIM_137) (7) [SCAL] (1) nor.outPort[1].available = transition3.inPort.available ($RES_SIM_138) (8) [SCAL] (1) nor.inPort[1].set = transition2.outPort.set ($RES_SIM_139) (9) [SCAL] (1) stateGraphRoot.activeSteps = -integer(stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_58) (10) [FOR-] (2) ($RES_SIM_59) (10) [----] for $i1 in 1:2 loop (10) [----] [SCAL] (1) off.outPort[$i1].reset = false ($RES_SIM_60) (10) [----] end for; (11) [SCAL] (1) transition2.outPort.set = $SEV_15 ($RES_SIM_96) (12) [FOR-] (2) ($RES_EVT_210) (12) [----] for $i1 in 1:2 loop (12) [----] [SCAL] (1) $SEV_7[$i1] = $i1 == 1 ($RES_EVT_211) (12) [----] end for; (13) [FOR-] (2) ($RES_EVT_212) (13) [----] for $i1 in 1:2 loop (13) [----] [SCAL] (1) $SEV_8[$i1] = off.outPort[$i1 - 1].available and not off.outPort[$i1 - 1].reset ($RES_EVT_213) (13) [----] end for; (14) [FOR-] (2) ($RES_EVT_214) (14) [----] for $i1 in 1:2 loop (14) [----] [SCAL] (1) $SEV_9[$i1] = off.inPort[$i1 - 1].occupied or off.inPort[$i1 - 1].set ($RES_EVT_215) (14) [----] end for; (15) [SCAL] (1) $SEV_10 = $FUN_3 or off.outerStatePort.localActive and not $FUN_4 ($RES_EVT_216) (16) [FOR-] (2) ($RES_EVT_217) (16) [----] for $i1 in 1:2 loop (16) [----] [SCAL] (1) $SEV_11[$i1] = warUp.outPort[$i1 - 1].available and not warUp.outPort[$i1 - 1].reset ($RES_EVT_218) (16) [----] end for; (17) [SCAL] (1) $FUN_4 = Modelica.StateGraph.Temporary.anyTrue(off.outPort.reset) ($RES_$AUX_179) (18) [FOR-] (2) ($RES_EVT_219) (18) [----] for $i1 in 1:2 loop (18) [----] [SCAL] (1) $SEV_12[$i1] = warUp.inPort[$i1 - 1].occupied or warUp.inPort[$i1 - 1].set ($RES_EVT_220) (18) [----] end for; (19) [SCAL] (1) $FUN_5 = Modelica.StateGraph.Temporary.anyTrue(nor.inPort.set) ($RES_$AUX_178) (20) [SCAL] (1) $FUN_6 = Modelica.StateGraph.Temporary.anyTrue(nor.outPort.reset) ($RES_$AUX_177) (21) [-IF-] (1)if off.outerStatePort.localActive then (21) [----] [SCAL] (1) actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off ($RES_SIM_21) (21) [----] elseif warUp.outerStatePort.localActive then (21) [----] [SCAL] (1) actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_SIM_22) (21) [----] else (21) [----] [SCAL] (1) actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_SIM_23) (21) [----] end if; (22) [SCAL] (1) transition1.outPort.set = $SEV_16 ($RES_SIM_103) (23) [SCAL] (1) nor.inPort[1].occupied = transition2.outPort.occupied ($RES_SIM_140) (24) [SCAL] (1) transition1.outPort.set = off.outPort[1].reset ($RES_SIM_141) (25) [SCAL] (1) transition2.localCondition = $TEV_0 ($RES_SIM_24) (26) [SCAL] (1) transition1.inPort.available = off.outPort[1].available ($RES_SIM_142) (27) [SCAL] (1) warUpCtr.or2.y = $SEV_2 ($RES_SIM_25) (28) [FOR-] (2) ($RES_SIM_61) (28) [----] for $i1 in 1:2 loop (28) [----] [SCAL] (1) off.inPort[$i1].set = false ($RES_SIM_62) (28) [----] end for; (29) [SCAL] (1) transition4.outPort.set = off.inPort[1].set ($RES_SIM_143) (30) [SCAL] (1) warUpCtr.hysPow.y = $SEV_3 ($RES_SIM_26) (31) [SCAL] (1) transition4.outPort.occupied = off.inPort[1].occupied ($RES_SIM_144) (32) [SCAL] (1) transition1.localCondition = $SEV_18 ($RES_SIM_109) (33) [SCAL] (1) warUpCtr.add1.y = warUpCtr.add1.k1 * warUpCtr.PEleNet + warUpCtr.add1.k2 * warUpCtr.PEle ($RES_SIM_27) (34) [FOR-] (2) ($RES_SIM_63) (34) [----] for $i1 in 1:2 loop (34) [----] [SCAL] (1) off.outPort[$i1].available = if $SEV_7[$i1] then off.outerStatePort.localActive else $SEV_8[$i1] ($RES_SIM_64) (34) [----] end for; (35) [SCAL] (1) warUpCtr.add.y = warUpCtr.add.k1 * TEng.y + warUpCtr.add.k2 * warUpCtr.temEngNom.k ($RES_SIM_29) (36) [FOR-] (2) ($RES_SIM_65) (36) [----] for $i1 in 1:2 loop (36) [----] [SCAL] (1) off.inPort[$i1].occupied = if $SEV_7[$i1] then off.outerStatePort.localActive else $SEV_9[$i1] ($RES_SIM_66) (36) [----] end for; (37) [WHEN] (1)when false then (37) [----] off.oldActive := off.outerStatePort.localActive (37) [----] end when; (38) [SCAL] (1) off.newActive = $SEV_10 ($RES_SIM_68) (39) [SCAL] (1) off.outerStatePort.localActive = $TEV_10 ($RES_SIM_69) (40) [SCAL] (1) $SEV_13 = $FUN_1 or warUp.outerStatePort.localActive and not $FUN_2 ($RES_EVT_221) (41) [SCAL] (1) $TEV_0 = $PRE.warUpCtr.or2.y ($RES_EVT_183) (42) [SCAL] (1) $SEV_14 = (not transition1.localCondition and transition3.inPort.available) and not transition3.outPort.occupied ($RES_EVT_222) (43) [SCAL] (1) $TEV_1 = $PRE.warUpCtr.hysPow.y ($RES_EVT_184) (44) [SCAL] (1) $SEV_15 = (transition2.localCondition and transition2.inPort.available) and not transition2.outPort.occupied ($RES_EVT_223) (45) [SCAL] (1) $TEV_2 = $PRE.warUpCtr.hysTem.y ($RES_EVT_185) (46) [SCAL] (1) $SEV_16 = (transition1.localCondition and transition1.inPort.available) and not transition1.outPort.occupied ($RES_EVT_224) (47) [SCAL] (1) $TEV_3 = $PRE.transition5.outPort.set ($RES_EVT_186) (48) [SCAL] (1) $TEV_4 = $PRE.nor.oldActive ($RES_EVT_187) (49) [SCAL] (1) $SEV_18 = runSig.realToBoolean.u >= runSig.realToBoolean.threshold ($RES_EVT_226) (50) [SCAL] (1) $TEV_5 = $PRE.nor.outerStatePort.localActive ($RES_EVT_188) (51) [SCAL] (1) $SEV_19 = time >= $PRE.runSig.combiTimeTable.nextTimeEvent ($RES_EVT_227) (52) [SCAL] (1) $TEV_6 = $PRE.nor.newActive ($RES_EVT_189) (53) [SCAL] (1) runSig.combiTimeTable.y[1] = runSig.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(runSig.combiTimeTable.tableID, 1, time, runSig.combiTimeTable.nextTimeEventScaled, $TEV_17) ($RES_SIM_110) (54) [WHEN] (1)when {$SEV_19, initial()} then (54) [----] runSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(runSig.combiTimeTable.tableID, time) (54) [----] end when; (55) [WHEN] (1)when {$SEV_19, initial()} then (55) [----] runSig.combiTimeTable.nextTimeEvent := if runSig.combiTimeTable.nextTimeEventScaled < 1e60 then runSig.combiTimeTable.nextTimeEventScaled else 1e60 (55) [----] end when; (56) [SCAL] (1) warUpCtr.hysTem.y = $SEV_4 ($RES_SIM_30) (57) [SCAL] (1) TEng.y = TEng.offset + (if $TEV_18 then 0.0 else if $TEV_19 then (TEng.height * (time - TEng.startTime)) / TEng.duration else TEng.height) ($RES_SIM_114) (58) [SCAL] (1) off.outerStatePort.subgraphStatePort.activeSteps + stateGraphRoot.subgraphStatePort.activeSteps + nor.outerStatePort.subgraphStatePort.activeSteps + warUp.outerStatePort.subgraphStatePort.activeSteps = 0.0 ($RES_SIM_115) (59) [SCAL] (1) PEle[2].y = warUpCtr.PEle ($RES_SIM_116) (60) [SCAL] (1) transition5.outPort.set = false ($RES_SIM_34) (61) [SCAL] (1) PEle[1].y = warUpCtr.PEleNet ($RES_SIM_117) (62) [SCAL] (1) off.outerStatePort.subgraphStatePort.activeSteps = if off.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_71) (63) [FOR-] (2) ($RES_SIM_72) (63) [----] for $i1 in 1:2 loop (63) [----] [SCAL] (1) PEle[$i1].y = PEle[$i1].k ($RES_SIM_73) (63) [----] end for; (64) [FOR-] (2) ($RES_SIM_74) (64) [----] for $i1 in 1:2 loop (64) [----] [SCAL] (1) warUp.outPort[$i1].reset = false ($RES_SIM_75) (64) [----] end for; (65) [SCAL] (1) nor.outPort[1].reset = false ($RES_SIM_39) (66) [FOR-] (2) ($RES_SIM_76) (66) [----] for $i1 in 1:2 loop (66) [----] [SCAL] (1) warUp.inPort[$i1].set = false ($RES_SIM_77) (66) [----] end for; (67) [FOR-] (2) ($RES_SIM_78) (67) [----] for $i1 in 1:2 loop (67) [----] [SCAL] (1) warUp.outPort[$i1].available = if $SEV_7[$i1] then warUp.outerStatePort.localActive else $SEV_11[$i1] ($RES_SIM_79) (67) [----] end for; (68) [SCAL] (1) $TEV_7 = $PRE.transition4.outPort.set ($RES_EVT_190) (69) [SCAL] (1) $TEV_8 = $PRE.off.oldActive ($RES_EVT_191) (70) [SCAL] (1) $TEV_9 = $PRE.off.outerStatePort.localActive ($RES_EVT_192) (71) [SCAL] (1) $TEV_10 = $PRE.off.newActive ($RES_EVT_193) (72) [SCAL] (1) $TEV_11 = $PRE.warUp.oldActive ($RES_EVT_194) (73) [SCAL] (1) $TEV_12 = $PRE.warUp.outerStatePort.localActive ($RES_EVT_195) (74) [SCAL] (1) $TEV_13 = $PRE.warUp.newActive ($RES_EVT_196) (75) [SCAL] (1) $TEV_14 = $PRE.transition3.outPort.set ($RES_EVT_197) (76) [SCAL] (1) $TEV_15 = $PRE.transition2.outPort.set ($RES_EVT_198) (77) [SCAL] (1) $TEV_16 = $PRE.transition1.outPort.set ($RES_EVT_199) (78) [SCAL] (1) warUp.outPort[2].reset = transition4.outPort.set ($RES_SIM_120) (79) [SCAL] (1) warUp.outPort[2].available = transition4.inPort.available ($RES_SIM_121) (80) [SCAL] (1) nor.inPort[1].set = false ($RES_SIM_40) (81) [SCAL] (1) transition5.outPort.set = warUp.inPort[2].set ($RES_SIM_122) (82) [SCAL] (1) nor.outPort[1].available = nor.outerStatePort.localActive ($RES_SIM_41) (83) [SCAL] (1) transition5.outPort.occupied = warUp.inPort[2].occupied ($RES_SIM_123) (84) [SCAL] (1) nor.inPort[1].occupied = nor.outerStatePort.localActive ($RES_SIM_42) (85) [SCAL] (1) warUp.outPort[1].reset = transition2.outPort.set ($RES_SIM_124) (86) [WHEN] (1)when false then (86) [----] nor.oldActive := nor.outerStatePort.localActive (86) [----] end when; (87) [SCAL] (1) warUp.outPort[1].available = transition2.inPort.available ($RES_SIM_125) (88) [SCAL] (1) nor.newActive = $SEV_5 ($RES_SIM_44) (89) [SCAL] (1) transition1.outPort.set = warUp.inPort[1].set ($RES_SIM_126) (90) [FOR-] (2) ($RES_SIM_80) (90) [----] for $i1 in 1:2 loop (90) [----] [SCAL] (1) warUp.inPort[$i1].occupied = if $SEV_7[$i1] then warUp.outerStatePort.localActive else $SEV_12[$i1] ($RES_SIM_81) (90) [----] end for; (91) [SCAL] (1) nor.outerStatePort.localActive = $TEV_6 ($RES_SIM_45) (92) [SCAL] (1) transition1.outPort.occupied = warUp.inPort[1].occupied ($RES_SIM_127) (93) [WHEN] (1)when false then (93) [----] warUp.oldActive := warUp.outerStatePort.localActive (93) [----] end when; (94) [SCAL] (1) nor.outerStatePort.subgraphStatePort.activeSteps = if nor.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_47) (95) [SCAL] (1) warUp.newActive = $SEV_13 ($RES_SIM_83) (96) [SCAL] (1) runSig.combiTimeTable.y[1] = runSig.realToBoolean.u ($RES_SIM_165) (97) [SCAL] (1) warUp.outerStatePort.localActive = $TEV_13 ($RES_SIM_84) (98) [SCAL] (1) warUp.outerStatePort.subgraphStatePort.activeSteps = if warUp.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_86) (99) [SCAL] (1) transition3.outPort.set = $SEV_14 ($RES_SIM_89) (100) [SCAL] (1) $TEV_17 = $PRE.runSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_200) (101) [SCAL] (1) $TEV_18 = time < TEng.startTime ($RES_EVT_201) (102) [SCAL] (1) $TEV_19 = time < (TEng.startTime + TEng.duration) ($RES_EVT_202) (103) [SCAL] (1) $SEV_2 = warUpCtr.hysTem.y or warUpCtr.hysPow.y ($RES_EVT_205) (104) [SCAL] (1) $SEV_3 = not $PRE.warUpCtr.hysPow.y and warUpCtr.add1.y > warUpCtr.hysPow.uHigh or $PRE.warUpCtr.hysPow.y and warUpCtr.add1.y >= warUpCtr.hysPow.uLow ($RES_EVT_206) (105) [SCAL] (1) $SEV_4 = not $PRE.warUpCtr.hysTem.y and warUpCtr.add.y > warUpCtr.hysTem.uHigh or $PRE.warUpCtr.hysTem.y and warUpCtr.add.y >= warUpCtr.hysTem.uLow ($RES_EVT_207) (106) [SCAL] (1) $SEV_5 = $FUN_5 or nor.outerStatePort.localActive and not $FUN_6 ($RES_EVT_208) (107) [SCAL] (1) $SEV_6 = (not transition1.localCondition and transition4.inPort.available) and not transition4.outPort.occupied ($RES_EVT_209) (108) [SCAL] (1) $FUN_1 = Modelica.StateGraph.Temporary.anyTrue(warUp.inPort.set) ($RES_$AUX_182) (109) [SCAL] (1) $FUN_2 = Modelica.StateGraph.Temporary.anyTrue(warUp.outPort.reset) ($RES_$AUX_181) (110) [SCAL] (1) $FUN_3 = Modelica.StateGraph.Temporary.anyTrue(off.inPort.set) ($RES_$AUX_180) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 38 var 2 --> eqn 99 var 3 --> eqn 92 var 4 --> eqn 10 var 5 --> eqn 11 var 6 --> eqn 108 var 7 --> eqn 101 var 8 --> eqn 67 var 9 --> eqn 33 var 10 --> eqn 44 var 11 --> eqn 45 var 12 --> eqn 31 var 13 --> eqn 72 var 14 --> eqn 73 var 15 --> eqn 40 var 16 --> eqn 20 var 17 --> eqn 21 var 18 --> eqn 6 var 19 --> eqn 74 var 20 --> eqn 75 var 21 --> eqn 5 var 22 --> eqn 96 var 23 --> eqn 66 var 24 --> eqn 70 var 25 --> eqn 34 var 26 --> eqn 35 var 27 --> eqn 26 var 28 --> eqn 25 var 29 --> eqn 65 var 30 --> eqn 22 var 31 --> eqn 124 var 32 --> eqn 123 var 33 --> eqn 122 var 34 --> eqn 17 var 35 --> eqn 18 var 36 --> eqn 43 var 37 --> eqn 64 var 38 --> eqn 79 var 39 --> eqn 80 var 40 --> eqn 29 var 41 --> eqn 71 var 42 --> eqn 107 var 43 --> eqn 9 var 44 --> eqn 8 var 45 --> eqn 30 var 46 --> eqn 12 var 47 --> eqn 60 var 48 --> eqn 100 var 49 --> eqn 4 var 50 --> eqn 112 var 51 --> eqn 58 var 52 --> eqn 68 var 53 --> eqn 36 var 54 --> eqn 28 var 55 --> eqn 53 var 56 --> eqn 2 var 57 --> eqn 51 var 58 --> eqn 109 var 59 --> eqn 49 var 60 --> eqn 95 var 61 --> eqn 39 var 62 --> eqn 19 var 63 --> eqn 110 var 64 --> eqn 62 var 65 --> eqn 48 var 66 --> eqn 63 var 67 --> eqn 103 var 68 --> eqn 104 var 69 --> eqn 46 var 70 --> eqn 32 var 71 --> eqn 15 var 72 --> eqn 16 var 73 --> eqn 106 var 74 --> eqn 3 var 75 --> eqn 1 var 76 --> eqn 105 var 77 --> eqn 97 var 78 --> eqn 120 var 79 --> eqn 37 var 80 --> eqn 27 var 81 --> eqn 119 var 82 --> eqn 83 var 83 --> eqn 77 var 84 --> eqn 78 var 85 --> eqn 118 var 86 --> eqn 82 var 87 --> eqn 47 var 88 --> eqn 7 var 89 --> eqn 117 var 90 --> eqn 81 var 91 --> eqn 61 var 92 --> eqn 59 var 93 --> eqn 57 var 94 --> eqn 56 var 95 --> eqn 54 var 96 --> eqn 52 var 97 --> eqn 116 var 98 --> eqn 50 var 99 --> eqn 115 var 100 --> eqn 114 var 101 --> eqn 90 var 102 --> eqn 89 var 103 --> eqn 88 var 104 --> eqn 23 var 105 --> eqn 24 var 106 --> eqn 87 var 107 --> eqn 86 var 108 --> eqn 85 var 109 --> eqn 84 var 110 --> eqn 111 var 111 --> eqn 41 var 112 --> eqn 42 var 113 --> eqn 13 var 114 --> eqn 14 equation to variable ********************** eqn 1 --> var 75 eqn 2 --> var 56 eqn 3 --> var 74 eqn 4 --> var 49 eqn 5 --> var 21 eqn 6 --> var 18 eqn 7 --> var 88 eqn 8 --> var 44 eqn 9 --> var 43 eqn 10 --> var 4 eqn 11 --> var 5 eqn 12 --> var 46 eqn 13 --> var 113 eqn 14 --> var 114 eqn 15 --> var 71 eqn 16 --> var 72 eqn 17 --> var 34 eqn 18 --> var 35 eqn 19 --> var 62 eqn 20 --> var 16 eqn 21 --> var 17 eqn 22 --> var 30 eqn 23 --> var 104 eqn 24 --> var 105 eqn 25 --> var 28 eqn 26 --> var 27 eqn 27 --> var 80 eqn 28 --> var 54 eqn 29 --> var 40 eqn 30 --> var 45 eqn 31 --> var 12 eqn 32 --> var 70 eqn 33 --> var 9 eqn 34 --> var 25 eqn 35 --> var 26 eqn 36 --> var 53 eqn 37 --> var 79 eqn 38 --> var 1 eqn 39 --> var 61 eqn 40 --> var 15 eqn 41 --> var 111 eqn 42 --> var 112 eqn 43 --> var 36 eqn 44 --> var 10 eqn 45 --> var 11 eqn 46 --> var 69 eqn 47 --> var 87 eqn 48 --> var 65 eqn 49 --> var 59 eqn 50 --> var 98 eqn 51 --> var 57 eqn 52 --> var 96 eqn 53 --> var 55 eqn 54 --> var 95 eqn 55 --> var -1 eqn 56 --> var 94 eqn 57 --> var 93 eqn 58 --> var 51 eqn 59 --> var 92 eqn 60 --> var 47 eqn 61 --> var 91 eqn 62 --> var 64 eqn 63 --> var 66 eqn 64 --> var 37 eqn 65 --> var 29 eqn 66 --> var 23 eqn 67 --> var 8 eqn 68 --> var 52 eqn 69 --> var -1 eqn 70 --> var 24 eqn 71 --> var 41 eqn 72 --> var 13 eqn 73 --> var 14 eqn 74 --> var 19 eqn 75 --> var 20 eqn 76 --> var -1 eqn 77 --> var 83 eqn 78 --> var 84 eqn 79 --> var 38 eqn 80 --> var 39 eqn 81 --> var 90 eqn 82 --> var 86 eqn 83 --> var 82 eqn 84 --> var 109 eqn 85 --> var 108 eqn 86 --> var 107 eqn 87 --> var 106 eqn 88 --> var 103 eqn 89 --> var 102 eqn 90 --> var 101 eqn 91 --> var -1 eqn 92 --> var 3 eqn 93 --> var -1 eqn 94 --> var -1 eqn 95 --> var 60 eqn 96 --> var 22 eqn 97 --> var 77 eqn 98 --> var -1 eqn 99 --> var 2 eqn 100 --> var 48 eqn 101 --> var 7 eqn 102 --> var -1 eqn 103 --> var 67 eqn 104 --> var 68 eqn 105 --> var 76 eqn 106 --> var 73 eqn 107 --> var 42 eqn 108 --> var 6 eqn 109 --> var 58 eqn 110 --> var 63 eqn 111 --> var 110 eqn 112 --> var 50 eqn 113 --> var -1 eqn 114 --> var 100 eqn 115 --> var 99 eqn 116 --> var 97 eqn 117 --> var 89 eqn 118 --> var 85 eqn 119 --> var 81 eqn 120 --> var 78 eqn 121 --> var -1 eqn 122 --> var 33 eqn 123 --> var 32 eqn 124 --> var 31