Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 80.88 kB / 21.56 MB, free: 2.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 160.6 kB / 24.97 MB, free: 9.164 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 177.1 MB / 205.4 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.123/3.123, allocations: 389.5 MB / 0.6361 GB, free: 12.33 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.394e-05, allocations: 2.312 kB / 0.776 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02775/0.02778, allocations: 18.4 MB / 0.7939 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02147/0.04925, allocations: 9.649 MB / 0.8033 GB, free: 9.316 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/0.05252, allocations: 198.4 kB / 0.8035 GB, free: 9.121 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.05594, allocations: 0.79 MB / 0.8043 GB, free: 8.328 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.008296/0.06424, allocations: 2.578 MB / 0.8068 GB, free: 5.754 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005087/0.06933, allocations: 1.61 MB / 0.8084 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01413/0.08345, allocations: 8.127 MB / 0.8163 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009215/0.09267, allocations: 3.705 MB / 0.82 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01523/0.1079, allocations: 4.924 MB / 0.8248 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006705/0.1146, allocations: 2.167 MB / 0.8269 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001829/0.1164, allocations: 404 kB / 0.8273 GB, free: 0.7227 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.1198, allocations: 0.5076 MB / 0.8278 GB, free: 220 kB / 0.7761 GB Notification: Performance of combineBinaries: time 0.0141/0.1339, allocations: 6.27 MB / 0.8339 GB, free: 9.91 MB / 0.7917 GB Notification: Performance of replaceArrayConstructors: time 0.006658/0.1406, allocations: 3.621 MB / 0.8374 GB, free: 6.27 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001652/0.1422, allocations: 320 kB / 0.8377 GB, free: 5.957 MB / 0.7917 GB Notification: Performance of FrontEnd: time 0.000655/0.1429, allocations: 87.78 kB / 0.8378 GB, free: 5.871 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 (726) * Number of variables: 1133 (544) Notification: Performance of [SIM] Bindings: time 0.04558/0.1885, allocations: 18.57 MB / 0.8559 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of [SIM] FunctionAlias: time 0.006982/0.1954, allocations: 3.159 MB / 0.859 GB, free: 15.62 MB / 0.823 GB Notification: Performance of [SIM] Early Inline: time 0.03509/0.2305, allocations: 18.17 MB / 0.8768 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of [SIM] Simplify 1: time 0.004142/0.2347, allocations: 1.445 MB / 0.8782 GB, free: 11.82 MB / 0.8386 GB Warning: NBAlias.selectStartByConfidence: Alias set with conflicting unfixed start values of equal confidence detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.03359/0.2683, allocations: 17.9 MB / 0.8957 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of [SIM] Simplify 2: time 0.002402/0.2707, allocations: 1.145 MB / 0.8968 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of [SIM] Remove Stream: time 0.001499/0.2722, allocations: 0.9321 MB / 0.8977 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of [SIM] Detect States: time 0.004536/0.2767, allocations: 3.102 MB / 0.9007 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of [SIM] Events: time 0.001331/0.278, allocations: 1.054 MB / 0.9017 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of [SIM] Partitioning: time 0.006654/0.2847, allocations: 4.161 MB / 0.9058 GB, free: 12.93 MB / 0.8698 GB Error: Internal error NBResolveSingularities.indexReduction failed because there was not enough state candidates to balance out the constraint equations. Constraint Equations (255/355) ******************************** (1) [SCAL] (1) R2.load2.v[2] = {R2.load2.X, R2.load2.R} * R2.load2.i; ($RES_SIM_915) (2) [SCAL] (1) R2.load3.v[1] = {R2.load3.R, -R2.load3.X} * R2.load3.i; ($RES_SIM_916) (3) [SCAL] (1) R2.load3.v[2] = {R2.load3.X, R2.load3.R} * R2.load3.i; ($RES_SIM_917) (4) [ARRY] (4) $FUN_42 = diagonal(fill(1.0, 2) .* line_2a.phase3.R_actual); ($RES_AUX_862) (5) [SCAL] (1) line_1.phase3.i_p[2] - line_1.terminal_p.phase[3].i[2] = 0.0; ($RES_SIM_572) (6) [SCAL] (1) line_2b.phase2.i_p[1] - line_2b.terminal_p.phase[2].i[1] = 0.0; ($RES_SIM_510) (7) [SCAL] (1) line_1.phase3.i_p[1] - line_1.terminal_p.phase[3].i[1] = 0.0; ($RES_SIM_573) (8) [SCAL] (1) line_2b.phase2.terminal_p.v[2] = line_2b.terminal_p.phase[2].v[2]; ($RES_SIM_511) (9) [SCAL] (1) line_1.phase3.terminal_p.v[2] = line_1.terminal_p.phase[3].v[2]; ($RES_SIM_574) (10) [SCAL] (1) line_1.phase3.terminal_p.v[1] = line_1.terminal_p.phase[3].v[1]; ($RES_SIM_575) (11) [SCAL] (1) line_2b.phase2.terminal_p.v[1] = line_2b.terminal_p.phase[2].v[1]; ($RES_SIM_512) (12) [SCAL] (1) line_1.phase2.i_p[2] - line_1.terminal_p.phase[2].i[2] = 0.0; ($RES_SIM_577) (13) [SCAL] (1) line_2b.phase1.i_p[2] - line_2b.terminal_p.phase[1].i[2] = 0.0; ($RES_SIM_514) (14) [SCAL] (1) line_1.phase2.i_p[1] - line_1.terminal_p.phase[2].i[1] = 0.0; ($RES_SIM_578) (15) [ARRY] (4) $FUN_37 = diagonal(fill(1.0, 2) .* line_2a.phase2.R_actual); ($RES_AUX_867) (16) [SCAL] (1) line_1.phase2.terminal_p.v[2] = line_1.terminal_p.phase[2].v[2]; ($RES_SIM_579) (17) [SCAL] (1) line_2b.phase1.i_p[1] - line_2b.terminal_p.phase[1].i[1] = 0.0; ($RES_SIM_515) (18) [SCAL] (1) line_2b.phase1.terminal_p.v[2] = line_2b.terminal_p.phase[1].v[2]; ($RES_SIM_516) (19) [FOR-] (6) ($RES_SIM_667) (19) [----] for {$i1 in 1:3, $i2 in 1:2} loop (19) [----] [SCAL] (1) R2.wyeToWyeGround.connection3to4.terminal4.phase[$i1].i[$i2] - R2.wyeToWyeGround.wyeg.phase[$i1].i[$i2] = 0.0; ($RES_SIM_668) (19) [----] end for; (20) [SCAL] (1) line_2b.phase1.terminal_p.v[1] = line_2b.terminal_p.phase[1].v[1]; ($RES_SIM_517) (21) [SCAL] (1) $DER.E.vPhase[3].terminal.theta[1] = $DER.line_1.terminal_n.phase[3].theta[1]; ($RES_SIM_1392) (22) [SCAL] (1) $DER.E.vPhase[3].terminal.theta[1] = $DER.line_2a.terminal_n.phase[3].theta[1]; ($RES_SIM_1391) (23) [SCAL] (1) $DER.E.vPhase[3].terminal.theta[1] = $DER.line_3b.terminal_n.phase[3].theta[1]; ($RES_SIM_1390) (24) [SCAL] (1) line_2a.phase3.omega = $DER.line_2a.phase3.terminal_p.theta[1]; ($RES_SIM_1387) (25) [SCAL] (1) R3.load3.X = R3.load3.omega * R3.load3.L; ($RES_SIM_174) (26) [SCAL] (1) $DER.line_2b.phase2.terminal_p.theta[1] = $DER.R2.adaWye.terminals[2].theta[1]; ($RES_SIM_1386) (27) [SCAL] (1) $DER.line_1.phase3.terminal_p.theta[1] = $DER.R1.adaWye.terminals[3].theta[1]; ($RES_SIM_1385) (28) [SCAL] (1) line_1.terminal_n.phase[1].v[1] = line_1.phase1.terminal_n.v[1]; ($RES_SIM_600) (29) [SCAL] (1) $DER.$FUN_3 = 6.283185307179586 * E.vPhase[1].f; ($RES_SIM_1384) (30) [SCAL] (1) line_2a.phase2.omega = $DER.line_2a.phase2.terminal_p.theta[1]; ($RES_SIM_1382) (31) [SCAL] (1) $DER.$FUN_2 = 6.283185307179586 * E.vPhase[2].f; ($RES_SIM_1380) (32) [SCAL] (1) $DER.$FUN_1 = 6.283185307179586 * E.vPhase[3].f; ($RES_SIM_1378) (33) [SCAL] (1) $DER.line_2b.phase1.terminal_p.theta[1] = $DER.R2.adaWye.terminals[1].theta[1]; ($RES_SIM_1377) (34) [SCAL] (1) $FUN_16[1] = -line_1.phase1.i_p[2]; ($RES_SIM_928) (35) [SCAL] (1) $FUN_16[2] = line_1.phase1.i_p[1]; ($RES_SIM_929) (36) [SCAL] (1) line_1.phase2.terminal_p.v[1] = line_1.terminal_p.phase[2].v[1]; ($RES_SIM_580) (37) [SCAL] (1) line_1.phase1.i_p[2] - line_1.terminal_p.phase[1].i[2] = 0.0; ($RES_SIM_582) (38) [SCAL] (1) line_1.phase1.i_p[1] - line_1.terminal_p.phase[1].i[1] = 0.0; ($RES_SIM_583) (39) [SCAL] (1) R2.load1.X = R2.load1.omega * R2.load1.L; ($RES_SIM_266) (40) [SCAL] (1) line_1.phase1.terminal_p.v[2] = line_1.terminal_p.phase[1].v[2]; ($RES_SIM_584) (41) [SCAL] (1) line_1.phase1.terminal_p.v[1] = line_1.terminal_p.phase[1].v[1]; ($RES_SIM_585) (42) [ARRY] (4) $FUN_32 = diagonal(fill(1.0, 2) .* line_2a.phase1.R_actual); ($RES_AUX_872) (43) [SCAL] (1) $DER.line_1.terminal_n.phase[1].theta[1] = $DER.line_1.phase1.terminal_p.theta[1]; ($RES_SIM_1367) (44) [SCAL] (1) line_2a.terminal_p.phase[3].v[2] = line_2b.phase3.terminal_n.v[2]; ($RES_SIM_521) (45) [SCAL] (1) line_1.terminal_n.phase[3].v[2] = line_1.phase3.terminal_n.v[2]; ($RES_SIM_589) (46) [SCAL] (1) line_2a.terminal_p.phase[3].v[1] = line_2b.phase3.terminal_n.v[1]; ($RES_SIM_522) (47) [SCAL] (1) $DER.E.vPhase[2].terminal.theta[1] = $DER.line_1.terminal_n.phase[2].theta[1]; ($RES_SIM_1362) (48) [FOR-] (6) ($RES_SIM_671) (48) [----] for {$i1 in 1:3, $i2 in 1:2} loop (48) [----] [SCAL] (1) R2.wyeToWyeGround.connection3to4.terminal3.phase[$i1].i[$i2] - R2.wyeToWyeGround.wye.phase[$i1].i[$i2] = 0.0; ($RES_SIM_672) (48) [----] end for; (49) [SCAL] (1) $DER.E.vPhase[2].terminal.theta[1] = $DER.line_2a.terminal_n.phase[2].theta[1]; ($RES_SIM_1361) (50) [FOR-] (6) ($RES_SIM_675) (50) [----] for {$i1 in 1:3, $i2 in 1:2} loop (50) [----] [SCAL] (1) R1.wyeToWyeGround.wyeg.phase[$i1].i[$i2] - R1.adaWye.terminals[$i1].i[$i2] = 0.0; ($RES_SIM_676) (50) [----] end for; (51) [ARRY] (4) $FUN_27 = diagonal(fill(1.0, 2) .* line_1.phase3.R_actual); ($RES_AUX_877) (52) [SCAL] (1) $FUN_21[1] = -line_1.phase2.i_p[2]; ($RES_SIM_930) (53) [SCAL] (1) $DER.E.vPhase[2].terminal.theta[1] = $DER.line_3b.terminal_n.phase[2].theta[1]; ($RES_SIM_1358) (54) [SCAL] (1) R1.load3.i[2] + R1.adaWye.terminals[3].i[2] = 0.0; ($RES_SIM_679) (55) [SCAL] (1) $FUN_21[2] = line_1.phase2.i_p[1]; ($RES_SIM_931) (56) [SCAL] (1) line_2a.terminal_p.phase[2].v[2] = line_2b.phase2.terminal_n.v[2]; ($RES_SIM_526) (57) [SCAL] (1) $FUN_26[1] = -line_1.phase3.i_p[2]; ($RES_SIM_932) (58) [SCAL] (1) $DER.E.vPhase[1].terminal.theta[1] = $DER.line_1.terminal_n.phase[1].theta[1]; ($RES_SIM_1353) (59) [SCAL] (1) $FUN_26[2] = line_1.phase3.i_p[1]; ($RES_SIM_933) (60) [SCAL] (1) line_2a.terminal_p.phase[2].v[1] = line_2b.phase2.terminal_n.v[1]; ($RES_SIM_527) (61) [SCAL] (1) $DER.E.vPhase[1].terminal.theta[1] = $DER.line_2a.terminal_n.phase[1].theta[1]; ($RES_SIM_1352) (62) [SCAL] (1) $DER.line_1.phase2.terminal_p.theta[1] = $DER.R1.adaWye.terminals[2].theta[1]; ($RES_SIM_1351) (63) [SCAL] (1) $FUN_31[1] = -line_2a.phase1.i_p[2]; ($RES_SIM_934) (64) [SCAL] (1) $DER.E.vPhase[1].terminal.theta[1] = $DER.line_3b.terminal_n.phase[1].theta[1]; ($RES_SIM_1350) (65) [SCAL] (1) $FUN_31[2] = line_2a.phase1.i_p[1]; ($RES_SIM_935) (66) [SCAL] (1) $FUN_36[1] = -line_2a.phase2.i_p[2]; ($RES_SIM_936) (67) [SCAL] (1) $DER.line_1.phase1.terminal_p.theta[1] = $DER.R1.adaWye.terminals[1].theta[1]; ($RES_SIM_1348) (68) [SCAL] (1) $FUN_36[2] = line_2a.phase2.i_p[1]; ($RES_SIM_937) (69) [SCAL] (1) $FUN_41[1] = -line_2a.phase3.i_p[2]; ($RES_SIM_938) (70) [SCAL] (1) line_2a.phase1.omega = $DER.line_2a.phase1.terminal_p.theta[1]; ($RES_SIM_1346) (71) [SCAL] (1) $FUN_41[2] = line_2a.phase3.i_p[1]; ($RES_SIM_939) (72) [SCAL] (1) $DER.line_2a.terminal_p.phase[3].theta[1] = $DER.line_2b.phase3.terminal_p.theta[1]; ($RES_SIM_1345) (73) [SCAL] (1) line_1.terminal_n.phase[3].v[1] = line_1.phase3.terminal_n.v[1]; ($RES_SIM_590) (74) [SCAL] (1) line_1.terminal_n.phase[2].v[2] = line_1.phase2.terminal_n.v[2]; ($RES_SIM_594) (75) [SCAL] (1) line_1.terminal_n.phase[2].v[1] = line_1.phase2.terminal_n.v[1]; ($RES_SIM_595) (76) [SCAL] (1) line_1.phase3.omega = $DER.line_1.phase3.terminal_p.theta[1]; ($RES_SIM_1339) (77) [SCAL] (1) R3.load2.X = R3.load2.omega * R3.load2.L; ($RES_SIM_189) (78) [SCAL] (1) $DER.line_2a.terminal_p.phase[2].theta[1] = $DER.line_2b.phase2.terminal_p.theta[1]; ($RES_SIM_1338) (79) [SCAL] (1) $DER.line_1.terminal_n.phase[3].theta[1] = $DER.line_1.phase3.terminal_p.theta[1]; ($RES_SIM_1336) (80) [SCAL] (1) line_1.terminal_n.phase[1].v[2] = line_1.phase1.terminal_n.v[2]; ($RES_SIM_599) (81) [SCAL] (1) R1.load3.i[1] + R1.adaWye.terminals[3].i[1] = 0.0; ($RES_SIM_680) (82) [SCAL] (1) R1.load3.v[2] = R1.adaWye.terminals[3].v[2]; ($RES_SIM_681) (83) [SCAL] (1) R1.load3.v[1] = R1.adaWye.terminals[3].v[1]; ($RES_SIM_682) (84) [SCAL] (1) $DER.R3.load3.terminal.theta[1] = $DER.R3.adaWye.terminals[3].theta[1]; ($RES_SIM_1332) (85) [SCAL] (1) R1.load2.i[2] + R1.adaWye.terminals[2].i[2] = 0.0; ($RES_SIM_684) (86) [SCAL] (1) $DER.line_1.terminal_n.phase[2].theta[1] = $DER.line_1.phase2.terminal_p.theta[1]; ($RES_SIM_1330) (87) [SCAL] (1) R1.load2.i[1] + R1.adaWye.terminals[2].i[1] = 0.0; ($RES_SIM_685) (88) [SCAL] (1) R1.load2.v[2] = R1.adaWye.terminals[2].v[2]; ($RES_SIM_686) (89) [SCAL] (1) R1.load2.v[1] = R1.adaWye.terminals[2].v[1]; ($RES_SIM_687) (90) [SCAL] (1) $FUN_46[1] = -line_2b.phase1.i_p[2]; ($RES_SIM_940) (91) [SCAL] (1) $DER.R1.load3.terminal.theta[1] = $DER.R1.adaWye.terminals[3].theta[1]; ($RES_SIM_1323) (92) [SCAL] (1) R1.load1.i[2] + R1.adaWye.terminals[1].i[2] = 0.0; ($RES_SIM_689) (93) [SCAL] (1) $DER.R3.load2.terminal.theta[1] = $DER.R3.adaWye.terminals[2].theta[1]; ($RES_SIM_1322) (94) [SCAL] (1) $FUN_46[2] = line_2b.phase1.i_p[1]; ($RES_SIM_941) (95) [SCAL] (1) $DER.line_3b.phase3.terminal_p.theta[1] = $DER.line_3b.terminal_p.phase[3].theta[1]; ($RES_SIM_1321) (96) [ARRY] (2) R1.wyeToWyeGround.connection3to4.terminal4.phase[3].i[:] = -R1.wyeToWyeGround.connection3to4.terminal3.phase[3].i[:]; ($RES_SIM_276) (97) [SCAL] (1) $FUN_51[1] = -line_2b.phase2.i_p[2]; ($RES_SIM_942) (98) [FOR-] (6) ($RES_SIM_702) (98) [----] for {$i1 in 1:3, $i2 in 1:2} loop (98) [----] [SCAL] (1) R1.wyeToWyeGround.connection3to4.terminal4.phase[$i1].i[$i2] - R1.wyeToWyeGround.wyeg.phase[$i1].i[$i2] = 0.0; ($RES_SIM_703) (98) [----] end for; (99) [SCAL] (1) $FUN_51[2] = line_2b.phase2.i_p[1]; ($RES_SIM_943) (100) [ARRY] (2) R1.wyeToWyeGround.connection3to4.terminal4.phase[2].i[:] = -R1.wyeToWyeGround.connection3to4.terminal3.phase[2].i[:]; ($RES_SIM_277) (101) [SCAL] (1) $FUN_56[1] = -line_2b.phase3.i_p[2]; ($RES_SIM_944) (102) [ARRY] (2) R1.wyeToWyeGround.connection3to4.terminal4.phase[1].i[:] = -R1.wyeToWyeGround.connection3to4.terminal3.phase[1].i[:]; ($RES_SIM_278) (103) [ARRY] (4) $FUN_22 = diagonal(fill(1.0, 2) .* line_1.phase2.R_actual); ($RES_AUX_882) (104) [SCAL] (1) $DER.R1.load2.terminal.theta[1] = $DER.R1.adaWye.terminals[2].theta[1]; ($RES_SIM_1316) (105) [SCAL] (1) $FUN_56[2] = line_2b.phase3.i_p[1]; ($RES_SIM_945) (106) [SCAL] (1) line_2a.terminal_p.phase[1].v[2] = line_2b.phase1.terminal_n.v[2]; ($RES_SIM_531) (107) [SCAL] (1) $DER.line_3b.phase2.terminal_p.theta[1] = $DER.line_3b.terminal_p.phase[2].theta[1]; ($RES_SIM_1313) (108) [FOR-] (6) ($RES_SIM_706) (108) [----] for {$i1 in 1:3, $i2 in 1:2} loop (108) [----] [SCAL] (1) R1.wyeToWyeGround.connection3to4.terminal3.phase[$i1].i[$i2] - R1.wyeToWyeGround.wye.phase[$i1].i[$i2] = 0.0; ($RES_SIM_707) (108) [----] end for; (109) [SCAL] (1) line_2a.terminal_p.phase[1].v[1] = line_2b.phase1.terminal_n.v[1]; ($RES_SIM_532) (110) [ARRY] (2) 4.031925224994681e-5 * line_2a.phase2.omega * $FUN_36 + line_2a.phase2.i_p * $FUN_37 = line_2a.phase2.terminal_p.v - line_2a.phase2.terminal_n.v; ($RES_SIM_101) (111) [ARRY] (4) $FUN_17 = diagonal(fill(1.0, 2) .* line_1.phase1.R_actual); ($RES_AUX_887) (112) [SCAL] (1) line_2a.phase1.R_actual = (0.3016666666666667 * (line_2a.phase1.M + ((-273.15) + line_2a.TCable))) / (line_2a.phase1.M + ((-273.15) + line_2a.phase1.T_ref)); ($RES_SIM_106) (113) [SCAL] (1) line_1.phase2.omega = $DER.line_1.phase2.terminal_p.theta[1]; ($RES_SIM_1305) (114) [SCAL] (1) R1.load1.i[1] + R1.adaWye.terminals[1].i[1] = 0.0; ($RES_SIM_690) (115) [SCAL] (1) R1.load1.v[2] = R1.adaWye.terminals[1].v[2]; ($RES_SIM_691) (116) [SCAL] (1) $DER.line_2a.terminal_p.phase[1].theta[1] = $DER.line_2b.phase1.terminal_p.theta[1]; ($RES_SIM_1303) (117) [SCAL] (1) R1.load1.v[1] = R1.adaWye.terminals[1].v[1]; ($RES_SIM_692) (118) [FOR-] (6) ($RES_SIM_694) (118) [----] for {$i1 in 1:3, $i2 in 1:2} loop (118) [----] [SCAL] (1) R1.wyeToWyeGround.wye.phase[$i1].i[$i2] - R1.terminal.phase[$i1].i[$i2] = 0.0; ($RES_SIM_695) (118) [----] end for; (119) [SCAL] (1) line_1.phase1.omega = $DER.line_1.phase1.terminal_p.theta[1]; ($RES_SIM_1300) (120) [SCAL] (1) $DER.R1.load1.terminal.theta[1] = $DER.R1.adaWye.terminals[1].theta[1]; ($RES_SIM_1296) (121) [ARRY] (2) 4.031925224994681e-5 * line_2a.phase1.omega * $FUN_31 + line_2a.phase1.i_p * $FUN_32 = line_2a.phase1.terminal_p.v - line_2a.phase1.terminal_n.v; ($RES_SIM_110) (122) [ARRY] (2) line_1.terminal_p.phase[3].v[:] = R1.adaWye.terminals[3].v[:] - R1.wyeToWyeGround.connection3to4.ground4.v[:]; ($RES_SIM_280) (123) [SCAL] (1) line_1.phase3.R_actual = (0.6033333333333334 * (line_1.phase3.M + ((-273.15) + line_1.TCable))) / (line_1.phase3.M + ((-273.15) + line_1.phase3.T_ref)); ($RES_SIM_117) (124) [ARRY] (2) line_1.terminal_p.phase[2].v[:] = R1.adaWye.terminals[2].v[:] - R1.wyeToWyeGround.connection3to4.ground4.v[:]; ($RES_SIM_281) (125) [SCAL] (1) $DER.R3.load1.terminal.theta[1] = $DER.R3.adaWye.terminals[1].theta[1]; ($RES_SIM_1279) (126) [SCAL] (1) R3.load1.X = R3.load1.omega * R3.load1.L; ($RES_SIM_204) (127) [ARRY] (2) line_1.terminal_p.phase[1].v[:] = R1.adaWye.terminals[1].v[:] - R1.wyeToWyeGround.connection3to4.ground4.v[:]; ($RES_SIM_282) (128) [SCAL] (1) $DER.line_3b.phase1.terminal_p.theta[1] = $DER.line_3b.terminal_p.phase[1].theta[1]; ($RES_SIM_1269) (129) [SCAL] (1) line_2a.phase3.terminal_p.v[2] = line_2a.terminal_p.phase[3].v[2]; ($RES_SIM_540) (130) [SCAL] (1) line_2b.phase3.R_actual = (0.3016666666666667 * (line_2b.phase3.M + ((-273.15) + line_2b.TCable))) / (line_2b.phase3.M + ((-273.15) + line_2b.phase3.T_ref)); ($RES_SIM_59) (131) [SCAL] (1) $DER.line_3b.terminal_n.phase[3].theta[1] = $DER.line_3b.phase3.terminal_p.theta[1]; ($RES_SIM_1265) (132) [SCAL] (1) line_2a.phase3.terminal_p.v[1] = line_2a.terminal_p.phase[3].v[1]; ($RES_SIM_541) (133) [SCAL] (1) R3.load3.omega = $DER.R3.load3.terminal.theta[1]; ($RES_SIM_1264) (134) [SCAL] (1) R3.load2.omega = $DER.R3.load2.terminal.theta[1]; ($RES_SIM_1263) (135) [SCAL] (1) R3.load1.omega = $DER.R3.load1.terminal.theta[1]; ($RES_SIM_1262) (136) [SCAL] (1) R2.load3.omega = $DER.R2.load3.terminal.theta[1]; ($RES_SIM_1261) (137) [FOR-] (2) ($RES_SIM_794) (137) [----] for $f2 in 1:2 loop (137) [----] [SCAL] (1) R1.wyeToWyeGround.connection3to4.ground4.v[$f2] = 0.0; ($RES_SIM_795) (137) [----] end for; (138) [SCAL] (1) R2.load2.omega = $DER.R2.load2.terminal.theta[1]; ($RES_SIM_1258) (139) [FOR-] (2) ($RES_SIM_796) (139) [----] for $f3 in 1:2 loop (139) [----] [SCAL] (1) R2.wyeToWyeGround.connection3to4.ground4.v[$f3] = 0.0; ($RES_SIM_797) (139) [----] end for; (140) [SCAL] (1) $DER.line_2a.phase3.terminal_p.theta[1] = $DER.line_2a.terminal_p.phase[3].theta[1]; ($RES_SIM_1257) (141) [SCAL] (1) R2.load1.omega = $DER.R2.load1.terminal.theta[1]; ($RES_SIM_1255) (142) [ARRY] (2) 8.063850449989363e-5 * line_1.phase3.omega * $FUN_26 + line_1.phase3.i_p * $FUN_27 = line_1.phase3.terminal_p.v - line_1.phase3.terminal_n.v; ($RES_SIM_121) (143) [SCAL] (1) line_2a.phase2.terminal_p.v[2] = line_2a.terminal_p.phase[2].v[2]; ($RES_SIM_545) (144) [SCAL] (1) line_3b.phase3.omega = $DER.line_3b.phase3.terminal_p.theta[1]; ($RES_SIM_1253) (145) [SCAL] (1) R1.load3.omega = $DER.R1.load3.terminal.theta[1]; ($RES_SIM_1252) (146) [SCAL] (1) line_2a.phase2.terminal_p.v[1] = line_2a.terminal_p.phase[2].v[1]; ($RES_SIM_546) (147) [SCAL] (1) R1.load2.omega = $DER.R1.load2.terminal.theta[1]; ($RES_SIM_1250) (148) [SCAL] (1) line_1.phase2.R_actual = (0.6033333333333334 * (line_1.phase2.M + ((-273.15) + line_1.TCable))) / (line_1.phase2.M + ((-273.15) + line_1.phase2.T_ref)); ($RES_SIM_126) (149) [ARRY] (2) R2.wyeToWyeGround.connection3to4.terminal4.phase[3].i[:] = -R2.wyeToWyeGround.connection3to4.terminal3.phase[3].i[:]; ($RES_SIM_214) (150) [SCAL] (1) R1.load1.omega = $DER.R1.load1.terminal.theta[1]; ($RES_SIM_1244) (151) [ARRY] (2) R2.wyeToWyeGround.connection3to4.terminal4.phase[2].i[:] = -R2.wyeToWyeGround.connection3to4.terminal3.phase[2].i[:]; ($RES_SIM_215) (152) [SCAL] (1) $DER.$FUN_3 = $DER.E.vPhase[1].terminal.theta[1]; ($RES_SIM_1242) (153) [SCAL] (1) $DER.$FUN_2 = $DER.E.vPhase[2].terminal.theta[1]; ($RES_SIM_1241) (154) [ARRY] (2) 4.031925224994681e-5 * line_2b.phase3.omega * $FUN_56 + line_2b.phase3.i_p * $FUN_57 = line_2b.phase3.terminal_p.v - line_2b.phase3.terminal_n.v; ($RES_SIM_63) (155) [SCAL] (1) $DER.line_2a.phase2.terminal_p.theta[1] = $DER.line_2a.terminal_p.phase[2].theta[1]; ($RES_SIM_1239) (156) [ARRY] (2) R2.wyeToWyeGround.connection3to4.terminal4.phase[1].i[:] = -R2.wyeToWyeGround.connection3to4.terminal3.phase[1].i[:]; ($RES_SIM_216) (157) [SCAL] (1) $DER.$FUN_1 = $DER.E.vPhase[3].terminal.theta[1]; ($RES_SIM_1238) (158) [ARRY] (2) line_2b.terminal_p.phase[3].v[:] = R2.adaWye.terminals[3].v[:] - R2.wyeToWyeGround.connection3to4.ground4.v[:]; ($RES_SIM_218) (159) [ARRY] (2) line_2b.terminal_p.phase[2].v[:] = R2.adaWye.terminals[2].v[:] - R2.wyeToWyeGround.connection3to4.ground4.v[:]; ($RES_SIM_219) (160) [SCAL] (1) $DER.line_3b.terminal_p.phase[3].theta[1] = $DER.line_3a.terminal_p.phase[3].theta[1]; ($RES_SIM_1230) (161) [SCAL] (1) $DER.line_3b.terminal_p.phase[3].theta[1] = $DER.R3.adaWye.terminals[3].theta[1]; ($RES_SIM_1229) (162) [SCAL] (1) line_2b.phase2.R_actual = (0.3016666666666667 * (line_2b.phase2.M + ((-273.15) + line_2b.TCable))) / (line_2b.phase2.M + ((-273.15) + line_2b.phase2.T_ref)); ($RES_SIM_68) (163) [SCAL] (1) R1.load3.X = R1.load3.omega * R1.load3.L; ($RES_SIM_298) (164) [SCAL] (1) $DER.line_3b.terminal_n.phase[2].theta[1] = $DER.line_3b.phase2.terminal_p.theta[1]; ($RES_SIM_1221) (165) [SCAL] (1) line_2a.phase1.terminal_p.v[2] = line_2a.terminal_p.phase[1].v[2]; ($RES_SIM_550) (166) [ARRY] (2) 8.063850449989363e-5 * line_1.phase2.omega * $FUN_21 + line_1.phase2.i_p * $FUN_22 = line_1.phase2.terminal_p.v - line_1.phase2.terminal_n.v; ($RES_SIM_130) (167) [SCAL] (1) line_2a.phase1.terminal_p.v[1] = line_2a.terminal_p.phase[1].v[1]; ($RES_SIM_551) (168) [SCAL] (1) line_3b.phase2.omega = $DER.line_3b.phase2.terminal_p.theta[1]; ($RES_SIM_1219) (169) [SCAL] (1) line_1.phase1.R_actual = (0.6033333333333334 * (line_1.phase1.M + ((-273.15) + line_1.TCable))) / (line_1.phase1.M + ((-273.15) + line_1.phase1.T_ref)); ($RES_SIM_135) (170) [SCAL] (1) $DER.line_3b.terminal_n.phase[1].theta[1] = $DER.line_3b.phase1.terminal_p.theta[1]; ($RES_SIM_1217) (171) [ARRY] (2) 8.063850449989363e-5 * line_1.phase1.omega * $FUN_16 + line_1.phase1.i_p * $FUN_17 = line_1.phase1.terminal_p.v - line_1.phase1.terminal_n.v; ($RES_SIM_139) (172) [SCAL] (1) line_3b.phase1.omega = $DER.line_3b.phase1.terminal_p.theta[1]; ($RES_SIM_1215) (173) [ARRY] (2) line_2b.terminal_p.phase[1].v[:] = R2.adaWye.terminals[1].v[:] - R2.wyeToWyeGround.connection3to4.ground4.v[:]; ($RES_SIM_220) (174) [SCAL] (1) line_2a.terminal_n.phase[3].v[2] = line_2a.phase3.terminal_n.v[2]; ($RES_SIM_555) (175) [SCAL] (1) $DER.line_2a.phase1.terminal_p.theta[1] = $DER.line_2a.terminal_p.phase[1].theta[1]; ($RES_SIM_1214) (176) [SCAL] (1) $DER.line_3b.terminal_p.phase[2].theta[1] = $DER.line_3a.terminal_p.phase[2].theta[1]; ($RES_SIM_1213) (177) [SCAL] (1) line_2a.terminal_n.phase[3].v[1] = line_2a.phase3.terminal_n.v[1]; ($RES_SIM_556) (178) [SCAL] (1) $DER.line_3b.terminal_p.phase[2].theta[1] = $DER.R3.adaWye.terminals[2].theta[1]; ($RES_SIM_1212) (179) [ARRY] (2) 4.031925224994681e-5 * line_2b.phase2.omega * $FUN_51 + line_2b.phase2.i_p * $FUN_52 = line_2b.phase2.terminal_p.v - line_2b.phase2.terminal_n.v; ($RES_SIM_72) (180) [SCAL] (1) $DER.line_2a.terminal_n.phase[3].theta[1] = $DER.line_2a.phase3.terminal_p.theta[1]; ($RES_SIM_1211) (181) [SCAL] (1) $DER.line_3b.terminal_p.phase[1].theta[1] = $DER.line_3a.terminal_p.phase[1].theta[1]; ($RES_SIM_1210) (182) [SCAL] (1) line_2b.phase1.R_actual = (0.3016666666666667 * (line_2b.phase1.M + ((-273.15) + line_2b.TCable))) / (line_2b.phase1.M + ((-273.15) + line_2b.phase1.T_ref)); ($RES_SIM_77) (183) [SCAL] (1) $DER.line_3b.terminal_p.phase[1].theta[1] = $DER.R3.adaWye.terminals[1].theta[1]; ($RES_SIM_1208) (184) [SCAL] (1) line_3a.phase3.omega = $DER.line_3a.phase3.terminal_p.theta[1]; ($RES_SIM_1207) (185) [FOR-] (6) ($RES_SIM_384) (185) [----] for {$i1 in 1:3, $i2 in 1:2} loop (185) [----] [SCAL] (1) R2.terminal.phase[$i1].i[$i2] + line_2b.terminal_p.phase[$i1].i[$i2] = 0.0; ($RES_SIM_385) (185) [----] end for; (186) [SCAL] (1) R1.load2.X = R1.load2.omega * R1.load2.L; ($RES_SIM_313) (187) [FOR-] (6) ($RES_SIM_640) (187) [----] for {$i1 in 1:3, $i2 in 1:2} loop (187) [----] [SCAL] (1) R2.wyeToWyeGround.wyeg.phase[$i1].i[$i2] - R2.adaWye.terminals[$i1].i[$i2] = 0.0; ($RES_SIM_641) (187) [----] end for; (188) [SCAL] (1) line_3a.phase2.omega = $DER.line_3a.phase2.terminal_p.theta[1]; ($RES_SIM_1203) (189) [SCAL] (1) R2.load3.i[2] + R2.adaWye.terminals[3].i[2] = 0.0; ($RES_SIM_644) (190) [SCAL] (1) R2.load3.i[1] + R2.adaWye.terminals[3].i[1] = 0.0; ($RES_SIM_645) (191) [SCAL] (1) $DER.R2.load3.terminal.theta[1] = $DER.R2.adaWye.terminals[3].theta[1]; ($RES_SIM_1201) (192) [SCAL] (1) R2.load3.v[2] = R2.adaWye.terminals[3].v[2]; ($RES_SIM_646) (193) [SCAL] (1) E.terminal.phase[3].v[2] = line_1.terminal_n.phase[3].v[2]; ($RES_SIM_402) (194) [SCAL] (1) R2.load3.v[1] = R2.adaWye.terminals[3].v[1]; ($RES_SIM_647) (195) [SCAL] (1) E.terminal.phase[3].v[2] = line_2a.terminal_n.phase[3].v[2]; ($RES_SIM_403) (196) [SCAL] (1) R2.load2.i[2] + R2.adaWye.terminals[2].i[2] = 0.0; ($RES_SIM_649) (197) [SCAL] (1) E.terminal.phase[3].v[1] = line_1.terminal_n.phase[3].v[1]; ($RES_SIM_406) (198) [SCAL] (1) E.terminal.phase[3].v[1] = line_2a.terminal_n.phase[3].v[1]; ($RES_SIM_407) (199) [SCAL] (1) $DER.line_3a.phase3.terminal_p.theta[1] = $DER.line_3a.terminal_p.phase[3].theta[1]; ($RES_SIM_1192) (200) [ARRY] (2) 4.031925224994681e-5 * line_2b.phase1.omega * $FUN_46 + line_2b.phase1.i_p * $FUN_47 = line_2b.phase1.terminal_p.v - line_2b.phase1.terminal_n.v; ($RES_SIM_81) (201) [SCAL] (1) R2.load3.X = R2.load3.omega * R2.load3.L; ($RES_SIM_236) (202) [SCAL] (1) line_3a.phase1.omega = $DER.line_3a.phase1.terminal_p.theta[1]; ($RES_SIM_1187) (203) [SCAL] (1) line_2b.phase3.omega = $DER.line_2b.phase3.terminal_p.theta[1]; ($RES_SIM_1186) (204) [SCAL] (1) R1.load1.v[1] = {R1.load1.R, -R1.load1.X} * R1.load1.i; ($RES_SIM_906) (205) [SCAL] (1) R1.load1.v[2] = {R1.load1.X, R1.load1.R} * R1.load1.i; ($RES_SIM_907) (206) [SCAL] (1) line_2a.phase3.R_actual = (0.3016666666666667 * (line_2a.phase3.M + ((-273.15) + line_2a.TCable))) / (line_2a.phase3.M + ((-273.15) + line_2a.phase3.T_ref)); ($RES_SIM_88) (207) [SCAL] (1) $DER.line_2a.terminal_n.phase[2].theta[1] = $DER.line_2a.phase2.terminal_p.theta[1]; ($RES_SIM_1184) (208) [SCAL] (1) R1.load2.v[1] = {R1.load2.R, -R1.load2.X} * R1.load2.i; ($RES_SIM_908) (209) [ARRY] (4) $FUN_57 = diagonal(fill(1.0, 2) .* line_2b.phase3.R_actual); ($RES_AUX_847) (210) [SCAL] (1) R1.load2.v[2] = {R1.load2.X, R1.load2.R} * R1.load2.i; ($RES_SIM_909) (211) [SCAL] (1) line_2a.terminal_n.phase[2].v[2] = line_2a.phase2.terminal_n.v[2]; ($RES_SIM_560) (212) [SCAL] (1) $DER.line_2a.terminal_n.phase[1].theta[1] = $DER.line_2a.phase1.terminal_p.theta[1]; ($RES_SIM_1181) (213) [SCAL] (1) line_2a.terminal_n.phase[2].v[1] = line_2a.phase2.terminal_n.v[1]; ($RES_SIM_561) (214) [SCAL] (1) R1.load1.X = R1.load1.omega * R1.load1.L; ($RES_SIM_328) (215) [SCAL] (1) line_2a.terminal_n.phase[1].v[2] = line_2a.phase1.terminal_n.v[2]; ($RES_SIM_565) (216) [SCAL] (1) line_2a.terminal_n.phase[1].v[1] = line_2a.phase1.terminal_n.v[1]; ($RES_SIM_566) (217) [SCAL] (1) $DER.R2.load2.terminal.theta[1] = $DER.R2.adaWye.terminals[2].theta[1]; ($RES_SIM_1175) (218) [FOR-] (6) ($RES_SIM_392) (218) [----] for {$i1 in 1:3, $i2 in 1:2} loop (218) [----] [SCAL] (1) R1.terminal.phase[$i1].i[$i2] + line_1.terminal_p.phase[$i1].i[$i2] = 0.0; ($RES_SIM_393) (218) [----] end for; (219) [SCAL] (1) E.terminal.phase[2].v[2] = line_1.terminal_n.phase[2].v[2]; ($RES_SIM_410) (220) [SCAL] (1) E.terminal.phase[2].v[2] = line_2a.terminal_n.phase[2].v[2]; ($RES_SIM_411) (221) [SCAL] (1) $DER.line_3a.phase2.terminal_p.theta[1] = $DER.line_3a.terminal_p.phase[2].theta[1]; ($RES_SIM_1170) (222) [SCAL] (1) R2.load2.i[1] + R2.adaWye.terminals[2].i[1] = 0.0; ($RES_SIM_650) (223) [SCAL] (1) $DER.R2.load1.terminal.theta[1] = $DER.R2.adaWye.terminals[1].theta[1]; ($RES_SIM_1169) (224) [SCAL] (1) E.terminal.phase[2].v[1] = line_1.terminal_n.phase[2].v[1]; ($RES_SIM_414) (225) [SCAL] (1) R2.load2.v[2] = R2.adaWye.terminals[2].v[2]; ($RES_SIM_651) (226) [SCAL] (1) line_2b.phase2.omega = $DER.line_2b.phase2.terminal_p.theta[1]; ($RES_SIM_1167) (227) [SCAL] (1) E.terminal.phase[2].v[1] = line_2a.terminal_n.phase[2].v[1]; ($RES_SIM_415) (228) [SCAL] (1) R2.load2.v[1] = R2.adaWye.terminals[2].v[1]; ($RES_SIM_652) (229) [SCAL] (1) R2.load1.i[2] + R2.adaWye.terminals[1].i[2] = 0.0; ($RES_SIM_654) (230) [SCAL] (1) E.terminal.phase[1].v[2] = line_1.terminal_n.phase[1].v[2]; ($RES_SIM_418) (231) [SCAL] (1) R2.load1.i[1] + R2.adaWye.terminals[1].i[1] = 0.0; ($RES_SIM_655) (232) [SCAL] (1) line_2b.phase1.omega = $DER.line_2b.phase1.terminal_p.theta[1]; ($RES_SIM_1163) (233) [SCAL] (1) E.terminal.phase[1].v[2] = line_2a.terminal_n.phase[1].v[2]; ($RES_SIM_419) (234) [SCAL] (1) R2.load1.v[2] = R2.adaWye.terminals[1].v[2]; ($RES_SIM_656) (235) [ARRY] (2) 4.031925224994681e-5 * line_2a.phase3.omega * $FUN_41 + line_2a.phase3.i_p * $FUN_42 = line_2a.phase3.terminal_p.v - line_2a.phase3.terminal_n.v; ($RES_SIM_92) (236) [SCAL] (1) $DER.line_2b.phase3.terminal_p.theta[1] = $DER.R2.adaWye.terminals[3].theta[1]; ($RES_SIM_1160) (237) [SCAL] (1) R2.load1.v[1] = R2.adaWye.terminals[1].v[1]; ($RES_SIM_657) (238) [ARRY] (4) $FUN_52 = diagonal(fill(1.0, 2) .* line_2b.phase2.R_actual); ($RES_AUX_852) (239) [SCAL] (1) $DER.line_3a.phase1.terminal_p.theta[1] = $DER.line_3a.terminal_p.phase[1].theta[1]; ($RES_SIM_1158) (240) [SCAL] (1) line_2a.phase2.R_actual = (0.3016666666666667 * (line_2a.phase2.M + ((-273.15) + line_2a.TCable))) / (line_2a.phase2.M + ((-273.15) + line_2a.phase2.T_ref)); ($RES_SIM_97) (241) [SCAL] (1) line_2b.phase3.i_p[2] - line_2b.terminal_p.phase[3].i[2] = 0.0; ($RES_SIM_504) (242) [SCAL] (1) R1.load3.v[1] = {R1.load3.R, -R1.load3.X} * R1.load3.i; ($RES_SIM_910) (243) [ARRY] (4) $FUN_47 = diagonal(fill(1.0, 2) .* line_2b.phase1.R_actual); ($RES_AUX_857) (244) [FOR-] (6) ($RES_SIM_659) (244) [----] for {$i1 in 1:3, $i2 in 1:2} loop (244) [----] [SCAL] (1) R2.wyeToWyeGround.wye.phase[$i1].i[$i2] - R2.terminal.phase[$i1].i[$i2] = 0.0; ($RES_SIM_660) (244) [----] end for; (245) [SCAL] (1) line_2b.phase3.i_p[1] - line_2b.terminal_p.phase[3].i[1] = 0.0; ($RES_SIM_505) (246) [SCAL] (1) line_2b.phase3.terminal_p.v[2] = line_2b.terminal_p.phase[3].v[2]; ($RES_SIM_506) (247) [SCAL] (1) R1.load3.v[2] = {R1.load3.X, R1.load3.R} * R1.load3.i; ($RES_SIM_911) (248) [SCAL] (1) line_2b.phase3.terminal_p.v[1] = line_2b.terminal_p.phase[3].v[1]; ($RES_SIM_507) (249) [SCAL] (1) R2.load1.v[1] = {R2.load1.R, -R2.load1.X} * R2.load1.i; ($RES_SIM_912) (250) [SCAL] (1) E.terminal.phase[1].v[1] = line_1.terminal_n.phase[1].v[1]; ($RES_SIM_422) (251) [SCAL] (1) E.terminal.phase[1].v[1] = line_2a.terminal_n.phase[1].v[1]; ($RES_SIM_423) (252) [SCAL] (1) line_2b.phase2.i_p[2] - line_2b.terminal_p.phase[2].i[2] = 0.0; ($RES_SIM_509) (253) [SCAL] (1) R2.load1.v[2] = {R2.load1.X, R2.load1.R} * R2.load1.i; ($RES_SIM_913) (254) [SCAL] (1) R2.load2.v[1] = {R2.load2.R, -R2.load2.X} * R2.load2.i; ($RES_SIM_914) (255) [SCAL] (1) R2.load2.X = R2.load2.omega * R2.load2.L; ($RES_SIM_251) State Candidate Variables (147/346) ************************************* (1) [ALGB] (2) Real[2] R2.load3.v = R2.load3.v (start = {1.0, 0.0}) (2) [DDER] (1) Real[1] $DER.line_2b.phase2.terminal_p.theta (StateSelect = avoid) (3) [ALGB] (2) Real[2] R1.load3.v = R1.load3.v (start = {1.0, 0.0}) (4) [ALGB] (2) Real[2] line_1.phase2.terminal_n.v (5) [DDER] (1) Real[1] $DER.R2.load1.terminal.theta (StateSelect = avoid) (6) [DDER] (3) Real[3, 1] $DER.line_2a.terminal_p.phase.theta (StateSelect = avoid) (7) [ALGB] (1) Real line_2b.phase3.R_actual (8) [ALGB] (1) Real line_2a.phase3.R_actual (9) [ALGB] (1) Real line_1.phase1.R_actual (10) [ALGB] (6) flow Real[3, 2] R2.terminal.phase.i (start = {0.0 for $f1 in 1:3}) (11) [ALGB] (6) flow Real[3, 2] R1.terminal.phase.i (start = {0.0 for $f1 in 1:3}) (12) [DDER] (1) Real[1] $DER.line_1.phase1.terminal_p.theta (StateSelect = avoid) (13) [ALGB] (6) protected Real[3, 2] R2.adaWye.terminals.v (start = {{1.0, 0.0}, {1.0, 0.0}, {1.0, 0.0}}) (14) [ALGB] (6) protected Real[3, 2] R1.adaWye.terminals.v (start = {{1.0, 0.0}, {1.0, 0.0}, {1.0, 0.0}}) (15) [ALGB] (1) protected Real line_1.phase1.omega (16) [STAT] (2) protected Real[2] line_2b.phase2.i_p (start = {0.0 for $f1 in 1:2}, StateSelect = prefer) (17) [DDER] (1) Real[1] $DER.R2.load3.terminal.theta (StateSelect = avoid) (18) [ALGB] (2) Real[2] line_2b.phase3.terminal_n.v (19) [ALGB] (2) Real[2] line_2a.phase3.terminal_n.v (20) [ALGB] (1) Real line_1.phase3.R_actual (21) [ALGB] (6) flow Real[3, 2] R2.wyeToWyeGround.connection3to4.terminal3.phase.i (start = {0.0 for $f1 in 1:3}) (22) [ALGB] (6) flow Real[3, 2] R1.wyeToWyeGround.connection3to4.terminal3.phase.i (start = {0.0 for $f1 in 1:3}) (23) [ALGB] (1) protected Real R2.load2.X (start = 1.0) (24) [ALGB] (2) Real[2] line_2b.phase2.terminal_p.v (25) [ALGB] (2) Real[2] line_2a.phase2.terminal_p.v (26) [ALGB] (1) protected Real R1.load2.X (start = 1.0) (27) [ALGB] (2) Real[2] R2.load2.i = R2.load2.i (start = {0.0 for $f1 in 1:2}) (28) [ALGB] (2) Real[2] R1.load2.i = R1.load2.i (start = {0.0 for $f1 in 1:2}) (29) [ALGB] (2) Real[2] R2.wyeToWyeGround.connection3to4.ground4.v (30) [ALGB] (2) Real[2] R1.wyeToWyeGround.connection3to4.ground4.v (31) [DDER] (1) Real[1] $DER.line_3b.phase2.terminal_p.theta (StateSelect = avoid) (32) [DDER] (1) Real[1] $DER.line_1.phase2.terminal_p.theta (StateSelect = avoid) (33) [ALGB] (1) protected Real line_1.phase3.omega (34) [DDER] (1) Real[1] $DER.line_2b.phase3.terminal_p.theta (StateSelect = avoid) (35) [ALGB] (2) Real[2] R2.load2.v = R2.load2.v (start = {1.0, 0.0}) (36) [ALGB] (2) Real[2] R1.load2.v = R1.load2.v (start = {1.0, 0.0}) (37) [DDER] (3) Real[3, 1] $DER.line_3a.terminal_p.phase.theta (StateSelect = avoid) (38) [ALGB] (4) Real[2, 2] $FUN_57 (39) [ALGB] (6) flow Real[3, 2] R2.wyeToWyeGround.connection3to4.terminal4.phase.i (start = {0.0 for $f1 in 1:3}) (40) [ALGB] (2) Real[2] $FUN_56 (start = Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.line_1.phase1.PhaseSystem_p.j(line_2b.phase3.i_p)) (41) [ALGB] (6) flow Real[3, 2] R1.wyeToWyeGround.connection3to4.terminal4.phase.i (start = {0.0 for $f1 in 1:3}) (42) [DDER] (1) Real $DER.$FUN_2 (StateSelect = avoid) (43) [DDER] (1) Real[1] $DER.line_2b.phase1.terminal_p.theta (StateSelect = avoid) (44) [ALGB] (4) Real[2, 2] $FUN_52 (45) [ALGB] (2) Real[2] $FUN_51 (start = Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.line_1.phase1.PhaseSystem_p.j(line_2b.phase2.i_p)) (46) [DDER] (1) Real[1] $DER.R1.load2.terminal.theta (StateSelect = avoid) (47) [DDER] (3) Real[3, 1] $DER.line_3b.terminal_n.phase.theta (StateSelect = avoid) (48) [DDER] (1) Real[1] $DER.line_1.phase3.terminal_p.theta (StateSelect = avoid) (49) [ALGB] (1) protected Real line_2b.phase2.omega (50) [ALGB] (1) protected Real line_2a.phase2.omega (51) [DDER] (1) Real[1] $DER.R3.load2.terminal.theta (StateSelect = avoid) (52) [DDER] (3) Real[3, 1] $DER.R1.adaWye.terminals.theta (StateSelect = avoid) (53) [ALGB] (1) protected Real R3.load3.omega (54) [ALGB] (4) Real[2, 2] $FUN_47 (55) [ALGB] (1) protected Real R2.load3.omega (56) [ALGB] (2) Real[2] $FUN_46 (start = Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.line_1.phase1.PhaseSystem_p.j(line_2b.phase1.i_p)) (57) [ALGB] (1) protected Real R1.load3.omega (58) [DDER] (3) Real[3, 1] $DER.R3.adaWye.terminals.theta (StateSelect = avoid) (59) [ALGB] (4) Real[2, 2] $FUN_42 (60) [ALGB] (2) Real[2] $FUN_41 (start = Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.line_1.phase1.PhaseSystem_p.j(line_2a.phase3.i_p)) (61) [DDER] (3) Real[3, 1] $DER.E.vPhase.terminal.theta (StateSelect = avoid) (62) [ALGB] (1) Real line_2b.phase2.R_actual (63) [ALGB] (1) protected Real R2.load1.X (start = 1.0) (64) [ALGB] (1) Real line_2a.phase2.R_actual (65) [ALGB] (1) protected Real R1.load1.X (start = 1.0) (66) [DDER] (1) Real[1] $DER.line_3b.phase3.terminal_p.theta (StateSelect = avoid) (67) [ALGB] (2) Real[2] R2.load1.i = R2.load1.i (start = {0.0 for $f1 in 1:2}) (68) [ALGB] (2) Real[2] R1.load1.i = R1.load1.i (start = {0.0 for $f1 in 1:2}) (69) [ALGB] (6) flow Real[3, 2] R2.wyeToWyeGround.wye.phase.i (start = {0.0 for $f1 in 1:3}) (70) [ALGB] (6) flow Real[3, 2] R1.wyeToWyeGround.wye.phase.i (start = {0.0 for $f1 in 1:3}) (71) [ALGB] (2) Real[2] line_1.phase2.terminal_p.v (72) [ALGB] (2) Real[2] R2.load1.v = R2.load1.v (start = {1.0, 0.0}) (73) [ALGB] (2) Real[2] R1.load1.v = R1.load1.v (start = {1.0, 0.0}) (74) [DDER] (1) Real[1] $DER.line_3b.phase1.terminal_p.theta (StateSelect = avoid) (75) [DDER] (1) Real[1] $DER.line_2a.phase2.terminal_p.theta (StateSelect = avoid) (76) [STAT] (2) protected Real[2] line_2b.phase1.i_p (start = {0.0 for $f1 in 1:2}, StateSelect = prefer) (77) [DDER] (1) Real[1] $DER.R1.load1.terminal.theta (StateSelect = avoid) (78) [ALGB] (4) Real[2, 2] $FUN_37 (79) [ALGB] (2) Real[2] $FUN_36 (start = Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.line_1.phase1.PhaseSystem_p.j(line_2a.phase2.i_p)) (80) [ALGB] (4) Real[2, 2] $FUN_32 (81) [ALGB] (2) Real[2] line_2b.phase2.terminal_n.v (82) [ALGB] (2) Real[2] $FUN_31 (start = Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.line_1.phase1.PhaseSystem_p.j(line_2a.phase1.i_p)) (83) [ALGB] (2) Real[2] line_2a.phase2.terminal_n.v (84) [DDER] (1) Real[1] $DER.R3.load1.terminal.theta (StateSelect = avoid) (85) [ALGB] (2) Real[2] line_2b.phase1.terminal_p.v (86) [ALGB] (6) Real[3, 2] line_1.terminal_p.phase.v (nominal = {480.0 for $f1 in 1:3}) (87) [ALGB] (2) Real[2] line_2a.phase1.terminal_p.v (88) [ALGB] (6) protected flow Real[3, 2] R2.adaWye.terminals.i (start = -{0.0 for $f1 in 1:3}) (89) [ALGB] (6) protected flow Real[3, 2] R1.adaWye.terminals.i (start = -{0.0 for $f1 in 1:3}) (90) [DDER] (3) Real[3, 1] $DER.line_2a.terminal_n.phase.theta (StateSelect = avoid) (91) [ALGB] (6) Real[3, 2] line_2b.terminal_p.phase.v (nominal = {480.0 for $f1 in 1:3}) (92) [DDER] (1) Real[1] $DER.R1.load3.terminal.theta (StateSelect = avoid) (93) [ALGB] (6) Real[3, 2] line_2a.terminal_p.phase.v (nominal = {480.0 for $f1 in 1:3}) (94) [ALGB] (1) protected Real R3.load2.omega (95) [ALGB] (1) protected Real R2.load2.omega (96) [ALGB] (1) protected Real R1.load2.omega (97) [ALGB] (4) Real[2, 2] $FUN_27 (98) [STAT] (2) protected Real[2] line_1.phase2.i_p (start = {0.0 for $f1 in 1:2}, StateSelect = prefer) (99) [ALGB] (2) Real[2] $FUN_26 (start = Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.line_1.phase1.PhaseSystem_p.j(line_1.phase3.i_p)) (100) [DDER] (1) Real[1] $DER.R3.load3.terminal.theta (StateSelect = avoid) (101) [ALGB] (2) Real[2] line_1.phase1.terminal_p.v (102) [ALGB] (4) Real[2, 2] $FUN_22 (103) [ALGB] (2) Real[2] $FUN_21 (start = Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.line_1.phase1.PhaseSystem_p.j(line_1.phase2.i_p)) (104) [DDER] (1) Real[1] $DER.line_3a.phase2.terminal_p.theta (StateSelect = avoid) (105) [ALGB] (6) flow Real[3, 2] R2.wyeToWyeGround.wyeg.phase.i (start = {0.0 for $f1 in 1:3}) (106) [ALGB] (6) flow Real[3, 2] R1.wyeToWyeGround.wyeg.phase.i (start = {0.0 for $f1 in 1:3}) (107) [DDER] (1) Real[1] $DER.line_2a.phase3.terminal_p.theta (StateSelect = avoid) (108) [ALGB] (2) Real[2] line_1.phase1.terminal_n.v (109) [ALGB] (1) protected Real line_2b.phase1.omega (110) [ALGB] (1) protected Real line_2a.phase1.omega (111) [STAT] (2) protected Real[2] line_2b.phase3.i_p (start = {0.0 for $f1 in 1:2}, StateSelect = prefer) (112) [DDER] (1) Real $DER.$FUN_1 (StateSelect = avoid) (113) [DDER] (1) Real[1] $DER.line_2a.phase1.terminal_p.theta (StateSelect = avoid) (114) [DDER] (3) Real[3, 1] $DER.line_3b.terminal_p.phase.theta (StateSelect = avoid) (115) [ALGB] (4) Real[2, 2] $FUN_17 (116) [DDER] (3) Real[3, 1] $DER.line_1.terminal_n.phase.theta (StateSelect = avoid) (117) [ALGB] (2) Real[2] line_1.phase3.terminal_p.v (118) [ALGB] (2) Real[2] $FUN_16 (start = Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.line_1.phase1.PhaseSystem_p.j(line_1.phase1.i_p)) (119) [DDER] (1) Real $DER.$FUN_3 (StateSelect = avoid) (120) [ALGB] (1) Real line_2b.phase1.R_actual (121) [ALGB] (2) Real[2] line_2b.phase3.terminal_p.v (122) [ALGB] (1) Real line_2a.phase1.R_actual (123) [ALGB] (2) Real[2] line_2a.phase3.terminal_p.v (124) [ALGB] (2) Real[2] line_1.phase3.terminal_n.v (125) [DDER] (1) Real[1] $DER.R2.load2.terminal.theta (StateSelect = avoid) (126) [STAT] (2) protected Real[2] line_1.phase1.i_p (start = {0.0 for $f1 in 1:2}, StateSelect = prefer) (127) [ALGB] (1) Real line_1.phase2.R_actual (128) [ALGB] (1) protected Real R3.load1.omega (129) [ALGB] (1) protected Real R2.load1.omega (130) [ALGB] (1) protected Real R1.load1.omega (131) [DDER] (3) Real[3, 1] $DER.R2.adaWye.terminals.theta (StateSelect = avoid) (132) [ALGB] (6) flow Real[3, 2] line_1.terminal_p.phase.i (start = {0.0 for $f1 in 1:3}) (133) [ALGB] (6) Real[3, 2] line_2a.terminal_n.phase.v (nominal = {480.0 for $f1 in 1:3}) (134) [ALGB] (6) flow Real[3, 2] line_2b.terminal_p.phase.i (start = {0.0 for $f1 in 1:3}) (135) [ALGB] (1) protected Real line_1.phase2.omega (136) [ALGB] (2) Real[2] line_2b.phase1.terminal_n.v (137) [DDER] (1) Real[1] $DER.line_3a.phase3.terminal_p.theta (StateSelect = avoid) (138) [ALGB] (2) Real[2] line_2a.phase1.terminal_n.v (139) [ALGB] (1) protected Real R2.load3.X (start = 1.0) (140) [STAT] (2) protected Real[2] line_1.phase3.i_p (start = {0.0 for $f1 in 1:2}, StateSelect = prefer) (141) [ALGB] (1) protected Real line_2b.phase3.omega (142) [ALGB] (1) protected Real R1.load3.X (start = 1.0) (143) [ALGB] (6) Real[3, 2] line_1.terminal_n.phase.v (nominal = {480.0 for $f1 in 1:3}) (144) [ALGB] (1) protected Real line_2a.phase3.omega (145) [ALGB] (2) Real[2] R2.load3.i = R2.load3.i (start = {0.0 for $f1 in 1:2}) (146) [DDER] (1) Real[1] $DER.line_3a.phase1.terminal_p.theta (StateSelect = avoid) (147) [ALGB] (2) Real[2] R1.load3.i = R1.load3.i (start = {0.0 for $f1 in 1:2}) " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.33889571018517]