Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.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/ObjectStab 2.0.0-master/package.mo", uses=false) Using package ObjectStab with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/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(ObjectStab.Examples.KundurHJW.SystemPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV") translateModel(ObjectStab.Examples.KundurHJW.SystemPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009567, allocations: 104.6 kB / 16.42 MB, free: 5.957 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.001074/0.001074, allocations: 185.5 kB / 17.36 MB, free: 5.574 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.193/1.193, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo): time 0.02741/0.02741, allocations: 6.93 MB / 298.1 MB, free: 8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.236e-05, allocations: 6.328 kB / 413.5 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.SystemPV): time 0.004837/0.004867, allocations: 6.082 MB / 419.6 MB, free: 16.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.007665, allocations: 1.212 MB / 420.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.008987, allocations: 16 kB / 420.8 MB, free: 15.47 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/Base/wRefContainer.mo:4:3-4:80:writable] Warning: Connector wr is not balanced: The number of potential variables (0) is not equal to the number of flow variables (2). Notification: Performance of NFTyping.typeComponents: time 0.0006787/0.009673, allocations: 179.9 kB / 421 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.01128, allocations: 464.6 kB / 421.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.01265, allocations: 0.936 MB / 422.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.01477, allocations: 2.232 MB / 424.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007591/0.01554, allocations: 0.8201 MB / 425.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007089/0.01626, allocations: 1.005 MB / 426.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007656/0.01703, allocations: 1.196 MB / 427.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.01722, allocations: 204 kB / 427.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.01742, allocations: 204 kB / 428 MB, free: 8.203 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00105/0.01848, allocations: 2.449 MB / 430.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004234/0.01891, allocations: 1.336 MB / 431.8 MB, free: 4.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.01909, allocations: 235.2 kB / 432 MB, free: 4.145 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001017/0.0192, allocations: 28 kB / 432.1 MB, free: 4.117 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: 340 (308) * Number of variables: 340 (338) Notification: Performance of Bindings: time 0.004955/0.02416, allocations: 7.335 MB / 439.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.001101/0.02527, allocations: 1.161 MB / 440.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of Early Inline: time 0.004252/0.02954, allocations: 4.907 MB / 445.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of simplify1: time 0.0004519/0.03, allocations: 0.4955 MB / 446 MB, free: 5.895 MB / 318.1 MB Notification: Performance of Alias: time 0.008234/0.03824, allocations: 7.779 MB / 453.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simplify2: time 0.0004011/0.03867, allocations: 387.5 kB / 454.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Events: time 0.0003805/0.03905, allocations: 456.2 kB / 454.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Detect States: time 0.0008078/0.03987, allocations: 0.8935 MB / 455.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Partitioning: time 0.001208/0.04109, allocations: 1.248 MB / 456.7 MB, free: 10.11 MB / 334.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency C7.T.ib could not be divided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) {{C7.T.ia}, {C7.T.ib}} = {{C7.G, -C7.B}, {C7.B, C7.G}} * {{1.0 + sensorP7.T2.va}, {sensorP7.T2.vb}} ($RES_SIM_85) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (173/175) **************************** (1) [ALGB] (1) Real PV_2.T.vb (2) [ALGB] (1) Real PV_2.T.va (3) [ALGB] (1) flow Real L89_2.T1.ia (4) [ALGB] (1) flow Real L89_2.T1.ib (5) [ALGB] (1) Real bus8.V = sqrt(L78_1.T2.vb * L78_1.T2.vb + (L78_1.T2.va + 1.0) * (L78_1.T2.va + 1.0)) (6) [ALGB] (1) Real PV_1.Pg = -(PV_1.T.vb * PV_1.T.ib + (PV_1.T.va + 1.0) * PV_1.T.ia) (7) [ALGB] (2) Real[2] sensorP9.PQ (8) [ALGB] (1) Real T311.Imp.T2.va (9) [ALGB] (1) Real T311.Imp.T2.vb (10) [ALGB] (1) flow Real T15.T1.ib (11) [ALGB] (1) flow Real T15.T1.ia (12) [DISC] (1) Boolean $TEV_3 (13) [ALGB] (1) Real bus11.V = sqrt(T311.Imp.T1.vb * T311.Imp.T1.vb + (T311.Imp.T1.va + 1.0) * (T311.Imp.T1.va + 1.0)) (14) [ALGB] (1) Real PV_2.Qg = -(PV_2.T.vb * PV_2.T.ia - (PV_2.T.va + 1.0) * PV_2.T.ib) (15) [DISC] (1) Boolean $TEV_2 (16) [ALGB] (1) Real L7.V = sqrt(sensorP7.T2.vb * sensorP7.T2.vb + (sensorP7.T2.va + 1.0) * (sensorP7.T2.va + 1.0)) (17) [ALGB] (1) Real bus4.thetadeg = (180.0 * (0.017453292519943295 * bus4.thetadeg)) / 3.141592653589793 (18) [DISC] (1) Boolean $TEV_1 (19) [ALGB] (1) flow Real L1011.T2.ia (20) [DISC] (1) Boolean $TEV_0 (21) [ALGB] (1) flow Real L1011.T2.ib (22) [ALGB] (1) protected flow Real PV_2.wrl.wr.Hsum (start = 1.0) (23) [ALGB] (1) flow Real PV_4.T.ib (24) [ALGB] (1) flow Real PV_4.T.ia (25) [ALGB] (1) Real PV_4.theta = atan2(PV_4.T.vb, PV_4.T.va + 1.0) (min = -3.141592653589793, max = 3.141592653589793) (26) [ALGB] (1) Real C7.Qg (27) [ALGB] (1) Real T15.Imp.T2.vb (28) [ALGB] (1) flow Real L56.T1.ib (29) [ALGB] (1) Real L9.Ql (30) [ALGB] (1) Real T15.Imp.T2.va (31) [ALGB] (1) flow Real L56.T1.ia (32) [ALGB] (1) Real bus11.thetadeg = (180.0 * (0.017453292519943295 * bus11.thetadeg)) / 3.141592653589793 (33) [ALGB] (1) inner Real wref (start = 1.0) (34) [ALGB] (1) flow Real L78_1.T2.ia (35) [ALGB] (1) flow Real L78_1.T2.ib (36) [ALGB] (1) Real bus1.thetadeg = (180.0 * (0.017453292519943295 * bus1.thetadeg)) / 3.141592653589793 (37) [ALGB] (1) flow Real T15.Tr.T1.ia (38) [ALGB] (1) flow Real T15.Tr.T1.ib (39) [ALGB] (1) Real PV_2.Pg = -(PV_2.T.vb * PV_2.T.ib + (PV_2.T.va + 1.0) * PV_2.T.ia) (40) [ALGB] (1) Real PV_3.T.vb (41) [ALGB] (1) Real PV_3.T.va (42) [ALGB] (1) Real T311.Imp.T1.va (43) [ALGB] (1) Real bus3.V = sqrt(PV_3.T.vb * PV_3.T.vb + (PV_3.T.va + 1.0) * (PV_3.T.va + 1.0)) (44) [ALGB] (1) Real sensorP9.T2.va (45) [DISC] (1) inner Boolean PV_4.online = time < PV_4.TripTime (46) [ALGB] (1) Real T311.Imp.T1.vb (47) [ALGB] (1) flow Real T15.T2.ib (48) [ALGB] (1) Real sensorP9.T2.vb (49) [ALGB] (1) protected flow Real wrcon.wr.Hwsum (start = 1.0) (50) [ALGB] (1) flow Real T15.T2.ia (51) [ALGB] (1) Real PV_2.V = sqrt(PV_2.T.vb * PV_2.T.vb + (PV_2.T.va + 1.0) * (PV_2.T.va + 1.0)) (52) [ALGB] (1) Real PV_3.Qg = -(PV_3.T.vb * PV_3.T.ia - (PV_3.T.va + 1.0) * PV_3.T.ib) (53) [ALGB] (1) Real C7.Pg (54) [ALGB] (1) Real bus9.thetadeg = (180.0 * (0.017453292519943295 * bus9.thetadeg)) / 3.141592653589793 (55) [ALGB] (1) flow Real L1011.T1.ia (56) [ALGB] (1) Real L9.Pl (57) [ALGB] (1) flow Real L1011.T1.ib (58) [ALGB] (1) Real bus7.V = sqrt(sensorP7.T2.vb * sensorP7.T2.vb + (sensorP7.T2.va + 1.0) * (sensorP7.T2.va + 1.0)) (59) [ALGB] (1) flow Real C7.T.ib (60) [ALGB] (1) flow Real L56.T2.ib (61) [ALGB] (1) flow Real C7.T.ia (62) [ALGB] (1) flow Real L56.T2.ia (63) [ALGB] (1) Real PV_3.theta = atan2(PV_3.T.vb, PV_3.T.va + 1.0) (min = -3.141592653589793, max = 3.141592653589793) (64) [ALGB] (1) Real bus10.V = sqrt(L1011.T1.vb * L1011.T1.vb + (L1011.T1.va + 1.0) * (L1011.T1.va + 1.0)) (65) [ALGB] (1) flow Real L78_1.T1.ia (66) [ALGB] (1) flow Real sensorP7.T1.ia (67) [ALGB] (1) flow Real L78_1.T1.ib (68) [ALGB] (1) flow Real sensorP7.T1.ib (69) [ALGB] (1) Real bus6.thetadeg = (180.0 * (0.017453292519943295 * bus6.thetadeg)) / 3.141592653589793 (70) [ALGB] (1) Real T410.Imp.T2.va (71) [ALGB] (1) Real T410.Imp.T2.vb (72) [ALGB] (1) flow Real L78_2.T2.ia (73) [ALGB] (1) flow Real L78_2.T2.ib (74) [ALGB] (1) protected flow Real PV_1.wrl.wr.Hsum (start = 1.0) (75) [ALGB] (1) Real L7.theta = atan2(sensorP7.T2.vb, sensorP7.T2.va + 1.0) (min = -3.141592653589793, max = 3.141592653589793) (76) [ALGB] (1) Real PV_3.Pg = -(PV_3.T.vb * PV_3.T.ib + (PV_3.T.va + 1.0) * PV_3.T.ia) (77) [ALGB] (2) Real[2] sensorP7.PQ (78) [DISC] (1) inner Boolean PV_2.online = time < PV_2.TripTime (79) [ALGB] (1) Real PV_4.Qg = -(PV_4.T.vb * PV_4.T.ia - (PV_4.T.va + 1.0) * PV_4.T.ib) (80) [ALGB] (1) Real PV_4.T.vb (81) [ALGB] (1) Real PV_4.T.va (82) [ALGB] (1) flow Real T311.T1.ib (83) [ALGB] (1) flow Real T311.T1.ia (84) [ALGB] (1) Real bus3.thetadeg = (180.0 * (0.017453292519943295 * bus3.thetadeg)) / 3.141592653589793 (85) [ALGB] (1) flow Real T26.T1.ib (86) [ALGB] (1) flow Real T26.T1.ia (87) [ALGB] (1) Real C9.Qg (88) [ALGB] (1) protected flow Real PV_4.wrl.wr.Hsum (start = 1.0) (89) [ALGB] (1) Real bus2.V = sqrt(PV_2.T.vb * PV_2.T.vb + (PV_2.T.va + 1.0) * (PV_2.T.va + 1.0)) (90) [ALGB] (1) flow Real PV_1.T.ib (91) [ALGB] (1) flow Real PV_1.T.ia (92) [ALGB] (1) Real PV_1.V = sqrt(PV_1.T.vb * PV_1.T.vb + (PV_1.T.va + 1.0) * (PV_1.T.va + 1.0)) (93) [ALGB] (1) flow Real L910.T1.ib (94) [ALGB] (1) flow Real L910.T1.ia (95) [ALGB] (1) Real PV_2.theta = atan2(PV_2.T.vb, PV_2.T.va + 1.0) (min = -3.141592653589793, max = 3.141592653589793) (96) [ALGB] (1) protected flow Real wrcon.wr.Hsum (start = 1.0) (97) [ALGB] (1) Real T26.Imp.T2.vb (98) [ALGB] (1) Real bus10.thetadeg = (180.0 * (0.017453292519943295 * bus10.thetadeg)) / 3.141592653589793 (99) [ALGB] (1) Real T26.Imp.T2.va (100) [ALGB] (1) Real bus6.V = sqrt(L56.T2.vb * L56.T2.vb + (L56.T2.va + 1.0) * (L56.T2.va + 1.0)) (101) [ALGB] (1) flow Real L67.T1.ib (102) [ALGB] (1) flow Real L67.T1.ia (103) [ALGB] (1) flow Real L78_2.T1.ia (104) [ALGB] (1) flow Real L78_2.T1.ib (105) [ALGB] (1) Real PV_4.Pg = -(PV_4.T.vb * PV_4.T.ib + (PV_4.T.va + 1.0) * PV_4.T.ia) (106) [ALGB] (1) flow Real T410.Tr.T1.ib (107) [ALGB] (1) flow Real T410.Tr.T1.ia (108) [ALGB] (1) Real C9.Pg (109) [ALGB] (1) flow Real T311.T2.ib (110) [ALGB] (1) flow Real T311.T2.ia (111) [ALGB] (1) Real L9.V = sqrt(sensorP9.T2.vb * sensorP9.T2.vb + (sensorP9.T2.va + 1.0) * (sensorP9.T2.va + 1.0)) (112) [ALGB] (1) flow Real T311.Tr.T1.ib (113) [ALGB] (1) flow Real T26.T2.ib (114) [ALGB] (1) flow Real T311.Tr.T1.ia (115) [ALGB] (1) flow Real T26.T2.ia (116) [ALGB] (1) Real bus8.thetadeg = (180.0 * (0.017453292519943295 * bus8.thetadeg)) / 3.141592653589793 (117) [ALGB] (1) Real L56.T2.vb (118) [ALGB] (1) Real L56.T2.va (119) [ALGB] (1) flow Real L910.T2.ib (120) [ALGB] (1) flow Real L89_1.T2.ia (121) [ALGB] (1) flow Real L910.T2.ia (122) [ALGB] (1) flow Real L89_1.T2.ib (123) [ALGB] (1) flow Real L67.T2.ib (124) [ALGB] (1) flow Real PV_2.T.ib (125) [ALGB] (1) flow Real L67.T2.ia (126) [ALGB] (1) flow Real PV_2.T.ia (127) [ALGB] (1) Real T15.Tr.T2.va (128) [ALGB] (1) Real PV_1.theta = atan2(PV_1.T.vb, PV_1.T.va + 1.0) (min = -3.141592653589793, max = 3.141592653589793) (129) [ALGB] (1) Real T15.Tr.T2.vb (130) [ALGB] (1) Real bus1.V = sqrt(PV_1.T.vb * PV_1.T.vb + (PV_1.T.va + 1.0) * (PV_1.T.va + 1.0)) (131) [ALGB] (1) flow Real C9.T.ib (132) [ALGB] (1) flow Real C9.T.ia (133) [ALGB] (1) Real bus5.thetadeg = (180.0 * (0.017453292519943295 * bus5.thetadeg)) / 3.141592653589793 (134) [ALGB] (1) flow Real sensorP9.T1.ia (135) [ALGB] (1) protected flow Real PV_1.wrl.wr.Hwsum (start = 1.0) (136) [ALGB] (1) protected flow Real PV_2.wrl.wr.Hwsum (start = 1.0) (137) [ALGB] (1) protected flow Real PV_3.wrl.wr.Hwsum (start = 1.0) (138) [ALGB] (1) protected flow Real PV_4.wrl.wr.Hwsum (start = 1.0) (139) [ALGB] (1) flow Real sensorP9.T1.ib (140) [ALGB] (1) Real bus5.V = sqrt(T15.Tr.T2.vb * T15.Tr.T2.vb + (T15.Tr.T2.va + 1.0) * (T15.Tr.T2.va + 1.0)) (141) [ALGB] (1) flow Real T26.Tr.T1.ia (142) [ALGB] (1) flow Real T26.Tr.T1.ib (143) [ALGB] (1) flow Real T410.T1.ib (144) [ALGB] (1) flow Real T410.T1.ia (145) [ALGB] (1) Real PV_4.V = sqrt(PV_4.T.vb * PV_4.T.vb + (PV_4.T.va + 1.0) * (PV_4.T.va + 1.0)) (146) [ALGB] (1) Real L7.Ql (147) [ALGB] (1) Real bus9.V = sqrt(sensorP9.T2.vb * sensorP9.T2.vb + (sensorP9.T2.va + 1.0) * (sensorP9.T2.va + 1.0)) (148) [ALGB] (1) Real PV_1.T.vb (149) [DISC] (1) inner Boolean PV_3.online = time < PV_3.TripTime (150) [ALGB] (1) Real PV_1.T.va (151) [ALGB] (1) Real bus2.thetadeg = (180.0 * (0.017453292519943295 * bus2.thetadeg)) / 3.141592653589793 (152) [ALGB] (1) protected flow Real PV_3.wrl.wr.Hsum (start = 1.0) (153) [ALGB] (1) flow Real L89_1.T1.ia (154) [ALGB] (1) Real L78_1.T2.va (155) [ALGB] (1) flow Real L89_1.T1.ib (156) [ALGB] (1) Real L78_1.T2.vb (157) [ALGB] (1) Real sensorP7.T2.va (158) [ALGB] (1) Real sensorP7.T2.vb (159) [ALGB] (1) flow Real L89_2.T2.ia (160) [ALGB] (1) flow Real L89_2.T2.ib (161) [ALGB] (1) flow Real PV_3.T.ib (162) [ALGB] (1) flow Real PV_3.T.ia (163) [ALGB] (1) Real PV_1.Qg = -(PV_1.T.vb * PV_1.T.ia - (PV_1.T.va + 1.0) * PV_1.T.ib) (164) [ALGB] (1) Real L1011.T1.va (165) [ALGB] (1) Real L7.Pl (166) [ALGB] (1) Real L1011.T1.vb (167) [ALGB] (1) flow Real T410.T2.ib (168) [ALGB] (1) flow Real T410.T2.ia (169) [DISC] (1) inner Boolean PV_1.online = time < PV_1.TripTime (170) [ALGB] (1) Real bus7.thetadeg = (180.0 * (0.017453292519943295 * bus7.thetadeg)) / 3.141592653589793 (171) [ALGB] (1) Real L9.theta = atan2(sensorP9.T2.vb, sensorP9.T2.va + 1.0) (min = -3.141592653589793, max = 3.141592653589793) (172) [ALGB] (1) Real bus4.V = sqrt(PV_4.T.vb * PV_4.T.vb + (PV_4.T.va + 1.0) * (PV_4.T.va + 1.0)) (173) [ALGB] (1) Real PV_3.V = sqrt(PV_3.T.vb * PV_3.T.vb + (PV_3.T.va + 1.0) * (PV_3.T.va + 1.0)) System Equations (143/175) **************************** (1) [SCAL] (1) (1.0 + T311.Imp.T2.va) * T311.n = 1.0 + PV_3.T.va ($RES_SIM_80) (2) [SCAL] (1) T15.Tr.T1.ia = -T15.T2.ia * T15.n ($RES_SIM_120) (3) [SCAL] (1) T15.Imp.T2.vb * T15.n = T15.Tr.T2.vb ($RES_SIM_121) (4) [SCAL] (1) (1.0 + T15.Imp.T2.va) * T15.n = 1.0 + T15.Tr.T2.va ($RES_SIM_122) (5) [SCAL] (1) C7.Qg = -(sensorP7.T2.vb * C7.T.ia - (1.0 + sensorP7.T2.va) * C7.T.ib) ($RES_SIM_83) (6) [SCAL] (1) C7.Pg = -((1.0 + sensorP7.T2.va) * C7.T.ia + sensorP7.T2.vb * C7.T.ib) ($RES_SIM_84) (7) [ARRY] (2) {{C7.T.ia}, {C7.T.ib}} = {{C7.G, -C7.B}, {C7.B, C7.G}} * {{1.0 + sensorP7.T2.va}, {sensorP7.T2.vb}} ($RES_SIM_85) (8) [SCAL] (1) T410.T1.ib + PV_4.T.ib = 0.0 ($RES_SIM_125) (9) [SCAL] (1) sensorP7.T1.ib = (L7.Pl * sensorP7.T2.vb - L7.Ql * (1.0 + sensorP7.T2.va)) / ((1.0 + sensorP7.T2.va) * (1.0 + sensorP7.T2.va) + sensorP7.T2.vb * sensorP7.T2.vb) ($RES_SIM_86) (10) [SCAL] (1) T410.T1.ia + PV_4.T.ia = 0.0 ($RES_SIM_126) (11) [SCAL] (1) sensorP7.T1.ia = (L7.Pl * (1.0 + sensorP7.T2.va) + L7.Ql * sensorP7.T2.vb) / ((1.0 + sensorP7.T2.va) * (1.0 + sensorP7.T2.va) + sensorP7.T2.vb * sensorP7.T2.vb) ($RES_SIM_87) (12) [SCAL] (1) T311.T2.ib + PV_3.T.ib = 0.0 ($RES_SIM_127) (13) [SCAL] (1) L7.Ql = L7.Q0 * (L7.qI * (L7.V / L7.V0) + L7.qZ * (L7.V / L7.V0) ^ 2.0 + L7.qP) ($RES_SIM_88) (14) [SCAL] (1) T311.T2.ia + PV_3.T.ia = 0.0 ($RES_SIM_128) (15) [SCAL] (1) L7.Pl = L7.P0 * (L7.pI * (L7.V / L7.V0) + L7.pZ * (L7.V / L7.V0) ^ 2.0 + L7.pP) ($RES_SIM_89) (16) [SCAL] (1) T26.T1.ib + PV_2.T.ib = 0.0 ($RES_SIM_129) (17) [SCAL] (1) PV_3.wrl.wr.Hsum = if PV_3.online then 1e60 else 0.0 ($RES_SIM_10) (18) [SCAL] (1) PV_3.wrl.wr.Hwsum = if PV_3.online then 1e60 else 0.0 ($RES_SIM_11) (19) [-IF-] (2)if PV_3.online then (19) [----] [SCAL] (1) PV_3.T.vb = PV_3.V0 * sin(PV_3.theta0) ($RES_SIM_13) (19) [----] [SCAL] (1) 1.0 + PV_3.T.va = PV_3.V0 * cos(PV_3.theta0) ($RES_SIM_14) (19) [----] else (19) [----] [SCAL] (1) PV_3.T.ib = 0.0 ($RES_SIM_15) (19) [----] [SCAL] (1) PV_3.T.ia = 0.0 ($RES_SIM_16) (19) [----] end if; (20) [SCAL] (1) T26.T1.ia + PV_2.T.ia = 0.0 ($RES_SIM_130) (21) [ARRY] (2) sensorP7.PQ = {(1.0 + sensorP7.T2.va) * sensorP7.T1.ia + sensorP7.T2.vb * sensorP7.T1.ib, sensorP7.T2.vb * sensorP7.T1.ia - (1.0 + sensorP7.T2.va) * sensorP7.T1.ib} ($RES_SIM_90) (22) [SCAL] (1) PV_2.wrl.wr.Hsum = if PV_2.online then 1e60 else 0.0 ($RES_SIM_17) (23) [SCAL] (1) PV_1.wrl.wr.Hsum + PV_2.wrl.wr.Hsum + PV_3.wrl.wr.Hsum + PV_4.wrl.wr.Hsum + wrcon.wr.Hsum = 0.0 ($RES_SIM_131) (24) [SCAL] (1) PV_2.wrl.wr.Hwsum = if PV_2.online then 1e60 else 0.0 ($RES_SIM_18) (25) [-IF-] (2)if PV_2.online then (25) [----] [SCAL] (1) PV_2.Pg = PV_2.Pg0 ($RES_SIM_20) (25) [----] [SCAL] (1) PV_2.V = PV_2.V0 ($RES_SIM_21) (25) [----] else (25) [----] [SCAL] (1) PV_2.T.ib = 0.0 ($RES_SIM_22) (25) [----] [SCAL] (1) PV_2.T.ia = 0.0 ($RES_SIM_23) (25) [----] end if; (26) [SCAL] (1) PV_1.wrl.wr.Hwsum + PV_2.wrl.wr.Hwsum + PV_3.wrl.wr.Hwsum + PV_4.wrl.wr.Hwsum + wrcon.wr.Hwsum = 0.0 ($RES_SIM_132) (27) [SCAL] (1) T15.T1.ib + PV_1.T.ib = 0.0 ($RES_SIM_133) (28) [SCAL] (1) T15.T1.ia + PV_1.T.ia = 0.0 ($RES_SIM_134) (29) [SCAL] (1) L78_2.T2.ib + L89_2.T1.ib + L89_1.T1.ib + L78_1.T2.ib = 0.0 ($RES_SIM_135) (30) [SCAL] (1) L78_2.T2.ia + L89_2.T1.ia + L89_1.T1.ia + L78_1.T2.ia = 0.0 ($RES_SIM_136) (31) [SCAL] (1) PV_4.theta = atan2(PV_4.T.vb, 1.0 + PV_4.T.va) ($RES_$AUX_359) (32) [ARRY] (2) {{L67.T2.ia}, {L67.T2.ib}} = {{L67.G, -L67.B}, {L67.B, L67.G}} / 2.0 * {{1.0 + sensorP7.T2.va}, {sensorP7.T2.vb}} - {{L67.R, L67.X}, {-L67.X, L67.R}} / (L67.R ^ 2.0 + L67.X ^ 2.0) * {{L56.T2.va - sensorP7.T2.va}, {L56.T2.vb - sensorP7.T2.vb}} ($RES_SIM_97) (33) [SCAL] (1) PV_4.V = sqrt(PV_4.T.vb * PV_4.T.vb + (1.0 + PV_4.T.va) * (1.0 + PV_4.T.va)) ($RES_$AUX_358) (34) [ARRY] (2) {{L67.T1.ia}, {L67.T1.ib}} = {{L67.G, -L67.B}, {L67.B, L67.G}} / 2.0 * {{1.0 + L56.T2.va}, {L56.T2.vb}} + {{L67.R, L67.X}, {-L67.X, L67.R}} / (L67.R ^ 2.0 + L67.X ^ 2.0) * {{L56.T2.va - sensorP7.T2.va}, {L56.T2.vb - sensorP7.T2.vb}} ($RES_SIM_98) (35) [SCAL] (1) PV_3.theta = atan2(PV_3.T.vb, 1.0 + PV_3.T.va) ($RES_$AUX_357) (36) [SCAL] (1) sensorP9.T1.ib + C9.T.ib + L89_2.T2.ib + L89_1.T2.ib + L910.T1.ib = 0.0 ($RES_SIM_139) (37) [SCAL] (1) PV_3.V = sqrt(PV_3.T.vb * PV_3.T.vb + (1.0 + PV_3.T.va) * (1.0 + PV_3.T.va)) ($RES_$AUX_356) (38) [SCAL] (1) PV_2.theta = atan2(PV_2.T.vb, 1.0 + PV_2.T.va) ($RES_$AUX_355) (39) [SCAL] (1) PV_2.V = sqrt(PV_2.T.vb * PV_2.T.vb + (1.0 + PV_2.T.va) * (1.0 + PV_2.T.va)) ($RES_$AUX_354) (40) [SCAL] (1) PV_1.theta = atan2(PV_1.T.vb, 1.0 + PV_1.T.va) ($RES_$AUX_353) (41) [SCAL] (1) PV_1.V = sqrt(PV_1.T.vb * PV_1.T.vb + (1.0 + PV_1.T.va) * (1.0 + PV_1.T.va)) ($RES_$AUX_352) (42) [SCAL] (1) 0.017453292519943295 * bus8.thetadeg = atan2(L78_1.T2.vb, 1.0 + L78_1.T2.va) ($RES_$AUX_351) (43) [SCAL] (1) bus8.V = sqrt(L78_1.T2.vb * L78_1.T2.vb + (1.0 + L78_1.T2.va) * (1.0 + L78_1.T2.va)) ($RES_$AUX_350) (44) [SCAL] (1) $TEV_0 = time < PV_4.TripTime ($RES_EVT_382) (45) [SCAL] (1) $TEV_1 = time < PV_3.TripTime ($RES_EVT_383) (46) [SCAL] (1) $TEV_2 = time < PV_2.TripTime ($RES_EVT_384) (47) [SCAL] (1) $TEV_3 = time < PV_1.TripTime ($RES_EVT_385) (48) [SCAL] (1) PV_1.wrl.wr.Hsum = if PV_1.online then 1e60 else 0.0 ($RES_SIM_24) (49) [SCAL] (1) PV_1.wrl.wr.Hwsum = if PV_1.online then 1e60 else 0.0 ($RES_SIM_25) (50) [-IF-] (2)if PV_1.online then (50) [----] [SCAL] (1) PV_1.Pg = PV_1.Pg0 ($RES_SIM_27) (50) [----] [SCAL] (1) PV_1.V = PV_1.V0 ($RES_SIM_28) (50) [----] else (50) [----] [SCAL] (1) PV_1.T.ib = 0.0 ($RES_SIM_29) (50) [----] [SCAL] (1) PV_1.T.ia = 0.0 ($RES_SIM_30) (50) [----] end if; (51) [SCAL] (1) sensorP9.T1.ia + C9.T.ia + L89_2.T2.ia + L89_1.T2.ia + L910.T1.ia = 0.0 ($RES_SIM_140) (52) [SCAL] (1) L1011.T1.ib + L910.T2.ib + T410.T2.ib = 0.0 ($RES_SIM_141) (53) [SCAL] (1) L1011.T1.ia + L910.T2.ia + T410.T2.ia = 0.0 ($RES_SIM_142) (54) [SCAL] (1) L9.theta = atan2(sensorP9.T2.vb, 1.0 + sensorP9.T2.va) ($RES_$AUX_349) (55) [SCAL] (1) L9.V = sqrt(sensorP9.T2.vb * sensorP9.T2.vb + (1.0 + sensorP9.T2.va) * (1.0 + sensorP9.T2.va)) ($RES_$AUX_348) (56) [SCAL] (1) 0.017453292519943295 * bus9.thetadeg = atan2(sensorP9.T2.vb, 1.0 + sensorP9.T2.va) ($RES_$AUX_347) (57) [SCAL] (1) bus9.V = sqrt(sensorP9.T2.vb * sensorP9.T2.vb + (1.0 + sensorP9.T2.va) * (1.0 + sensorP9.T2.va)) ($RES_$AUX_346) (58) [SCAL] (1) 0.017453292519943295 * bus10.thetadeg = atan2(L1011.T1.vb, 1.0 + L1011.T1.va) ($RES_$AUX_345) (59) [SCAL] (1) bus10.V = sqrt(L1011.T1.vb * L1011.T1.vb + (1.0 + L1011.T1.va) * (1.0 + L1011.T1.va)) ($RES_$AUX_344) (60) [SCAL] (1) 0.017453292519943295 * bus11.thetadeg = atan2(T311.Imp.T1.vb, 1.0 + T311.Imp.T1.va) ($RES_$AUX_343) (61) [SCAL] (1) bus11.V = sqrt(T311.Imp.T1.vb * T311.Imp.T1.vb + (1.0 + T311.Imp.T1.va) * (1.0 + T311.Imp.T1.va)) ($RES_$AUX_342) (62) [SCAL] (1) 0.017453292519943295 * bus4.thetadeg = atan2(PV_4.T.vb, 1.0 + PV_4.T.va) ($RES_$AUX_341) (63) [SCAL] (1) bus4.V = sqrt(PV_4.T.vb * PV_4.T.vb + (1.0 + PV_4.T.va) * (1.0 + PV_4.T.va)) ($RES_$AUX_340) (64) [ARRY] (2) {{L78_1.T2.ia}, {L78_1.T2.ib}} = {{L78_1.G, -L78_1.B}, {L78_1.B, L78_1.G}} / 2.0 * {{1.0 + L78_1.T2.va}, {L78_1.T2.vb}} - {{L78_1.R, L78_1.X}, {-L78_1.X, L78_1.R}} / (L78_1.R ^ 2.0 + L78_1.X ^ 2.0) * {{sensorP7.T2.va - L78_1.T2.va}, {sensorP7.T2.vb - L78_1.T2.vb}} ($RES_SIM_31) (65) [ARRY] (2) {{L78_1.T1.ia}, {L78_1.T1.ib}} = {{L78_1.G, -L78_1.B}, {L78_1.B, L78_1.G}} / 2.0 * {{1.0 + sensorP7.T2.va}, {sensorP7.T2.vb}} + {{L78_1.R, L78_1.X}, {-L78_1.X, L78_1.R}} / (L78_1.R ^ 2.0 + L78_1.X ^ 2.0) * {{sensorP7.T2.va - L78_1.T2.va}, {sensorP7.T2.vb - L78_1.T2.vb}} ($RES_SIM_32) (66) [ARRY] (2) {{L89_1.T2.ia}, {L89_1.T2.ib}} = {{L89_1.G, -L89_1.B}, {L89_1.B, L89_1.G}} / 2.0 * {{1.0 + sensorP9.T2.va}, {sensorP9.T2.vb}} - {{L89_1.R, L89_1.X}, {-L89_1.X, L89_1.R}} / (L89_1.R ^ 2.0 + L89_1.X ^ 2.0) * {{L78_1.T2.va - sensorP9.T2.va}, {L78_1.T2.vb - sensorP9.T2.vb}} ($RES_SIM_33) (67) [ARRY] (2) {{L89_1.T1.ia}, {L89_1.T1.ib}} = {{L89_1.G, -L89_1.B}, {L89_1.B, L89_1.G}} / 2.0 * {{1.0 + L78_1.T2.va}, {L78_1.T2.vb}} + {{L89_1.R, L89_1.X}, {-L89_1.X, L89_1.R}} / (L89_1.R ^ 2.0 + L89_1.X ^ 2.0) * {{L78_1.T2.va - sensorP9.T2.va}, {L78_1.T2.vb - sensorP9.T2.vb}} ($RES_SIM_34) (68) [ARRY] (2) {{L89_2.T2.ia}, {L89_2.T2.ib}} = {{L89_2.G, -L89_2.B}, {L89_2.B, L89_2.G}} / 2.0 * {{1.0 + sensorP9.T2.va}, {sensorP9.T2.vb}} - {{L89_2.R, L89_2.X}, {-L89_2.X, L89_2.R}} / (L89_2.R ^ 2.0 + L89_2.X ^ 2.0) * {{L78_1.T2.va - sensorP9.T2.va}, {L78_1.T2.vb - sensorP9.T2.vb}} ($RES_SIM_35) (69) [ARRY] (2) {{L89_2.T1.ia}, {L89_2.T1.ib}} = {{L89_2.G, -L89_2.B}, {L89_2.B, L89_2.G}} / 2.0 * {{1.0 + L78_1.T2.va}, {L78_1.T2.vb}} + {{L89_2.R, L89_2.X}, {-L89_2.X, L89_2.R}} / (L89_2.R ^ 2.0 + L89_2.X ^ 2.0) * {{L78_1.T2.va - sensorP9.T2.va}, {L78_1.T2.vb - sensorP9.T2.vb}} ($RES_SIM_36) (70) [ARRY] (2) {{L78_2.T2.ia}, {L78_2.T2.ib}} = {{L78_2.G, -L78_2.B}, {L78_2.B, L78_2.G}} / 2.0 * {{1.0 + L78_1.T2.va}, {L78_1.T2.vb}} - {{L78_2.R, L78_2.X}, {-L78_2.X, L78_2.R}} / (L78_2.R ^ 2.0 + L78_2.X ^ 2.0) * {{sensorP7.T2.va - L78_1.T2.va}, {sensorP7.T2.vb - L78_1.T2.vb}} ($RES_SIM_37) (71) [ARRY] (2) {{L78_2.T1.ia}, {L78_2.T1.ib}} = {{L78_2.G, -L78_2.B}, {L78_2.B, L78_2.G}} / 2.0 * {{1.0 + sensorP7.T2.va}, {sensorP7.T2.vb}} + {{L78_2.R, L78_2.X}, {-L78_2.X, L78_2.R}} / (L78_2.R ^ 2.0 + L78_2.X ^ 2.0) * {{sensorP7.T2.va - L78_1.T2.va}, {sensorP7.T2.vb - L78_1.T2.vb}} ($RES_SIM_38) (72) [SCAL] (1) L1011.T2.ib + T311.T1.ib = 0.0 ($RES_SIM_155) (73) [SCAL] (1) L1011.T2.ia + T311.T1.ia = 0.0 ($RES_SIM_156) (74) [SCAL] (1) 0.017453292519943295 * bus3.thetadeg = atan2(PV_3.T.vb, 1.0 + PV_3.T.va) ($RES_$AUX_339) (75) [SCAL] (1) bus3.V = sqrt(PV_3.T.vb * PV_3.T.vb + (1.0 + PV_3.T.va) * (1.0 + PV_3.T.va)) ($RES_$AUX_338) (76) [SCAL] (1) sensorP7.T1.ib + C7.T.ib + L78_2.T1.ib + L78_1.T1.ib + L67.T2.ib = 0.0 ($RES_SIM_159) (77) [SCAL] (1) L7.theta = atan2(sensorP7.T2.vb, 1.0 + sensorP7.T2.va) ($RES_$AUX_337) (78) [SCAL] (1) L7.V = sqrt(sensorP7.T2.vb * sensorP7.T2.vb + (1.0 + sensorP7.T2.va) * (1.0 + sensorP7.T2.va)) ($RES_$AUX_336) (79) [SCAL] (1) 0.017453292519943295 * bus7.thetadeg = atan2(sensorP7.T2.vb, 1.0 + sensorP7.T2.va) ($RES_$AUX_335) (80) [SCAL] (1) bus7.V = sqrt(sensorP7.T2.vb * sensorP7.T2.vb + (1.0 + sensorP7.T2.va) * (1.0 + sensorP7.T2.va)) ($RES_$AUX_334) (81) [SCAL] (1) 0.017453292519943295 * bus6.thetadeg = atan2(L56.T2.vb, 1.0 + L56.T2.va) ($RES_$AUX_333) (82) [SCAL] (1) bus6.V = sqrt(L56.T2.vb * L56.T2.vb + (1.0 + L56.T2.va) * (1.0 + L56.T2.va)) ($RES_$AUX_332) (83) [SCAL] (1) 0.017453292519943295 * bus5.thetadeg = atan2(T15.Tr.T2.vb, 1.0 + T15.Tr.T2.va) ($RES_$AUX_331) (84) [SCAL] (1) bus5.V = sqrt(T15.Tr.T2.vb * T15.Tr.T2.vb + (1.0 + T15.Tr.T2.va) * (1.0 + T15.Tr.T2.va)) ($RES_$AUX_330) (85) [SCAL] (1) C9.Qg = -(sensorP9.T2.vb * C9.T.ia - (1.0 + sensorP9.T2.va) * C9.T.ib) ($RES_SIM_41) (86) [SCAL] (1) C9.Pg = -((1.0 + sensorP9.T2.va) * C9.T.ia + sensorP9.T2.vb * C9.T.ib) ($RES_SIM_42) (87) [ARRY] (2) {{C9.T.ia}, {C9.T.ib}} = {{C9.G, -C9.B}, {C9.B, C9.G}} * {{1.0 + sensorP9.T2.va}, {sensorP9.T2.vb}} ($RES_SIM_43) (88) [SCAL] (1) sensorP9.T1.ib = (L9.Pl * sensorP9.T2.vb - L9.Ql * (1.0 + sensorP9.T2.va)) / ((1.0 + sensorP9.T2.va) * (1.0 + sensorP9.T2.va) + sensorP9.T2.vb * sensorP9.T2.vb) ($RES_SIM_44) (89) [SCAL] (1) sensorP9.T1.ia = (L9.Pl * (1.0 + sensorP9.T2.va) + L9.Ql * sensorP9.T2.vb) / ((1.0 + sensorP9.T2.va) * (1.0 + sensorP9.T2.va) + sensorP9.T2.vb * sensorP9.T2.vb) ($RES_SIM_45) (90) [SCAL] (1) L9.Ql = L9.Q0 * (L9.qI * (L9.V / L9.V0) + L9.qZ * (L9.V / L9.V0) ^ 2.0 + L9.qP) ($RES_SIM_46) (91) [SCAL] (1) L9.Pl = L9.P0 * (L9.pI * (L9.V / L9.V0) + L9.pZ * (L9.V / L9.V0) ^ 2.0 + L9.pP) ($RES_SIM_47) (92) [SCAL] (1) sensorP7.T1.ia + C7.T.ia + L78_2.T1.ia + L78_1.T1.ia + L67.T2.ia = 0.0 ($RES_SIM_160) (93) [ARRY] (2) sensorP9.PQ = {(1.0 + sensorP9.T2.va) * sensorP9.T1.ia + sensorP9.T2.vb * sensorP9.T1.ib, sensorP9.T2.vb * sensorP9.T1.ia - (1.0 + sensorP9.T2.va) * sensorP9.T1.ib} ($RES_SIM_48) (94) [SCAL] (1) L56.T2.ib + L67.T1.ib + T26.T2.ib = 0.0 ($RES_SIM_161) (95) [SCAL] (1) L56.T2.ia + L67.T1.ia + T26.T2.ia = 0.0 ($RES_SIM_162) (96) [SCAL] (1) 0.017453292519943295 * bus2.thetadeg = atan2(PV_2.T.vb, 1.0 + PV_2.T.va) ($RES_$AUX_329) (97) [SCAL] (1) bus2.V = sqrt(PV_2.T.vb * PV_2.T.vb + (1.0 + PV_2.T.va) * (1.0 + PV_2.T.va)) ($RES_$AUX_328) (98) [SCAL] (1) 0.017453292519943295 * bus1.thetadeg = atan2(PV_1.T.vb, 1.0 + PV_1.T.va) ($RES_$AUX_327) (99) [SCAL] (1) bus1.V = sqrt(PV_1.T.vb * PV_1.T.vb + (1.0 + PV_1.T.va) * (1.0 + PV_1.T.va)) ($RES_$AUX_326) (100) [SCAL] (1) PV_1.Pg = -(PV_1.T.vb * PV_1.T.ib + (1.0 + PV_1.T.va) * PV_1.T.ia) ($RES_BND_308) (101) [SCAL] (1) PV_1.Qg = -(PV_1.T.vb * PV_1.T.ia - (1.0 + PV_1.T.va) * PV_1.T.ib) ($RES_BND_309) (102) [ARRY] (2) {{L910.T2.ia}, {L910.T2.ib}} = {{L910.G, -L910.B}, {L910.B, L910.G}} / 2.0 * {{1.0 + L1011.T1.va}, {L1011.T1.vb}} - {{L910.R, L910.X}, {-L910.X, L910.R}} / (L910.R ^ 2.0 + L910.X ^ 2.0) * {{sensorP9.T2.va - L1011.T1.va}, {sensorP9.T2.vb - L1011.T1.vb}} ($RES_SIM_55) (103) [ARRY] (2) {{L910.T1.ia}, {L910.T1.ib}} = {{L910.G, -L910.B}, {L910.B, L910.G}} / 2.0 * {{1.0 + sensorP9.T2.va}, {sensorP9.T2.vb}} + {{L910.R, L910.X}, {-L910.X, L910.R}} / (L910.R ^ 2.0 + L910.X ^ 2.0) * {{sensorP9.T2.va - L1011.T1.va}, {sensorP9.T2.vb - L1011.T1.vb}} ($RES_SIM_56) (104) [-IF-] (2)if PV_4.online then (104) [----] [SCAL] (1) PV_4.Pg = PV_4.Pg0 ($RES_SIM_6) (104) [----] [SCAL] (1) PV_4.V = PV_4.V0 ($RES_SIM_7) (104) [----] else (104) [----] [SCAL] (1) PV_4.T.ib = 0.0 ($RES_SIM_8) (104) [----] [SCAL] (1) PV_4.T.ia = 0.0 ($RES_SIM_9) (104) [----] end if; (105) [SCAL] (1) PV_4.wrl.wr.Hwsum = if PV_4.online then 1e60 else 0.0 ($RES_SIM_4) (106) [ARRY] (2) {{L1011.T2.ia}, {L1011.T2.ib}} = {{L1011.G, -L1011.B}, {L1011.B, L1011.G}} / 2.0 * {{1.0 + T311.Imp.T1.va}, {T311.Imp.T1.vb}} - {{L1011.R, L1011.X}, {-L1011.X, L1011.R}} / (L1011.R ^ 2.0 + L1011.X ^ 2.0) * {{L1011.T1.va - T311.Imp.T1.va}, {L1011.T1.vb - T311.Imp.T1.vb}} ($RES_SIM_59) (107) [SCAL] (1) PV_4.wrl.wr.Hsum = if PV_4.online then 1e60 else 0.0 ($RES_SIM_3) (108) [SCAL] (1) wref = wrcon.wr.Hwsum / wrcon.wr.Hsum ($RES_SIM_2) (109) [SCAL] (1) L56.T1.ib + T15.T2.ib = 0.0 ($RES_SIM_175) (110) [SCAL] (1) L56.T1.ia + T15.T2.ia = 0.0 ($RES_SIM_176) (111) [SCAL] (1) PV_1.online = $TEV_3 ($RES_BND_310) (112) [SCAL] (1) PV_2.Pg = -(PV_2.T.vb * PV_2.T.ib + (1.0 + PV_2.T.va) * PV_2.T.ia) ($RES_BND_313) (113) [SCAL] (1) PV_2.Qg = -(PV_2.T.vb * PV_2.T.ia - (1.0 + PV_2.T.va) * PV_2.T.ib) ($RES_BND_314) (114) [SCAL] (1) PV_2.online = $TEV_2 ($RES_BND_315) (115) [SCAL] (1) PV_3.Pg = -(PV_3.T.vb * PV_3.T.ib + (1.0 + PV_3.T.va) * PV_3.T.ia) ($RES_BND_318) (116) [SCAL] (1) PV_3.Qg = -(PV_3.T.vb * PV_3.T.ia - (1.0 + PV_3.T.va) * PV_3.T.ib) ($RES_BND_319) (117) [ARRY] (2) {{L1011.T1.ia}, {L1011.T1.ib}} = {{L1011.G, -L1011.B}, {L1011.B, L1011.G}} / 2.0 * {{1.0 + L1011.T1.va}, {L1011.T1.vb}} + {{L1011.R, L1011.X}, {-L1011.X, L1011.R}} / (L1011.R ^ 2.0 + L1011.X ^ 2.0) * {{L1011.T1.va - T311.Imp.T1.va}, {L1011.T1.vb - T311.Imp.T1.vb}} ($RES_SIM_60) (118) [ARRY] (2) {{L56.T2.ia}, {L56.T2.ib}} = {{L56.G, -L56.B}, {L56.B, L56.G}} / 2.0 * {{1.0 + L56.T2.va}, {L56.T2.vb}} - {{L56.R, L56.X}, {-L56.X, L56.R}} / (L56.R ^ 2.0 + L56.X ^ 2.0) * {{T15.Tr.T2.va - L56.T2.va}, {T15.Tr.T2.vb - L56.T2.vb}} ($RES_SIM_101) (119) [ARRY] (2) {{L56.T1.ia}, {L56.T1.ib}} = {{L56.G, -L56.B}, {L56.B, L56.G}} / 2.0 * {{1.0 + T15.Tr.T2.va}, {T15.Tr.T2.vb}} + {{L56.R, L56.X}, {-L56.X, L56.R}} / (L56.R ^ 2.0 + L56.X ^ 2.0) * {{T15.Tr.T2.va - L56.T2.va}, {T15.Tr.T2.vb - L56.T2.vb}} ($RES_SIM_102) (120) [ARRY] (2) {{T410.T1.ia - T410.Tr.T1.ia}, {T410.T1.ib - T410.Tr.T1.ib}} = {{0.0}, {0.0}} ($RES_SIM_64) (121) [ARRY] (2) {{PV_4.T.va - T410.Imp.T2.va}, {PV_4.T.vb - T410.Imp.T2.vb}} = {{T410.Imp.R, -T410.Imp.X}, {T410.Imp.X, T410.Imp.R}} * {{T410.T1.ia}, {T410.T1.ib}} ($RES_SIM_65) (122) [ARRY] (2) {{T26.T1.ia - T26.Tr.T1.ia}, {T26.T1.ib - T26.Tr.T1.ib}} = {{0.0}, {0.0}} ($RES_SIM_106) (123) [SCAL] (1) T410.Tr.T1.ib = -T410.T2.ib * T410.n ($RES_SIM_67) (124) [ARRY] (2) {{PV_2.T.va - T26.Imp.T2.va}, {PV_2.T.vb - T26.Imp.T2.vb}} = {{T26.Imp.R, -T26.Imp.X}, {T26.Imp.X, T26.Imp.R}} * {{T26.T1.ia}, {T26.T1.ib}} ($RES_SIM_107) (125) [SCAL] (1) T410.Tr.T1.ia = -T410.T2.ia * T410.n ($RES_SIM_68) (126) [SCAL] (1) T410.Imp.T2.vb * T410.n = L1011.T1.vb ($RES_SIM_69) (127) [SCAL] (1) T26.Tr.T1.ib = -T26.T2.ib * T26.n ($RES_SIM_109) (128) [SCAL] (1) PV_3.online = $TEV_1 ($RES_BND_320) (129) [SCAL] (1) PV_4.Pg = -(PV_4.T.vb * PV_4.T.ib + (1.0 + PV_4.T.va) * PV_4.T.ia) ($RES_BND_323) (130) [SCAL] (1) PV_4.Qg = -(PV_4.T.vb * PV_4.T.ia - (1.0 + PV_4.T.va) * PV_4.T.ib) ($RES_BND_324) (131) [SCAL] (1) PV_4.online = $TEV_0 ($RES_BND_325) (132) [SCAL] (1) (1.0 + T410.Imp.T2.va) * T410.n = 1.0 + L1011.T1.va ($RES_SIM_70) (133) [SCAL] (1) T26.Tr.T1.ia = -T26.T2.ia * T26.n ($RES_SIM_110) (134) [SCAL] (1) T26.Imp.T2.vb * T26.n = L56.T2.vb ($RES_SIM_111) (135) [SCAL] (1) (1.0 + T26.Imp.T2.va) * T26.n = 1.0 + L56.T2.va ($RES_SIM_112) (136) [ARRY] (2) {{T311.T1.ia - T311.Tr.T1.ia}, {T311.T1.ib - T311.Tr.T1.ib}} = {{0.0}, {0.0}} ($RES_SIM_74) (137) [ARRY] (2) {{T311.Imp.T1.va - T311.Imp.T2.va}, {T311.Imp.T1.vb - T311.Imp.T2.vb}} = {{T311.Imp.R, -T311.Imp.X}, {T311.Imp.X, T311.Imp.R}} * {{T311.T1.ia}, {T311.T1.ib}} ($RES_SIM_75) (138) [ARRY] (2) {{T15.T1.ia - T15.Tr.T1.ia}, {T15.T1.ib - T15.Tr.T1.ib}} = {{0.0}, {0.0}} ($RES_SIM_116) (139) [SCAL] (1) T311.Tr.T1.ib = -T311.T2.ib * T311.n ($RES_SIM_77) (140) [ARRY] (2) {{PV_1.T.va - T15.Imp.T2.va}, {PV_1.T.vb - T15.Imp.T2.vb}} = {{T15.Imp.R, -T15.Imp.X}, {T15.Imp.X, T15.Imp.R}} * {{T15.T1.ia}, {T15.T1.ib}} ($RES_SIM_117) (141) [SCAL] (1) T311.Tr.T1.ia = -T311.T2.ia * T311.n ($RES_SIM_78) (142) [SCAL] (1) T311.Imp.T2.vb * T311.n = PV_3.T.vb ($RES_SIM_79) (143) [SCAL] (1) T15.Tr.T1.ib = -T15.T2.ib * T15.n ($RES_SIM_119)