Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.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.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 106.3 kB / 16.38 MB, free: 6.43 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.001218/0.001218, allocations: 192.2 kB / 17.31 MB, free: 5.781 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.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.835/1.835, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.047e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.006609/0.006655, allocations: 4.719 MB / 0.6775 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005485/0.01216, allocations: 3.011 MB / 0.6804 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007051/0.01289, allocations: 27.88 kB / 0.6804 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.0146, allocations: 0.6212 MB / 0.681 GB, free: 13.47 MB / 0.5606 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.0009994/0.01561, allocations: 393.6 kB / 0.6814 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.01769, allocations: 0.8999 MB / 0.6823 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002036/0.01973, allocations: 1.946 MB / 0.6842 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.02116, allocations: 1.239 MB / 0.6854 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008268/0.02199, allocations: 0.7708 MB / 0.6862 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006589/0.02266, allocations: 0.7273 MB / 0.6869 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.02289, allocations: 183.9 kB / 0.687 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006956/0.0236, allocations: 355.8 kB / 0.6874 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.001422/0.02503, allocations: 2.228 MB / 0.6896 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0008108/0.02585, allocations: 1.401 MB / 0.6909 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.02615, allocations: 235.2 kB / 0.6911 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0003107/0.02646, allocations: 131 kB / 0.6913 GB, free: 2.906 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: 320 (304) * Number of variables: 300 (284) Notification: Performance of Bindings: time 0.006541/0.03301, allocations: 6.93 MB / 0.698 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0006212/0.03364, allocations: 0.6431 MB / 0.6987 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.00401/0.03766, allocations: 4.332 MB / 0.7029 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0002762/0.03795, allocations: 235.6 kB / 0.7031 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of Alias: time 0.007621/0.04558, allocations: 6.533 MB / 0.7095 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simplify2: time 0.000263/0.04587, allocations: 159.8 kB / 0.7097 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of Events: time 0.001299/0.04718, allocations: 1.044 MB / 0.7107 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of Detect States: time 0.001548/0.04875, allocations: 1.421 MB / 0.7121 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.001505/0.05026, allocations: 1.355 MB / 0.7134 GB, free: 11.16 MB / 0.5919 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (209/236) ********************************* (1) [DISC] (1) Boolean $SEV_29 (2) [DISC] (1) Boolean $SEV_28 (3) [DISC] (1) Boolean $SEV_27 (4) [DISC] (3) protected Boolean[3] con.plaOff.inPort.occupied (5) [DISC] (1) Boolean $SEV_26 (6) [DISC] (1) protected Boolean con.transition8.outPort.set (7) [DISC] (1) Boolean $SEV_25 (8) [DISC] (1) Boolean $SEV_24 (9) [DISC] (1) Boolean $SEV_23 (10) [DISC] (1) Boolean $SEV_22 (11) [DISC] (1) Boolean $SEV_21 (12) [DISC] (1) Boolean $SEV_20 (13) [DISC] (1) Boolean $TEV_9 (14) [DISC] (1) Boolean[1] con.pumOn.inPort.set (15) [DISC] (1) Boolean $TEV_8 (16) [DISC] (1) Boolean $TEV_7 (17) [DISC] (3) protected Boolean[3] con.plaOff.inPort.set (18) [DISC] (1) Boolean $TEV_6 (19) [DISC] (1) protected Boolean con.transition1.outPort.set (20) [DISC] (1) protected Boolean con.transition7.inPort.available (21) [DISC] (1) Boolean $TEV_5 (22) [DISC] (1) Boolean $TEV_4 (23) [DISC] (1) Boolean $TEV_3 (24) [DISC] (1) protected Boolean con.transition6.outPort.set (25) [DISC] (1) Boolean $TEV_2 (26) [DISC] (1) Boolean $TEV_1 (27) [DISC] (1) Boolean $TEV_0 (28) [DISC] (1) protected Boolean con.transition7.outPort.occupied (29) [ALGB] (1) protected Real con.transition4.t_dummy (30) [DISC] (1) Boolean $TEV_36 (31) [DISC] (1) Boolean $TEV_35 (32) [DISC] (1) protected Boolean con.transition6.outPort.occupied (33) [DISC] (1) protected Boolean con.transition3.outPort.set (34) [DISC] (1) Boolean $TEV_34 (35) [DISC] (1) Boolean $TEV_33 (36) [DISC] (1) Boolean $TEV_32 (37) [DISC] (2) Boolean[2] con.cooDow.inPort.set (38) [DISC] (1) Boolean $TEV_31 (39) [DISC] (1) Boolean[1] con.staBy.inPort.set (40) [DISC] (1) Boolean $TEV_30 (41) [DISC] (1) Boolean $SEV_19 (42) [DISC] (2) Boolean[2] $SEV_36[$i1] (43) [DISC] (1) Boolean $SEV_18 (44) [DISC] (1) Boolean $SEV_17 (45) [DISS] (1) protected Boolean con.and1.u2 (46) [DISC] (1) Boolean $SEV_14 (47) [DISC] (1) Boolean $SEV_13 (48) [DISC] (1) protected final Boolean con.transition9.localCondition = con.transition9.localCondition (49) [DISC] (1) Boolean $SEV_12 (50) [DISC] (1) Boolean $SEV_11 (51) [DISC] (1) Boolean $SEV_10 (52) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (53) [DISC] (1) protected Boolean con.staBy.newActive (54) [DISS] (1) protected discrete Real avaSig.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (55) [DISC] (1) protected enumeration Buildings.Fluid.CHPs.BaseClasses.Types.Mode(Off, StandBy, PumpOn, WarmUp, Normal, CoolDown) con.actMod (56) [DISC] (1) Boolean $TEV_29 (57) [DISC] (1) Boolean $TEV_28 (58) [DISC] (1) protected Boolean con.plaOff.outerStatePort.localActive = con.plaOff.outerStatePort.localActive (59) [DISC] (1) Boolean $TEV_27 (60) [DISC] (1) Boolean $TEV_26 (61) [DISC] (1) Boolean $TEV_25 (62) [DISS] (1) protected discrete Real runSig.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (63) [DISC] (1) Boolean $TEV_24 (64) [DISS] (1) protected Boolean con.pumOn.oldActive (65) [DISC] (1) Boolean $TEV_23 (66) [DISC] (1) protected Boolean[1] con.nor.outPort.reset (67) [ALGB] (1) protected flow Real con.staBy.outerStatePort.subgraphStatePort.activeSteps (68) [DISC] (1) Boolean $TEV_22 (69) [DISC] (1) Boolean $TEV_21 (70) [DISC] (1) Boolean $TEV_20 (71) [DISC] (1) protected Boolean[1] con.plaOff.outPort.available (72) [DISC] (1) protected Boolean con.warUp.outerStatePort.localActive = con.warUp.outerStatePort.localActive (73) [DISC] (1) protected Boolean[1] con.nor.inPort.set (74) [ALGB] (1) protected flow Real con.pumOn.outerStatePort.subgraphStatePort.activeSteps (75) [DISC] (2) Boolean[2] con.cooDow.outPort.reset (76) [DISS] (1) protected Boolean con.nor.oldActive (77) [DISS] (1) protected Boolean con.staBy.oldActive (78) [ALGB] (1) Real[1] avaSig.combiTimeTable.y (79) [ALGB] (1) protected Real[1] mWat_flow.tab.y (80) [DISC] (1) Boolean $FUN_9 (81) [DISC] (1) Boolean $FUN_8 (82) [DISC] (1) Boolean $FUN_7 (83) [DISC] (1) protected Boolean con.transition2.outPort.set (84) [DISC] (1) Boolean $FUN_6 (85) [DISC] (1) Boolean $FUN_5 (86) [DISC] (1) protected Boolean powCon.staBy.y = con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy (87) [DISC] (1) Boolean $FUN_4 (88) [ALGB] (1) protected Real powCon.switch.y (89) [ALGB] (1) Real avaSig.realToBoolean.u (90) [DISC] (1) protected Boolean con.transition3.outPort.occupied (91) [DISC] (1) Boolean $FUN_3 (92) [DISC] (1) Boolean $TEV_19 (93) [DISC] (1) Boolean $FUN_2 (94) [DISC] (1) Boolean $TEV_18 (95) [DISC] (1) protected Boolean con.pumOn.newActive (96) [DISC] (1) Boolean $FUN_1 (97) [DISC] (1) Boolean $TEV_17 (98) [DISS] (1) protected discrete Real runSig.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (99) [DISC] (1) Boolean $TEV_16 (100) [DISC] (1) Boolean $TEV_15 (101) [DISC] (1) Boolean $TEV_14 (102) [DISC] (2) Boolean[2] $SEV_41[$i1] (103) [DISC] (1) Boolean $TEV_13 (104) [DISC] (1) protected final Boolean con.transition6.localCondition = con.transition6.localCondition (105) [DISC] (1) Boolean $TEV_12 (106) [DISC] (1) Boolean $TEV_11 (107) [DISC] (1) protected Boolean con.transition4.outPort.set (108) [DISC] (1) Boolean $TEV_10 (109) [DISC] (1) protected Boolean con.transition10.outPort.set (110) [DISC] (1) protected Boolean con.nor.newActive (111) [DISC] (1) protected Boolean powCon.cooDow.y = con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy or con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown (112) [DISC] (1) protected Boolean con.transition10.inPort.available (113) [DISS] (1) protected discrete Real mWat_flow.tab.nextTimeEvent (fixed = true, start = 0.0) (114) [ALGB] (1) protected Real con.warUpCtr.timer.y (115) [DISC] (1) protected final Boolean con.transition3.localCondition = con.transition3.localCondition (116) [ALGB] (1) protected flow Real con.plaOff.outerStatePort.subgraphStatePort.activeSteps (117) [DISC] (1) protected Boolean con.transition9.outPort.occupied (118) [DISC] (1) protected Boolean[1] con.nor.inPort.occupied (119) [DISS] (1) protected discrete Real con.timer.entryTime (120) [ALGB] (1) protected flow Real con.cooDow.outerStatePort.subgraphStatePort.activeSteps (121) [DISC] (2) Boolean[2] con.pumOn.outPort.reset (122) [DISC] (1) protected Boolean con.hys.y (123) [DISC] (1) protected Boolean con.transition4.inPort.available (124) [DISC] (2) Boolean[2] con.warUp.outPort.available (125) [ALGB] (1) protected Real con.transition4.t (126) [DISC] (1) protected Boolean con.transition2.inPort.available (127) [DISC] (1) Boolean $FUN_12 (128) [DISC] (1) protected Boolean con.assWatMas.not1.u (129) [DISC] (1) Boolean $FUN_11 (130) [DISC] (1) Boolean $FUN_10 (131) [DISC] (1) protected Boolean con.transition3.inPort.available (132) [ALGB] (1) Real runSig.realToBoolean.u (133) [DISC] (1) Boolean[1] con.pumOn.inPort.occupied (134) [DISS] (1) protected discrete Real con.warUpCtr.timer.entryTime (135) [DISC] (1) Boolean $SEV_8 (136) [DISC] (1) Boolean $SEV_7 (137) [ALGB] (1) protected flow Real con.nor.outerStatePort.subgraphStatePort.activeSteps (138) [DISC] (2) Boolean[2] $SEV_45[$i1] (139) [ALGB] (1) protected flow Real stateGraphRoot.subgraphStatePort.activeSteps (140) [DISC] (1) protected Boolean con.plaOff.newActive (141) [ALGB] (1) Real[1] mWat_flow.y (142) [DISC] (1) protected Boolean con.transition8.inPort.available (143) [DISC] (2) Boolean[2] $SEV_40[$i1] (144) [DISC] (1) protected Boolean con.transition8.outPort.occupied (145) [DISC] (1) protected Boolean con.transition9.inPort.available (146) [DISS] (1) protected Boolean con.warUp.oldActive (147) [ALGB] (1) protected Real powCon.switch1.y (148) [DISC] (1) Boolean[1] con.staBy.inPort.occupied (149) [DISC] (1) protected Boolean con.transition5.outPort.set (150) [DISC] (1) protected Boolean con.nor.outerStatePort.localActive = con.nor.outerStatePort.localActive (151) [DISC] (1) protected Boolean con.transition2.outPort.occupied (152) [DISC] (1) protected Boolean con.staBy.outerStatePort.localActive = con.staBy.outerStatePort.localActive (153) [DISS] (1) protected Boolean con.plaOff.oldActive (154) [DISC] (1) protected Boolean con.transition1.outPort.occupied (155) [DISC] (1) protected final Boolean con.transition7.localCondition = con.transition7.localCondition (156) [DISS] (1) protected Boolean con.cooDow.oldActive (157) [DISC] (2) Boolean[2] con.cooDow.outPort.available (158) [DISC] (1) protected Boolean con.warUp.newActive (159) [DISC] (1) protected Boolean con.pumOn.outerStatePort.localActive = con.pumOn.outerStatePort.localActive (160) [DISC] (1) protected Boolean con.transition4.enableFire (161) [ALGB] (1) protected Real con.add2.y (162) [DISC] (2) Boolean[2] con.warUp.inPort.set (163) [DISC] (2) Boolean[2] $SEV_38[$i1] (164) [DISC] (1) protected Boolean con.transition10.outPort.occupied (165) [DISS] (1) protected discrete Real mWat_flow.tab.nextTimeEventScaled (fixed = true, start = 0.0) (166) [DISC] (1) protected Boolean con.transition9.outPort.set (167) [DISC] (1) Boolean $SEV_49 (168) [DISC] (3) Boolean[3] $SEV_16[$i1] (169) [DISC] (1) Boolean $SEV_48 (170) [DISC] (1) Boolean $SEV_47 (171) [DISC] (2) Boolean[2] con.pumOn.outPort.available (172) [DISC] (1) Boolean $SEV_46 (173) [DISC] (1) protected Boolean[1] con.nor.outPort.available (174) [ALGB] (1) Real[1] runSig.combiTimeTable.y (175) [DISC] (1) Boolean $SEV_44 (176) [DISC] (1) Boolean $SEV_42 (177) [ALGB] (1) protected Real con.timer.y (178) [DISC] (2) Boolean[2] con.cooDow.inPort.occupied (179) [DISC] (2) Boolean[2] con.staBy.outPort.available (180) [DISC] (2) Boolean[2] con.staBy.outPort.reset (181) [DISC] (1) protected Boolean con.transition7.outPort.set (182) [DISC] (2) Boolean[2] con.warUp.inPort.occupied (183) [DISC] (1) protected Boolean con.cooDow.outerStatePort.localActive = con.cooDow.outerStatePort.localActive (184) [DISC] (1) protected Boolean con.cooDow.newActive (185) [ALGB] (1) protected flow Real con.warUp.outerStatePort.subgraphStatePort.activeSteps (186) [DISC] (1) protected Boolean[1] con.plaOff.outPort.reset (187) [DISC] (1) protected Boolean con.transition4.outPort.occupied (188) [ALGB] (1) protected Real con.assWatMas.hys.u (189) [DISC] (1) protected Boolean con.transition5.outPort.occupied (190) [DISC] (1) Boolean $SEV_39 (191) [ALGB] (1) protected Real con.max.y (192) [DISS] (1) protected Boolean con.timer.passed (193) [DISC] (1) Boolean $SEV_35 (194) [DISC] (1) Boolean $SEV_34 (195) [DISC] (1) Boolean $SEV_33 (196) [DISC] (1) Boolean $SEV_32 (197) [DISC] (1) Boolean $SEV_31 (198) [DISC] (1) protected Boolean con.assWatMas.nand.y (199) [DISC] (1) Boolean $SEV_30 (200) [DISC] (2) Boolean[2] con.warUp.outPort.reset (201) [DISC] (2) Boolean[2] $SEV_37[$i1] (202) [DISC] (1) protected final Boolean con.transition5.localCondition = con.transition5.localCondition (203) [DISC] (1) protected final Boolean con.transition10.localCondition = con.transition10.localCondition (204) [DISC] (1) protected Boolean con.transition6.inPort.available (205) [DISC] (2) Boolean[2] $SEV_43[$i1] (206) [DISC] (3) Boolean[3] $SEV_15[$i1] (207) [DISC] (1) protected Boolean con.transition5.inPort.available (208) [DISC] (1) protected Boolean con.transition1.inPort.available (209) [DISC] (1) protected Integer stateGraphRoot.activeSteps system eqns Equations (229/256) ********************************* (1) [WHEN] (1)when false then (1) [----] con.warUp.oldActive := con.warUp.outerStatePort.localActive (1) [----] end when; (2) [SCAL] (1) con.warUp.newActive = $SEV_42 ($RES_SIM_205) (3) [WHEN] (1)when con.transition4.enableFire then (3) [----] time - con.transition4.t_dummy := time (3) [----] end when; (4) [SCAL] (1) con.warUp.outerStatePort.localActive = $TEV_27 ($RES_SIM_206) (5) [SCAL] (1) con.plaOff.outPort[1].reset = false ($RES_SIM_81) (6) [SCAL] (1) con.transition2.outPort.set = $SEV_22 ($RES_SIM_121) (7) [SCAL] (1) con.transition2.outPort.occupied = con.pumOn.inPort[1].occupied ($RES_SIM_280) (8) [FOR-] (3) ($RES_SIM_82) (8) [----] for $i1 in 1:3 loop (8) [----] [SCAL] (1) con.plaOff.inPort[$i1].set = false ($RES_SIM_83) (8) [----] end for; (9) [SCAL] (1) con.staBy.outPort[2].reset = con.transition3.outPort.set ($RES_SIM_281) (10) [SCAL] (1) con.warUp.outerStatePort.subgraphStatePort.activeSteps = if con.warUp.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_208) (11) [SCAL] (1) con.staBy.outPort[2].available = con.transition3.inPort.available ($RES_SIM_282) (12) [FOR-] (2) ($RES_SIM_209) (12) [----] for $i1 in 1:2 loop (12) [----] [SCAL] (1) con.pumOn.outPort[$i1].reset = false ($RES_SIM_210) (12) [----] end for; (13) [SCAL] (1) con.plaOff.outPort[1].available = con.plaOff.outerStatePort.localActive ($RES_SIM_84) (14) [SCAL] (1) con.staBy.outPort[1].reset = con.transition2.outPort.set ($RES_SIM_283) (15) [FOR-] (3) ($RES_SIM_85) (15) [----] for $i1 in 1:3 loop (15) [----] [SCAL] (1) con.plaOff.inPort[$i1].occupied = if $SEV_15[$i1] then con.plaOff.outerStatePort.localActive else $SEV_16[$i1] ($RES_SIM_86) (15) [----] end for; (16) [SCAL] (1) con.staBy.outPort[1].available = con.transition2.inPort.available ($RES_SIM_284) (17) [SCAL] (1) con.transition1.outPort.set = con.staBy.inPort[1].set ($RES_SIM_285) (18) [WHEN] (1)when false then (18) [----] con.plaOff.oldActive := con.plaOff.outerStatePort.localActive (18) [----] end when; (19) [SCAL] (1) $FUN_10 = Modelica.StateGraph.Temporary.anyTrue(con.nor.outPort.reset) ($RES_$AUX_369) (20) [SCAL] (1) con.transition1.outPort.occupied = con.staBy.inPort[1].occupied ($RES_SIM_286) (21) [SCAL] (1) con.plaOff.newActive = $SEV_17 ($RES_SIM_88) (22) [SCAL] (1) con.transition1.outPort.set = $SEV_23 ($RES_SIM_128) (23) [SCAL] (1) $FUN_11 = Modelica.StateGraph.Temporary.anyTrue(con.plaOff.inPort.set) ($RES_$AUX_368) (24) [SCAL] (1) con.plaOff.outerStatePort.localActive = $TEV_5 ($RES_SIM_89) (25) [SCAL] (1) $FUN_12 = Modelica.StateGraph.Temporary.anyTrue(con.plaOff.outPort.reset) ($RES_$AUX_367) (26) [SCAL] (1) con.transition10.outPort.set = con.plaOff.inPort[3].set ($RES_SIM_288) (27) [SCAL] (1) con.transition10.outPort.occupied = con.plaOff.inPort[3].occupied ($RES_SIM_289) (28) [SCAL] (1) $SEV_31 = (con.transition5.localCondition and con.transition5.inPort.available) and not con.transition5.outPort.occupied ($RES_EVT_450) (29) [SCAL] (1) $SEV_32 = (con.transition3.localCondition and con.transition3.inPort.available) and not con.transition3.outPort.occupied ($RES_EVT_451) (30) [SCAL] (1) $SEV_33 = not con.transition9.localCondition and con.and1.u2 ($RES_EVT_452) (31) [SCAL] (1) $SEV_34 = con.hys.y and not con.transition5.localCondition ($RES_EVT_453) (32) [SCAL] (1) $SEV_35 = not $PRE.con.hys.y and con.add2.y > con.hys.uHigh or $PRE.con.hys.y and con.add2.y >= con.hys.uLow ($RES_EVT_454) (33) [FOR-] (2) ($RES_EVT_455) (33) [----] for $i1 in 1:2 loop (33) [----] [SCAL] (1) $SEV_36[$i1] = $i1 == 1 ($RES_EVT_456) (33) [----] end for; (34) [FOR-] (2) ($RES_EVT_457) (34) [----] for $i1 in 1:2 loop (34) [----] [SCAL] (1) $SEV_37[$i1] = con.cooDow.outPort[$i1 - 1].available and not con.cooDow.outPort[$i1 - 1].reset ($RES_EVT_458) (34) [----] end for; (35) [FOR-] (2) ($RES_EVT_459) (35) [----] for $i1 in 1:2 loop (35) [----] [SCAL] (1) $SEV_38[$i1] = con.cooDow.inPort[$i1 - 1].occupied or con.cooDow.inPort[$i1 - 1].set ($RES_EVT_460) (35) [----] end for; (36) [SCAL] (1) con.pumOn.inPort[1].set = false ($RES_SIM_211) (37) [FOR-] (2) ($RES_SIM_212) (37) [----] for $i1 in 1:2 loop (37) [----] [SCAL] (1) con.pumOn.outPort[$i1].available = if $SEV_36[$i1] then con.pumOn.outerStatePort.localActive else $SEV_43[$i1] ($RES_SIM_213) (37) [----] end for; (38) [SCAL] (1) con.pumOn.inPort[1].occupied = con.pumOn.outerStatePort.localActive ($RES_SIM_214) (39) [WHEN] (1)when false then (39) [----] con.pumOn.oldActive := con.pumOn.outerStatePort.localActive (39) [----] end when; (40) [SCAL] (1) con.pumOn.newActive = $SEV_44 ($RES_SIM_216) (41) [SCAL] (1) con.plaOff.outerStatePort.subgraphStatePort.activeSteps = if con.plaOff.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_91) (42) [SCAL] (1) con.transition5.outPort.set = con.plaOff.inPort[2].set ($RES_SIM_290) (43) [SCAL] (1) con.pumOn.outerStatePort.localActive = $TEV_30 ($RES_SIM_217) (44) [SCAL] (1) con.transition5.outPort.occupied = con.plaOff.inPort[2].occupied ($RES_SIM_291) (45) [SCAL] (1) con.transition3.outPort.set = con.plaOff.inPort[1].set ($RES_SIM_292) (46) [SCAL] (1) con.pumOn.outerStatePort.subgraphStatePort.activeSteps = if con.pumOn.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_219) (47) [SCAL] (1) con.transition6.outPort.set = $SEV_18 ($RES_SIM_94) (48) [SCAL] (1) con.assWatMas.not1.u = $SEV_24 ($RES_SIM_134) (49) [SCAL] (1) con.transition3.outPort.occupied = con.plaOff.inPort[1].occupied ($RES_SIM_293) (50) [SCAL] (1) con.assWatMas.nand.y = not $SEV_25 ($RES_SIM_135) (51) [SCAL] (1) con.transition10.localCondition = $SEV_26 ($RES_SIM_137) (52) [SCAL] (1) $SEV_39 = $FUN_7 or con.cooDow.outerStatePort.localActive and not $FUN_8 ($RES_EVT_461) (53) [FOR-] (2) ($RES_EVT_462) (53) [----] for $i1 in 1:2 loop (53) [----] [SCAL] (1) $SEV_40[$i1] = con.warUp.outPort[$i1 - 1].available and not con.warUp.outPort[$i1 - 1].reset ($RES_EVT_463) (53) [----] end for; (54) [FOR-] (2) ($RES_EVT_464) (54) [----] for $i1 in 1:2 loop (54) [----] [SCAL] (1) $SEV_41[$i1] = con.warUp.inPort[$i1 - 1].occupied or con.warUp.inPort[$i1 - 1].set ($RES_EVT_465) (54) [----] end for; (55) [SCAL] (1) $TEV_0 = $PRE.con.timer.passed ($RES_EVT_380) (56) [SCAL] (1) $SEV_42 = $FUN_5 or con.warUp.outerStatePort.localActive and not $FUN_6 ($RES_EVT_466) (57) [SCAL] (1) $TEV_1 = $PRE.con.timer.entryTime ($RES_EVT_381) (58) [FOR-] (2) ($RES_EVT_467) (58) [----] for $i1 in 1:2 loop (58) [----] [SCAL] (1) $SEV_43[$i1] = con.pumOn.outPort[$i1 - 1].available and not con.pumOn.outPort[$i1 - 1].reset ($RES_EVT_468) (58) [----] end for; (59) [SCAL] (1) $TEV_2 = $PRE.con.transition4.enableFire ($RES_EVT_382) (60) [SCAL] (1) $TEV_3 = $PRE.con.plaOff.oldActive ($RES_EVT_383) (61) [SCAL] (1) $SEV_44 = $FUN_3 or con.pumOn.outerStatePort.localActive and not $FUN_4 ($RES_EVT_469) (62) [SCAL] (1) $TEV_4 = $PRE.con.plaOff.outerStatePort.localActive ($RES_EVT_384) (63) [SCAL] (1) $TEV_5 = $PRE.con.plaOff.newActive ($RES_EVT_385) (64) [SCAL] (1) $TEV_6 = $PRE.con.transition6.outPort.set ($RES_EVT_386) (65) [SCAL] (1) $TEV_7 = $PRE.con.and1.u2 ($RES_EVT_387) (66) [SCAL] (1) $TEV_8 = $PRE.con.warUpCtr.timer.entryTime ($RES_EVT_388) (67) [SCAL] (1) $TEV_9 = $PRE.con.transition8.outPort.set ($RES_EVT_389) (68) [FOR-] (2) ($RES_SIM_220) (68) [----] for $i1 in 1:2 loop (68) [----] [SCAL] (1) con.staBy.outPort[$i1].reset = false ($RES_SIM_221) (68) [----] end for; (69) [SCAL] (1) con.staBy.inPort[1].set = false ($RES_SIM_222) (70) [FOR-] (2) ($RES_SIM_223) (70) [----] for $i1 in 1:2 loop (70) [----] [SCAL] (1) con.staBy.outPort[$i1].available = if $SEV_36[$i1] then con.staBy.outerStatePort.localActive else $SEV_45[$i1] ($RES_SIM_224) (70) [----] end for; (71) [SCAL] (1) con.staBy.inPort[1].occupied = con.staBy.outerStatePort.localActive ($RES_SIM_225) (72) [SCAL] (1) con.transition10.outPort.set = $SEV_27 ($RES_SIM_140) (73) [WHEN] (1)when false then (73) [----] con.staBy.oldActive := con.staBy.outerStatePort.localActive (73) [----] end when; (74) [SCAL] (1) con.staBy.newActive = $SEV_46 ($RES_SIM_227) (75) [SCAL] (1) con.staBy.outerStatePort.localActive = $TEV_33 ($RES_SIM_228) (76) [SCAL] (1) con.transition7.localCondition = $SEV_28 ($RES_SIM_145) (77) [SCAL] (1) con.transition7.outPort.set = $SEV_29 ($RES_SIM_148) (78) [FOR-] (2) ($RES_EVT_470) (78) [----] for $i1 in 1:2 loop (78) [----] [SCAL] (1) $SEV_45[$i1] = con.staBy.outPort[$i1 - 1].available and not con.staBy.outPort[$i1 - 1].reset ($RES_EVT_471) (78) [----] end for; (79) [SCAL] (1) $SEV_46 = $FUN_1 or con.staBy.outerStatePort.localActive and not $FUN_2 ($RES_EVT_472) (80) [SCAL] (1) $SEV_47 = time >= $PRE.mWat_flow.tab.nextTimeEvent ($RES_EVT_473) (81) [SCAL] (1) $SEV_48 = con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy or con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_EVT_474) (82) [SCAL] (1) $SEV_49 = con.actMod == Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_EVT_475) (83) [SCAL] (1) $TEV_10 = $PRE.con.nor.oldActive ($RES_EVT_390) (84) [SCAL] (1) $TEV_11 = $PRE.con.nor.outerStatePort.localActive ($RES_EVT_391) (85) [SCAL] (1) $TEV_12 = $PRE.con.nor.newActive ($RES_EVT_392) (86) [SCAL] (1) $TEV_13 = $PRE.con.transition2.outPort.set ($RES_EVT_393) (87) [SCAL] (1) $TEV_14 = $PRE.con.transition1.outPort.set ($RES_EVT_394) (88) [SCAL] (1) $TEV_15 = $PRE.con.assWatMas.not1.u ($RES_EVT_395) (89) [SCAL] (1) $TEV_16 = $PRE.con.transition10.outPort.set ($RES_EVT_396) (90) [SCAL] (1) $TEV_17 = $PRE.con.transition7.outPort.set ($RES_EVT_397) (91) [SCAL] (1) $TEV_18 = $PRE.con.transition9.outPort.set ($RES_EVT_398) (92) [SCAL] (1) powCon.staBy.y = $SEV_49 ($RES_BND_363) (93) [SCAL] (1) $TEV_19 = $PRE.con.transition5.outPort.set ($RES_EVT_399) (94) [SCAL] (1) powCon.cooDow.y = $SEV_48 ($RES_BND_364) (95) [SCAL] (1) con.transition6.outPort.set = con.nor.inPort[1].set ($RES_SIM_315) (96) [SCAL] (1) con.staBy.outerStatePort.subgraphStatePort.activeSteps = if con.staBy.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_230) (97) [SCAL] (1) con.transition6.outPort.occupied = con.nor.inPort[1].occupied ($RES_SIM_316) (98) [SCAL] (1) mWat_flow.tab.y[1] = mWat_flow.tab.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(mWat_flow.tab.tableID, 1, time, mWat_flow.tab.nextTimeEventScaled, $TEV_36) ($RES_SIM_231) (99) [SCAL] (1) con.plaOff.outPort[1].reset = con.transition1.outPort.set ($RES_SIM_317) (100) [WHEN] (1)when {$SEV_47, initial()} then (100) [----] mWat_flow.tab.nextTimeEvent := if mWat_flow.tab.nextTimeEventScaled < 1e60 then mWat_flow.tab.nextTimeEventScaled else 1e60 (100) [----] end when; (101) [SCAL] (1) con.plaOff.outPort[1].available = con.transition1.inPort.available ($RES_SIM_318) (102) [WHEN] (1)when {$SEV_47, initial()} then (102) [----] mWat_flow.tab.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(mWat_flow.tab.tableID, time) (102) [----] end when; (103) [SCAL] (1) con.nor.outPort[1].reset = con.transition8.outPort.set ($RES_SIM_319) (104) [SCAL] (1) con.pumOn.outerStatePort.subgraphStatePort.activeSteps + con.warUp.outerStatePort.subgraphStatePort.activeSteps + con.cooDow.outerStatePort.subgraphStatePort.activeSteps + con.nor.outerStatePort.subgraphStatePort.activeSteps + con.plaOff.outerStatePort.subgraphStatePort.activeSteps + stateGraphRoot.subgraphStatePort.activeSteps + con.staBy.outerStatePort.subgraphStatePort.activeSteps = 0.0 ($RES_SIM_235) (105) [SCAL] (1) mWat_flow.y[1] = con.assWatMas.hys.u ($RES_SIM_236) (106) [SCAL] (1) $TEV_20 = $PRE.con.transition3.outPort.set ($RES_EVT_400) (107) [SCAL] (1) con.transition9.outPort.set = $SEV_30 ($RES_SIM_155) (108) [SCAL] (1) $TEV_21 = $PRE.con.hys.y ($RES_EVT_401) (109) [SCAL] (1) $TEV_22 = $PRE.con.cooDow.oldActive ($RES_EVT_402) (110) [SCAL] (1) $TEV_23 = $PRE.con.cooDow.outerStatePort.localActive ($RES_EVT_403) (111) [SCAL] (1) $TEV_24 = $PRE.con.cooDow.newActive ($RES_EVT_404) (112) [SCAL] (1) $TEV_25 = $PRE.con.warUp.oldActive ($RES_EVT_405) (113) [SCAL] (1) $TEV_26 = $PRE.con.warUp.outerStatePort.localActive ($RES_EVT_406) (114) [SCAL] (1) $TEV_27 = $PRE.con.warUp.newActive ($RES_EVT_407) (115) [SCAL] (1) $TEV_28 = $PRE.con.pumOn.oldActive ($RES_EVT_408) (116) [SCAL] (1) $TEV_29 = $PRE.con.pumOn.outerStatePort.localActive ($RES_EVT_409) (117) [SCAL] (1) con.nor.outPort[1].available = con.transition8.inPort.available ($RES_SIM_320) (118) [SCAL] (1) stateGraphRoot.activeSteps = -integer(stateGraphRoot.subgraphStatePort.activeSteps) ($RES_SIM_43) (119) [SCAL] (1) powCon.switch1.y = if powCon.cooDow.y then powCon.switch.y else powCon.const.k ($RES_SIM_46) (120) [SCAL] (1) powCon.switch.y = if powCon.staBy.y then powCon.staByCon.k else powCon.cooDowCon.k ($RES_SIM_47) (121) [SCAL] (1) con.transition5.outPort.set = $SEV_31 ($RES_SIM_162) (122) [SCAL] (1) avaSig.combiTimeTable.y[1] = avaSig.realToBoolean.u ($RES_SIM_248) (123) [SCAL] (1) $TEV_30 = $PRE.con.pumOn.newActive ($RES_EVT_410) (124) [SCAL] (1) $TEV_31 = $PRE.con.staBy.oldActive ($RES_EVT_411) (125) [SCAL] (1) $TEV_32 = $PRE.con.staBy.outerStatePort.localActive ($RES_EVT_412) (126) [SCAL] (1) $TEV_33 = $PRE.con.staBy.newActive ($RES_EVT_413) (127) [SCAL] (1) $TEV_34 = $PRE.avaSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_414) (128) [SCAL] (1) con.transition3.outPort.set = $SEV_32 ($RES_SIM_169) (129) [SCAL] (1) $TEV_35 = $PRE.runSig.combiTimeTable.nextTimeEventScaled ($RES_EVT_415) (130) [SCAL] (1) $TEV_36 = $PRE.mWat_flow.tab.nextTimeEventScaled ($RES_EVT_416) (131) [SCAL] (1) not con.transition3.localCondition = $SEV_7 ($RES_SIM_50) (132) [SCAL] (1) avaSig.combiTimeTable.y[1] = avaSig.combiTimeTable.p_offset[1] + Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(avaSig.combiTimeTable.tableID, 1, time, avaSig.combiTimeTable.nextTimeEventScaled, $TEV_34) ($RES_SIM_51) (133) [SCAL] (1) runSig.combiTimeTable.y[1] = runSig.realToBoolean.u ($RES_SIM_250) (134) [WHEN] (1)when {$SEV_8, initial()} then (134) [----] avaSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(avaSig.combiTimeTable.tableID, time) (134) [----] end when; (135) [WHEN] (1)when {$SEV_8, initial()} then (135) [----] avaSig.combiTimeTable.nextTimeEvent := if avaSig.combiTimeTable.nextTimeEventScaled < 1e60 then avaSig.combiTimeTable.nextTimeEventScaled else 1e60 (135) [----] end when; (136) [SCAL] (1) not con.transition5.localCondition = $SEV_10 ($RES_SIM_56) (137) [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_35) ($RES_SIM_57) (138) [WHEN] (1)when {$SEV_11, initial()} then (138) [----] runSig.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(runSig.combiTimeTable.tableID, time) (138) [----] end when; (139) [SCAL] (1) con.cooDow.outPort[2].reset = con.transition7.outPort.set ($RES_SIM_257) (140) [WHEN] (1)when {$SEV_11, initial()} then (140) [----] runSig.combiTimeTable.nextTimeEvent := if runSig.combiTimeTable.nextTimeEventScaled < 1e60 then runSig.combiTimeTable.nextTimeEventScaled else 1e60 (140) [----] end when; (141) [SCAL] (1) con.cooDow.outPort[2].available = con.transition7.inPort.available ($RES_SIM_258) (142) [SCAL] (1) con.cooDow.outPort[1].reset = con.transition10.outPort.set ($RES_SIM_259) (143) [SCAL] (1) con.transition6.localCondition = $SEV_33 ($RES_SIM_174) (144) [SCAL] (1) not con.transition9.localCondition = $SEV_34 ($RES_SIM_177) (145) [SCAL] (1) con.hys.y = $SEV_35 ($RES_SIM_178) (146) [SCAL] (1) $SEV_7 = avaSig.realToBoolean.u >= avaSig.realToBoolean.threshold ($RES_EVT_424) (147) [SCAL] (1) con.add2.y = con.add2.k1 * con.max.y + con.add2.k2 * con.assWatMas.hys.u ($RES_SIM_179) (148) [SCAL] (1) $SEV_8 = time >= $PRE.avaSig.combiTimeTable.nextTimeEvent ($RES_EVT_425) (149) [SCAL] (1) $SEV_10 = runSig.realToBoolean.u >= runSig.realToBoolean.threshold ($RES_EVT_427) (150) [SCAL] (1) $SEV_11 = time >= $PRE.runSig.combiTimeTable.nextTimeEvent ($RES_EVT_428) (151) [SCAL] (1) $SEV_12 = con.cooDow.outerStatePort.localActive and time >= (con.timer.t + $PRE.con.timer.entryTime) ($RES_EVT_429) (152) [SCAL] (1) con.warUpCtr.timer.y = if con.warUp.outerStatePort.localActive then time - con.warUpCtr.timer.entryTime else 0.0 ($RES_SIM_100) (153) [WHEN] (1)when not con.warUp.outerStatePort.localActive then (153) [----] con.warUpCtr.timer.entryTime := $PRE.con.warUpCtr.timer.entryTime (153) [----] else when $SEV_19 then (153) [----] con.warUpCtr.timer.entryTime := $PRE.con.warUpCtr.timer.entryTime (153) [----] else when con.warUp.outerStatePort.localActive then (153) [----] con.warUpCtr.timer.entryTime := time (153) [----] end when; (154) [SCAL] (1) con.cooDow.outPort[1].available = con.transition10.inPort.available ($RES_SIM_260) (155) [-IF-] (1)if con.plaOff.outerStatePort.localActive then (155) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Off ($RES_SIM_63) (155) [----] elseif con.staBy.outerStatePort.localActive then (155) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.StandBy ($RES_SIM_64) (155) [----] elseif con.pumOn.outerStatePort.localActive then (155) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.PumpOn ($RES_SIM_65) (155) [----] elseif con.warUp.outerStatePort.localActive then (155) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.WarmUp ($RES_SIM_66) (155) [----] elseif con.nor.outerStatePort.localActive then (155) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.Normal ($RES_SIM_67) (155) [----] else (155) [----] [SCAL] (1) con.actMod = Buildings.Fluid.CHPs.BaseClasses.Types.Mode.CoolDown ($RES_SIM_68) (155) [----] end if; (156) [WHEN] (1)when not con.warUp.outerStatePort.localActive then (156) [----] con.and1.u2 := false (156) [----] else when $SEV_19 then (156) [----] con.and1.u2 := true (156) [----] else when con.warUp.outerStatePort.localActive then (156) [----] con.and1.u2 := con.warUpCtr.timer.t <= 0.0 (156) [----] end when; (157) [ARRY] (1) mWat_flow.tab.y = mWat_flow.y ($RES_SIM_346) (158) [SCAL] (1) con.transition9.outPort.set = con.cooDow.inPort[2].set ($RES_SIM_261) (159) [SCAL] (1) con.transition9.outPort.occupied = con.cooDow.inPort[2].occupied ($RES_SIM_262) (160) [SCAL] (1) con.transition8.outPort.set = con.cooDow.inPort[1].set ($RES_SIM_263) (161) [SCAL] (1) con.transition8.outPort.set = $SEV_20 ($RES_SIM_105) (162) [SCAL] (1) con.transition8.outPort.occupied = con.cooDow.inPort[1].occupied ($RES_SIM_264) (163) [SCAL] (1) con.transition7.outPort.set = con.warUp.inPort[2].set ($RES_SIM_265) (164) [SCAL] (1) con.max.y = max(con.minWatFlo.k, con.con.k) ($RES_SIM_180) (165) [SCAL] (1) con.transition7.outPort.occupied = con.warUp.inPort[2].occupied ($RES_SIM_266) (166) [SCAL] (1) con.transition4.outPort.set = con.warUp.inPort[1].set ($RES_SIM_267) (167) [SCAL] (1) con.transition4.outPort.occupied = con.warUp.inPort[1].occupied ($RES_SIM_268) (168) [FOR-] (2) ($RES_SIM_183) (168) [----] for $i1 in 1:2 loop (168) [----] [SCAL] (1) con.cooDow.outPort[$i1].reset = false ($RES_SIM_184) (168) [----] end for; (169) [SCAL] (1) $SEV_13 = (not con.transition9.localCondition and con.transition4.inPort.available) and not con.transition4.outPort.occupied ($RES_EVT_430) (170) [FOR-] (2) ($RES_SIM_185) (170) [----] for $i1 in 1:2 loop (170) [----] [SCAL] (1) con.cooDow.inPort[$i1].set = false ($RES_SIM_186) (170) [----] end for; (171) [SCAL] (1) $SEV_14 = con.transition4.enableFire and time >= ((time - con.transition4.t_dummy) + con.transition4.waitTime) ($RES_EVT_431) (172) [FOR-] (3) ($RES_EVT_432) (172) [----] for $i1 in 1:3 loop (172) [----] [SCAL] (1) $SEV_15[$i1] = $i1 == 1 ($RES_EVT_433) (172) [----] end for; (173) [FOR-] (2) ($RES_SIM_187) (173) [----] for $i1 in 1:2 loop (173) [----] [SCAL] (1) con.cooDow.outPort[$i1].available = if $SEV_36[$i1] then con.cooDow.outerStatePort.localActive else $SEV_37[$i1] ($RES_SIM_188) (173) [----] end for; (174) [FOR-] (3) ($RES_EVT_434) (174) [----] for $i1 in 1:3 loop (174) [----] [SCAL] (1) $SEV_16[$i1] = con.plaOff.inPort[$i1 - 1].occupied or con.plaOff.inPort[$i1 - 1].set ($RES_EVT_435) (174) [----] end for; (175) [FOR-] (2) ($RES_SIM_189) (175) [----] for $i1 in 1:2 loop (175) [----] [SCAL] (1) con.cooDow.inPort[$i1].occupied = if $SEV_36[$i1] then con.cooDow.outerStatePort.localActive else $SEV_38[$i1] ($RES_SIM_190) (175) [----] end for; (176) [SCAL] (1) $SEV_17 = $FUN_11 or con.plaOff.outerStatePort.localActive and not $FUN_12 ($RES_EVT_436) (177) [SCAL] (1) $SEV_18 = (con.transition6.localCondition and con.transition6.inPort.available) and not con.transition6.outPort.occupied ($RES_EVT_437) (178) [SCAL] (1) $SEV_19 = con.warUp.outerStatePort.localActive and time >= (con.warUpCtr.timer.t + $PRE.con.warUpCtr.timer.entryTime) ($RES_EVT_438) (179) [SCAL] (1) $SEV_20 = (con.transition9.localCondition and con.transition8.inPort.available) and not con.transition8.outPort.occupied ($RES_EVT_439) (180) [SCAL] (1) con.timer.y = if con.cooDow.outerStatePort.localActive then time - con.timer.entryTime else 0.0 ($RES_SIM_70) (181) [SCAL] (1) con.nor.outPort[1].reset = false ($RES_SIM_110) (182) [WHEN] (1)when not con.cooDow.outerStatePort.localActive then (182) [----] con.timer.passed := false (182) [----] else when $SEV_12 then (182) [----] con.timer.passed := true (182) [----] else when con.cooDow.outerStatePort.localActive then (182) [----] con.timer.passed := con.timer.t <= 0.0 (182) [----] end when; (183) [SCAL] (1) con.nor.inPort[1].set = false ($RES_SIM_111) (184) [WHEN] (1)when not con.cooDow.outerStatePort.localActive then (184) [----] con.timer.entryTime := $PRE.con.timer.entryTime (184) [----] else when $SEV_12 then (184) [----] con.timer.entryTime := $PRE.con.timer.entryTime (184) [----] else when con.cooDow.outerStatePort.localActive then (184) [----] con.timer.entryTime := time (184) [----] end when; (185) [SCAL] (1) con.nor.outPort[1].available = con.nor.outerStatePort.localActive ($RES_SIM_112) (186) [SCAL] (1) con.warUp.outPort[2].reset = con.transition9.outPort.set ($RES_SIM_271) (187) [SCAL] (1) con.nor.inPort[1].occupied = con.nor.outerStatePort.localActive ($RES_SIM_113) (188) [SCAL] (1) con.warUp.outPort[2].available = con.transition9.inPort.available ($RES_SIM_272) (189) [WHEN] (1)when false then (189) [----] con.nor.oldActive := con.nor.outerStatePort.localActive (189) [----] end when; (190) [SCAL] (1) con.warUp.outPort[1].reset = con.transition6.outPort.set ($RES_SIM_273) (191) [SCAL] (1) con.nor.newActive = $SEV_21 ($RES_SIM_115) (192) [SCAL] (1) con.warUp.outPort[1].available = con.transition6.inPort.available ($RES_SIM_274) (193) [SCAL] (1) con.transition4.enableFire = $SEV_13 ($RES_SIM_76) (194) [SCAL] (1) con.nor.outerStatePort.localActive = $TEV_12 ($RES_SIM_116) (195) [SCAL] (1) con.pumOn.outPort[2].reset = con.transition5.outPort.set ($RES_SIM_275) (196) [SCAL] (1) con.transition4.outPort.set = $SEV_14 ($RES_SIM_77) (197) [SCAL] (1) con.pumOn.outPort[2].available = con.transition5.inPort.available ($RES_SIM_276) (198) [SCAL] (1) con.transition4.t = if con.transition4.enableFire then con.transition4.t_dummy else 0.0 ($RES_SIM_78) (199) [WHEN] (1)when false then (199) [----] con.cooDow.oldActive := con.cooDow.outerStatePort.localActive (199) [----] end when; (200) [SCAL] (1) con.nor.outerStatePort.subgraphStatePort.activeSteps = if con.nor.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_118) (201) [SCAL] (1) $FUN_1 = Modelica.StateGraph.Temporary.anyTrue(con.staBy.inPort.set) ($RES_$AUX_378) (202) [SCAL] (1) con.pumOn.outPort[1].reset = con.transition4.outPort.set ($RES_SIM_277) (203) [SCAL] (1) con.cooDow.newActive = $SEV_39 ($RES_SIM_192) (204) [SCAL] (1) $FUN_2 = Modelica.StateGraph.Temporary.anyTrue(con.staBy.outPort.reset) ($RES_$AUX_377) (205) [SCAL] (1) con.pumOn.outPort[1].available = con.transition4.inPort.available ($RES_SIM_278) (206) [SCAL] (1) con.cooDow.outerStatePort.localActive = $TEV_24 ($RES_SIM_193) (207) [SCAL] (1) $FUN_3 = Modelica.StateGraph.Temporary.anyTrue(con.pumOn.inPort.set) ($RES_$AUX_376) (208) [SCAL] (1) con.transition2.outPort.set = con.pumOn.inPort[1].set ($RES_SIM_279) (209) [SCAL] (1) $FUN_4 = Modelica.StateGraph.Temporary.anyTrue(con.pumOn.outPort.reset) ($RES_$AUX_375) (210) [SCAL] (1) $SEV_21 = $FUN_9 or con.nor.outerStatePort.localActive and not $FUN_10 ($RES_EVT_440) (211) [SCAL] (1) con.cooDow.outerStatePort.subgraphStatePort.activeSteps = if con.cooDow.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_195) (212) [SCAL] (1) $FUN_5 = Modelica.StateGraph.Temporary.anyTrue(con.warUp.inPort.set) ($RES_$AUX_374) (213) [SCAL] (1) $SEV_22 = (not con.transition5.localCondition and con.transition2.inPort.available) and not con.transition2.outPort.occupied ($RES_EVT_441) (214) [FOR-] (2) ($RES_SIM_196) (214) [----] for $i1 in 1:2 loop (214) [----] [SCAL] (1) con.warUp.outPort[$i1].reset = false ($RES_SIM_197) (214) [----] end for; (215) [SCAL] (1) $FUN_6 = Modelica.StateGraph.Temporary.anyTrue(con.warUp.outPort.reset) ($RES_$AUX_373) (216) [SCAL] (1) $SEV_23 = (not con.transition3.localCondition and con.transition1.inPort.available) and not con.transition1.outPort.occupied ($RES_EVT_442) (217) [SCAL] (1) $FUN_7 = Modelica.StateGraph.Temporary.anyTrue(con.cooDow.inPort.set) ($RES_$AUX_372) (218) [SCAL] (1) $SEV_24 = not $PRE.con.assWatMas.not1.u and con.assWatMas.hys.u > con.assWatMas.hys.uHigh or $PRE.con.assWatMas.not1.u and con.assWatMas.hys.u >= con.assWatMas.hys.uLow ($RES_EVT_443) (219) [FOR-] (2) ($RES_SIM_198) (219) [----] for $i1 in 1:2 loop (219) [----] [SCAL] (1) con.warUp.inPort[$i1].set = false ($RES_SIM_199) (219) [----] end for; (220) [SCAL] (1) $FUN_8 = Modelica.StateGraph.Temporary.anyTrue(con.cooDow.outPort.reset) ($RES_$AUX_371) (221) [SCAL] (1) $SEV_25 = not con.transition5.localCondition and not con.assWatMas.not1.u ($RES_EVT_444) (222) [SCAL] (1) $FUN_9 = Modelica.StateGraph.Temporary.anyTrue(con.nor.inPort.set) ($RES_$AUX_370) (223) [SCAL] (1) $SEV_26 = con.timer.passed and con.transition9.localCondition ($RES_EVT_445) (224) [SCAL] (1) $SEV_27 = (con.transition10.localCondition and con.transition10.inPort.available) and not con.transition10.outPort.occupied ($RES_EVT_446) (225) [SCAL] (1) $SEV_28 = con.optCooDow.k and not con.transition9.localCondition ($RES_EVT_447) (226) [SCAL] (1) $SEV_29 = (con.transition7.localCondition and con.transition7.inPort.available) and not con.transition7.outPort.occupied ($RES_EVT_448) (227) [SCAL] (1) $SEV_30 = (con.transition9.localCondition and con.transition9.inPort.available) and not con.transition9.outPort.occupied ($RES_EVT_449) (228) [FOR-] (2) ($RES_SIM_200) (228) [----] for $i1 in 1:2 loop (228) [----] [SCAL] (1) con.warUp.outPort[$i1].available = if $SEV_36[$i1] then con.warUp.outerStatePort.localActive else $SEV_40[$i1] ($RES_SIM_201) (228) [----] end for; (229) [FOR-] (2) ($RES_SIM_202) (229) [----] for $i1 in 1:2 loop (229) [----] [SCAL] (1) con.warUp.inPort[$i1].occupied = if $SEV_36[$i1] then con.warUp.outerStatePort.localActive else $SEV_41[$i1] ($RES_SIM_203) (229) [----] end for; =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 251 var 2 --> eqn 250 var 3 --> eqn 86 var 4 --> eqn 18 var 5 --> eqn 19 var 6 --> eqn 20 var 7 --> eqn 248 var 8 --> eqn 175 var 9 --> eqn 246 var 10 --> eqn 242 var 11 --> eqn 240 var 12 --> eqn 236 var 13 --> eqn 233 var 14 --> eqn 176 var 15 --> eqn 79 var 16 --> eqn 44 var 17 --> eqn 78 var 18 --> eqn 77 var 19 --> eqn 8 var 20 --> eqn 9 var 21 --> eqn 10 var 22 --> eqn 76 var 23 --> eqn 27 var 24 --> eqn 156 var 25 --> eqn 75 var 26 --> eqn 74 var 27 --> eqn 72 var 28 --> eqn 56 var 29 --> eqn 71 var 30 --> eqn 68 var 31 --> eqn 66 var 32 --> eqn 180 var 33 --> eqn 3 var 34 --> eqn 145 var 35 --> eqn 144 var 36 --> eqn 112 var 37 --> eqn 54 var 38 --> eqn 142 var 39 --> eqn 141 var 40 --> eqn 140 var 41 --> eqn 186 var 42 --> eqn 187 var 43 --> eqn 139 var 44 --> eqn 22 var 45 --> eqn 138 var 46 --> eqn 201 var 47 --> eqn 38 var 48 --> eqn 39 var 49 --> eqn 200 var 50 --> eqn 199 var 51 --> eqn 171 var 52 --> eqn 188 var 53 --> eqn 185 var 54 --> eqn 159 var 55 --> eqn 166 var 56 --> eqn 165 var 57 --> eqn 164 var 58 --> eqn 150 var 59 --> eqn 88 var 60 --> eqn 149 var 61 --> eqn 170 var 62 --> eqn 131 var 63 --> eqn 130 var 64 --> eqn 29 var 65 --> eqn 129 var 66 --> eqn 128 var 67 --> eqn 127 var 68 --> eqn 155 var 69 --> eqn 126 var 70 --> eqn 48 var 71 --> eqn 125 var 72 --> eqn 118 var 73 --> eqn 111 var 74 --> eqn 124 var 75 --> eqn 123 var 76 --> eqn 121 var 77 --> eqn 16 var 78 --> eqn 4 var 79 --> eqn 110 var 80 --> eqn 55 var 81 --> eqn 157 var 82 --> eqn 154 var 83 --> eqn 212 var 84 --> eqn 87 var 85 --> eqn 147 var 86 --> eqn 113 var 87 --> eqn 247 var 88 --> eqn 245 var 89 --> eqn 241 var 90 --> eqn 6 var 91 --> eqn 239 var 92 --> eqn 235 var 93 --> eqn 107 var 94 --> eqn 232 var 95 --> eqn 135 var 96 --> eqn 137 var 97 --> eqn 58 var 98 --> eqn 230 var 99 --> eqn 108 var 100 --> eqn 227 var 101 --> eqn 106 var 102 --> eqn 49 var 103 --> eqn 224 var 104 --> eqn 105 var 105 --> eqn 153 var 106 --> eqn 104 var 107 --> eqn 103 var 108 --> eqn 102 var 109 --> eqn 64 var 110 --> eqn 65 var 111 --> eqn 101 var 112 --> eqn 158 var 113 --> eqn 100 var 114 --> eqn 99 var 115 --> eqn 219 var 116 --> eqn 98 var 117 --> eqn 31 var 118 --> eqn 214 var 119 --> eqn 109 var 120 --> eqn 169 var 121 --> eqn 115 var 122 --> eqn 167 var 123 --> eqn 146 var 124 --> eqn 50 var 125 --> eqn 174 var 126 --> eqn 210 var 127 --> eqn 207 var 128 --> eqn 234 var 129 --> eqn 14 var 130 --> eqn 15 var 131 --> eqn 160 var 132 --> eqn 228 var 133 --> eqn 253 var 134 --> eqn 254 var 135 --> eqn 221 var 136 --> eqn 21 var 137 --> eqn 30 var 138 --> eqn 57 var 139 --> eqn 28 var 140 --> eqn 24 var 141 --> eqn 13 var 142 --> eqn 148 var 143 --> eqn 47 var 144 --> eqn 168 var 145 --> eqn 163 var 146 --> eqn 161 var 147 --> eqn 223 var 148 --> eqn 92 var 149 --> eqn 93 var 150 --> eqn 119 var 151 --> eqn 26 var 152 --> eqn 172 var 153 --> eqn 132 var 154 --> eqn 62 var 155 --> eqn 63 var 156 --> eqn 177 var 157 --> eqn 211 var 158 --> eqn 1 var 159 --> eqn 134 var 160 --> eqn 85 var 161 --> eqn 51 var 162 --> eqn 217 var 163 --> eqn 7 var 164 --> eqn 89 var 165 --> eqn 23 var 166 --> eqn 25 var 167 --> eqn 90 var 168 --> eqn 222 var 169 --> eqn 192 var 170 --> eqn 193 var 171 --> eqn 2 var 172 --> eqn 52 var 173 --> eqn 216 var 174 --> eqn 162 var 175 --> eqn 181 var 176 --> eqn 178 var 177 --> eqn 42 var 178 --> eqn 43 var 179 --> eqn 32 var 180 --> eqn 117 var 181 --> eqn 173 var 182 --> eqn 97 var 183 --> eqn 194 var 184 --> eqn 195 var 185 --> eqn 196 var 186 --> eqn 96 var 187 --> eqn 95 var 188 --> eqn 45 var 189 --> eqn 46 var 190 --> eqn 94 var 191 --> eqn 208 var 192 --> eqn 152 var 193 --> eqn 73 var 194 --> eqn 67 var 195 --> eqn 203 var 196 --> eqn 197 var 197 --> eqn 198 var 198 --> eqn 83 var 199 --> eqn 84 var 200 --> eqn 17 var 201 --> eqn 11 var 202 --> eqn 91 var 203 --> eqn 255 var 204 --> eqn 256 var 205 --> eqn 229 var 206 --> eqn 226 var 207 --> eqn 12 var 208 --> eqn 5 var 209 --> eqn 182 var 210 --> eqn 120 var 211 --> eqn 53 var 212 --> eqn 61 var 213 --> eqn 179 var 214 --> eqn 205 var 215 --> eqn 37 var 216 --> eqn 36 var 217 --> eqn 35 var 218 --> eqn 34 var 219 --> eqn 33 var 220 --> eqn 59 var 221 --> eqn 122 var 222 --> eqn 213 var 223 --> eqn 209 var 224 --> eqn 40 var 225 --> eqn 41 var 226 --> eqn 151 var 227 --> eqn 60 var 228 --> eqn 215 var 229 --> eqn 69 var 230 --> eqn 70 var 231 --> eqn 189 var 232 --> eqn 190 var 233 --> eqn 191 var 234 --> eqn 220 var 235 --> eqn 116 var 236 --> eqn 133 equation to variable ********************** eqn 1 --> var 158 eqn 2 --> var 171 eqn 3 --> var 33 eqn 4 --> var 78 eqn 5 --> var 208 eqn 6 --> var 90 eqn 7 --> var 163 eqn 8 --> var 19 eqn 9 --> var 20 eqn 10 --> var 21 eqn 11 --> var 201 eqn 12 --> var 207 eqn 13 --> var 141 eqn 14 --> var 129 eqn 15 --> var 130 eqn 16 --> var 77 eqn 17 --> var 200 eqn 18 --> var 4 eqn 19 --> var 5 eqn 20 --> var 6 eqn 21 --> var 136 eqn 22 --> var 44 eqn 23 --> var 165 eqn 24 --> var 140 eqn 25 --> var 166 eqn 26 --> var 151 eqn 27 --> var 23 eqn 28 --> var 139 eqn 29 --> var 64 eqn 30 --> var 137 eqn 31 --> var 117 eqn 32 --> var 179 eqn 33 --> var 219 eqn 34 --> var 218 eqn 35 --> var 217 eqn 36 --> var 216 eqn 37 --> var 215 eqn 38 --> var 47 eqn 39 --> var 48 eqn 40 --> var 224 eqn 41 --> var 225 eqn 42 --> var 177 eqn 43 --> var 178 eqn 44 --> var 16 eqn 45 --> var 188 eqn 46 --> var 189 eqn 47 --> var 143 eqn 48 --> var 70 eqn 49 --> var 102 eqn 50 --> var 124 eqn 51 --> var 161 eqn 52 --> var 172 eqn 53 --> var 211 eqn 54 --> var 37 eqn 55 --> var 80 eqn 56 --> var 28 eqn 57 --> var 138 eqn 58 --> var 97 eqn 59 --> var 220 eqn 60 --> var 227 eqn 61 --> var 212 eqn 62 --> var 154 eqn 63 --> var 155 eqn 64 --> var 109 eqn 65 --> var 110 eqn 66 --> var 31 eqn 67 --> var 194 eqn 68 --> var 30 eqn 69 --> var 229 eqn 70 --> var 230 eqn 71 --> var 29 eqn 72 --> var 27 eqn 73 --> var 193 eqn 74 --> var 26 eqn 75 --> var 25 eqn 76 --> var 22 eqn 77 --> var 18 eqn 78 --> var 17 eqn 79 --> var 15 eqn 80 --> var -1 eqn 81 --> var -1 eqn 82 --> var -1 eqn 83 --> var 198 eqn 84 --> var 199 eqn 85 --> var 160 eqn 86 --> var 3 eqn 87 --> var 84 eqn 88 --> var 59 eqn 89 --> var 164 eqn 90 --> var 167 eqn 91 --> var 202 eqn 92 --> var 148 eqn 93 --> var 149 eqn 94 --> var 190 eqn 95 --> var 187 eqn 96 --> var 186 eqn 97 --> var 182 eqn 98 --> var 116 eqn 99 --> var 114 eqn 100 --> var 113 eqn 101 --> var 111 eqn 102 --> var 108 eqn 103 --> var 107 eqn 104 --> var 106 eqn 105 --> var 104 eqn 106 --> var 101 eqn 107 --> var 93 eqn 108 --> var 99 eqn 109 --> var 119 eqn 110 --> var 79 eqn 111 --> var 73 eqn 112 --> var 36 eqn 113 --> var 86 eqn 114 --> var -1 eqn 115 --> var 121 eqn 116 --> var 235 eqn 117 --> var 180 eqn 118 --> var 72 eqn 119 --> var 150 eqn 120 --> var 210 eqn 121 --> var 76 eqn 122 --> var 221 eqn 123 --> var 75 eqn 124 --> var 74 eqn 125 --> var 71 eqn 126 --> var 69 eqn 127 --> var 67 eqn 128 --> var 66 eqn 129 --> var 65 eqn 130 --> var 63 eqn 131 --> var 62 eqn 132 --> var 153 eqn 133 --> var 236 eqn 134 --> var 159 eqn 135 --> var 95 eqn 136 --> var -1 eqn 137 --> var 96 eqn 138 --> var 45 eqn 139 --> var 43 eqn 140 --> var 40 eqn 141 --> var 39 eqn 142 --> var 38 eqn 143 --> var -1 eqn 144 --> var 35 eqn 145 --> var 34 eqn 146 --> var 123 eqn 147 --> var 85 eqn 148 --> var 142 eqn 149 --> var 60 eqn 150 --> var 58 eqn 151 --> var 226 eqn 152 --> var 192 eqn 153 --> var 105 eqn 154 --> var 82 eqn 155 --> var 68 eqn 156 --> var 24 eqn 157 --> var 81 eqn 158 --> var 112 eqn 159 --> var 54 eqn 160 --> var 131 eqn 161 --> var 146 eqn 162 --> var 174 eqn 163 --> var 145 eqn 164 --> var 57 eqn 165 --> var 56 eqn 166 --> var 55 eqn 167 --> var 122 eqn 168 --> var 144 eqn 169 --> var 120 eqn 170 --> var 61 eqn 171 --> var 51 eqn 172 --> var 152 eqn 173 --> var 181 eqn 174 --> var 125 eqn 175 --> var 8 eqn 176 --> var 14 eqn 177 --> var 156 eqn 178 --> var 176 eqn 179 --> var 213 eqn 180 --> var 32 eqn 181 --> var 175 eqn 182 --> var 209 eqn 183 --> var -1 eqn 184 --> var -1 eqn 185 --> var 53 eqn 186 --> var 41 eqn 187 --> var 42 eqn 188 --> var 52 eqn 189 --> var 231 eqn 190 --> var 232 eqn 191 --> var 233 eqn 192 --> var 169 eqn 193 --> var 170 eqn 194 --> var 183 eqn 195 --> var 184 eqn 196 --> var 185 eqn 197 --> var 196 eqn 198 --> var 197 eqn 199 --> var 50 eqn 200 --> var 49 eqn 201 --> var 46 eqn 202 --> var -1 eqn 203 --> var 195 eqn 204 --> var -1 eqn 205 --> var 214 eqn 206 --> var -1 eqn 207 --> var 127 eqn 208 --> var 191 eqn 209 --> var 223 eqn 210 --> var 126 eqn 211 --> var 157 eqn 212 --> var 83 eqn 213 --> var 222 eqn 214 --> var 118 eqn 215 --> var 228 eqn 216 --> var 173 eqn 217 --> var 162 eqn 218 --> var -1 eqn 219 --> var 115 eqn 220 --> var 234 eqn 221 --> var 135 eqn 222 --> var 168 eqn 223 --> var 147 eqn 224 --> var 103 eqn 225 --> var -1 eqn 226 --> var 206 eqn 227 --> var 100 eqn 228 --> var 132 eqn 229 --> var 205 eqn 230 --> var 98 eqn 231 --> var -1 eqn 232 --> var 94 eqn 233 --> var 13 eqn 234 --> var 128 eqn 235 --> var 92 eqn 236 --> var 12 eqn 237 --> var -1 eqn 238 --> var -1 eqn 239 --> var 91 eqn 240 --> var 11 eqn 241 --> var 89 eqn 242 --> var 10 eqn 243 --> var -1 eqn 244 --> var -1 eqn 245 --> var 88 eqn 246 --> var 9 eqn 247 --> var 87 eqn 248 --> var 7 eqn 249 --> var -1 eqn 250 --> var 2 eqn 251 --> var 1 eqn 252 --> var -1 eqn 253 --> var 133 eqn 254 --> var 134 eqn 255 --> var 203 eqn 256 --> var 204