Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 103.8 kB / 17.69 MB, free: 5.379 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.001206/0.001206, allocations: 192.7 kB / 18.63 MB, free: 4.461 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.511/1.511, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2004/0.2004, allocations: 37.99 MB / 309.8 MB, free: 5.977 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.523e-05, allocations: 2.281 kB / 376.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.2031/0.2032, allocations: 6.104 MB / 382.8 MB, free: 59.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.2066, allocations: 1.99 MB / 384.8 MB, free: 58.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/0.2069, allocations: 22.84 kB / 384.8 MB, free: 58.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.2086, allocations: 0.6855 MB / 385.5 MB, free: 58.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.2097, allocations: 381.7 kB / 385.9 MB, free: 58.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.2109, allocations: 401.3 kB / 386.3 MB, free: 58.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.2124, allocations: 1.041 MB / 387.3 MB, free: 58.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005646/0.2129, allocations: 324.4 kB / 387.6 MB, free: 58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006162/0.2136, allocations: 403.1 kB / 388 MB, free: 57.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005128/0.2141, allocations: 359.7 kB / 388.4 MB, free: 57.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.159e-05/0.2142, allocations: 38.77 kB / 388.4 MB, free: 57.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.2146, allocations: 191.9 kB / 388.6 MB, free: 57.83 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.000671/0.2153, allocations: 0.8581 MB / 389.5 MB, free: 57.38 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004061/0.2157, allocations: 0.5918 MB / 390.1 MB, free: 57.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.2159, allocations: 84.38 kB / 390.1 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.133e-05/0.2159, allocations: 17.75 kB / 390.2 MB, free: 56.99 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 (96) * Number of variables: 208 (96) Notification: Performance of Bindings: time 0.002139/0.2181, allocations: 2.32 MB / 392.5 MB, free: 55.6 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003344/0.2184, allocations: 231 kB / 392.7 MB, free: 55.48 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001573/0.22, allocations: 1.264 MB / 394 MB, free: 54.73 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001477/0.2202, allocations: 101.3 kB / 394.1 MB, free: 54.68 MB / 318.1 MB Notification: Performance of Alias: time 0.002008/0.2222, allocations: 1.415 MB / 395.5 MB, free: 53.68 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001324/0.2223, allocations: 90.73 kB / 395.6 MB, free: 53.64 MB / 318.1 MB Notification: Performance of Events: time 9.629e-05/0.2224, allocations: 80.47 kB / 395.6 MB, free: 53.59 MB / 318.1 MB Notification: Performance of Detect States: time 0.000422/0.2229, allocations: 304.1 kB / 395.9 MB, free: 53.38 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0006337/0.2235, allocations: 0.4976 MB / 396.4 MB, free: 53.07 MB / 318.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency meter_SI.term_p.theta[1] could not be devided by the body size 4 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (4) $FUN_10 = PowerSystems.Examples.Introductory.Units.meter_SI.rot_dq(meter_SI.term_p.theta[1]) ($RES_$AUX_108) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (80/178) *************************** (1) [ALGB] (3) Real[3] meter_pu.i (StateSelect = never) (2) [ALGB] (2) Real[2] grd1.term.theta (3) [ALGB] (3) Real[3] grd2.term.v (nominal = {1000.0 for $i1 in 1:3}) (4) [ALGB] (3) flow Real[3] load_pu.term_n.i (nominal = {1.0 for $i1 in 1:3}) (5) [ALGB] (1) Real meter_SI.alpha_i (StateSelect = never) (6) [ALGB] (4) Real[2, 2] $FUN_16 (7) [ALGB] (3) Real[3] meter_pu.term_p.v (nominal = {1000.0 for $i1 in 1:3}) (8) [ALGB] (1) Real meter_pu.alpha_i (StateSelect = never) (9) [ALGB] (4) Real[2, 2] $FUN_10 (10) [ALGB] (1) Real meter_SI.i_norm (StateSelect = never) (11) [ALGB] (2) Real[2] meter_SI.term_n.theta (12) [ALGB] (1) Real meter_SI.alpha_v (StateSelect = never) (13) [ALGB] (3) Real[3] load_SI.v (start = load_SI.v_start, nominal = {1000.0 for $i1 in 1:3}) (14) [ALGB] (3) flow Real[3] meter_pu.term_p.i (nominal = {1.0 for $i1 in 1:3}) (15) [ALGB] (1) Real meter_pu.alpha_v (StateSelect = never) (16) [ALGB] (4) protected Real[2, 2] meter_pu.Rot_dq (17) [ALGB] (2) Real[2] meter_pu.vpp (StateSelect = never) (18) [ALGB] (3) Real[3] meter_pu.term_n.v (nominal = {1000.0 for $i1 in 1:3}) (19) [ALGB] (3) Real[3] voltage_pu.term.v (nominal = {1000.0 for $i1 in 1:3}) (20) [ALGB] (2) protected Real[2] load_SI.omega (21) [ALGB] (2) Real[2] grd2.term.theta (22) [ALGB] (3) Real[3] load_SI.i (start = load_SI.i_start, nominal = {1.0 for $i1 in 1:3}) (23) [ALGB] (2) Real[2] voltage_pu.term.theta (24) [ALGB] (1) protected Real voltage_pu.V (nominal = 1000.0) (25) [ALGB] (3) Real[3] meter_SI.v (StateSelect = never) (26) [ALGB] (2) Real[2] meter_pu.term_n.theta (27) [ALGB] (3) flow Real[3] meter_pu.term_n.i (nominal = {1.0 for $i1 in 1:3}) (28) [ALGB] (3) flow Real[3] voltage_pu.term.i (nominal = {1.0 for $i1 in 1:3}) (29) [ALGB] (2) protected Real[2] load_pu.omega (30) [ALGB] (3) Real[3] meter_SI.p (StateSelect = never) (31) [ALGB] (3) Real[3] load_SI.term_p.v (nominal = {1000.0 for $i1 in 1:3}) (32) [ALGB] (1) Real $FUN_4 (33) [ALGB] (1) Real meter_pu.v_norm (StateSelect = never) (34) [ALGB] (1) Real $FUN_3 (35) [ALGB] (1) Real $FUN_2 (36) [ALGB] (2) Real[2] meter_SI.term_p.theta (37) [ALGB] (1) Real $FUN_1 (38) [ALGB] (1) flow Real voltage_pu.neutral.i (39) [ALGB] (3) Real[3] meter_SI.i (StateSelect = never) (40) [ALGB] (1) protected Real voltage_pu.phi (41) [ALGB] (2) Real[2] load_pu.term_n.theta (42) [ALGB] (3) flow Real[3] load_SI.term_p.i (nominal = {1.0 for $i1 in 1:3}) (43) [ALGB] (1) Real meter_pu.i_norm (StateSelect = never) (44) [ALGB] (2) Real[2] voltage_SI.term.theta (45) [ALGB] (3) Real[3] load_SI.term_n.v (nominal = {1000.0 for $i1 in 1:3}) (46) [ALGB] (1) Real meter_SI.cos_phi (StateSelect = never) (47) [ALGB] (2) Real[2] meter_pu.term_p.theta (48) [ALGB] (1) Real meter_pu.cos_phi (StateSelect = never) (49) [ALGB] (3) flow Real[3] load_SI.term_n.i (nominal = {1.0 for $i1 in 1:3}) (50) [ALGB] (2) Real[2] load_SI.term_n.theta (51) [ALGB] (3) Real[3] meter_SI.term_p.v (nominal = {1000.0 for $i1 in 1:3}) (52) [ALGB] (2) Real[2] meter_SI.vpp (StateSelect = never) (53) [ALGB] (1) protected Real voltage_SI.alpha (54) [ALGB] (3) flow Real[3] meter_SI.term_p.i (nominal = {1.0 for $i1 in 1:3}) (55) [ALGB] (1) Real system.thetaRel = voltage_pu.theta - 0.0 (56) [ALGB] (3) Real[3] meter_SI.term_n.v (nominal = {1000.0 for $i1 in 1:3}) (57) [ALGB] (3) Real[3] load_pu.v (start = load_pu.v_start, nominal = {1000.0 for $i1 in 1:3}) (58) [ALGB] (3) flow Real[3] grd1.term.i (nominal = {1.0 for $i1 in 1:3}) (59) [ALGB] (3) Real[3] load_pu.term_p.v (nominal = {1000.0 for $i1 in 1:3}) (60) [ALGB] (1) protected Real voltage_pu.alpha (61) [ALGB] (1) protected Real voltage_SI.phi (62) [DER-] (2) Real[2] $DER.load_SI.term_p.theta (63) [ALGB] (3) Real[3] voltage_SI.term.v (nominal = {1000.0 for $i1 in 1:3}) (64) [ALGB] (4) protected Real[2, 2] meter_SI.Rot_dq (65) [ALGB] (2) protected Real[2] voltage_SI.vPhasor_internal (66) [ALGB] (3) flow Real[3] meter_SI.term_n.i (nominal = {1.0 for $i1 in 1:3}) (67) [ALGB] (3) Real[3] load_pu.i (start = load_pu.i_start, nominal = {1.0 for $i1 in 1:3}) (68) [ALGB] (3) Real[3] grd1.term.v (nominal = {1000.0 for $i1 in 1:3}) (69) [ALGB] (3) flow Real[3] load_pu.term_p.i (nominal = {1.0 for $i1 in 1:3}) (70) [ALGB] (1) protected Real voltage_SI.V (nominal = 1000.0) (71) [ALGB] (3) Real[3] meter_pu.v (StateSelect = never) (72) [ALGB] (1) flow Real voltage_SI.neutral.i (73) [ALGB] (3) flow Real[3] grd2.term.i (nominal = {1.0 for $i1 in 1:3}) (74) [ALGB] (3) Real[3] load_pu.term_n.v (nominal = {1000.0 for $i1 in 1:3}) (75) [ALGB] (3) flow Real[3] voltage_SI.term.i (nominal = {1.0 for $i1 in 1:3}) (76) [ALGB] (3) Real[3] meter_pu.p (StateSelect = never) (77) [ALGB] (1) protected Real voltage_pu.theta (StateSelect = prefer) (78) [ALGB] (1) Real meter_SI.v_norm (StateSelect = never) (79) [ALGB] (2) protected Real[2] voltage_pu.vPhasor_internal (80) [DER-] (2) Real[2] $DER.load_pu.term_p.theta System Equations (80/178) *************************** (1) [SCAL] (1) voltage_pu.phi = voltage_pu.term.theta[1] + voltage_pu.alpha ($RES_SIM_50) (2) [ARRY] (3) meter_pu.term_p.i + meter_pu.term_n.i = {0.0 for $i1 in 1:3} ($RES_SIM_15) (3) [SCAL] (1) meter_SI.cos_phi = cos(meter_SI.alpha_v - meter_SI.alpha_i) ($RES_$AUX_109) (4) [SCAL] (1) voltage_pu.alpha = voltage_pu.vPhasor_internal[2] ($RES_SIM_51) (5) [ARRY] (3) meter_pu.term_p.v = meter_pu.term_n.v ($RES_SIM_16) (6) [ARRY] (4) $FUN_10 = PowerSystems.Examples.Introductory.Units.meter_SI.rot_dq(meter_SI.term_p.theta[1]) ($RES_$AUX_108) (7) [SCAL] (1) voltage_pu.V = voltage_pu.vPhasor_internal[1] * voltage_pu.V_base ($RES_SIM_52) (8) [ARRY] (4) meter_pu.Rot_dq = $FUN_16 ($RES_SIM_17) (9) [SCAL] (1) meter_pu.v_norm = sqrt(meter_pu.v * meter_pu.v) ($RES_$AUX_107) (10) [ARRY] (2) voltage_pu.vPhasor_internal = {voltage_pu.v0, voltage_pu.alpha0} ($RES_SIM_53) (11) [SCAL] (1) meter_pu.alpha_v = atan2(meter_pu.Rot_dq[:, 2] * meter_pu.v[1:2], meter_pu.Rot_dq[:, 1] * meter_pu.v[1:2]) ($RES_$AUX_106) (12) [SCAL] (1) meter_pu.i_norm = sqrt(meter_pu.i * meter_pu.i) ($RES_$AUX_105) (13) [ARRY] (3) load_SI.term_n.v = grd1.term.v ($RES_SIM_90) (14) [SCAL] (1) 1.7320508075688772 * voltage_SI.term.i[3] + voltage_SI.neutral.i = 0.0 ($RES_SIM_55) (15) [SCAL] (1) meter_pu.alpha_i = atan2(meter_pu.Rot_dq[:, 2] * meter_pu.i[1:2], meter_pu.Rot_dq[:, 1] * meter_pu.i[1:2]) ($RES_$AUX_104) (16) [ARRY] (2) load_SI.term_n.theta = grd1.term.theta ($RES_SIM_91) (17) [ARRY] (2) voltage_SI.term.theta = {system.thetaRel, 0.0} ($RES_SIM_56) (18) [SCAL] (1) meter_pu.cos_phi = cos(meter_pu.alpha_v - meter_pu.alpha_i) ($RES_$AUX_103) (19) [FOR-] (3) ($RES_SIM_92) (19) [----] for $i1 in 1:3 loop (19) [----] [SCAL] (1) meter_SI.term_n.i[$i1] + load_SI.term_p.i[$i1] = 0.0 ($RES_SIM_93) (19) [----] end for; (20) [ARRY] (4) $FUN_16 = PowerSystems.Examples.Introductory.Units.meter_pu.rot_dq(meter_pu.term_p.theta[1]) ($RES_$AUX_102) (21) [ARRY] (3) meter_SI.term_n.v = load_SI.term_p.v ($RES_SIM_94) (22) [ARRY] (3) voltage_SI.term.v = {$FUN_1 * voltage_SI.V, $FUN_2 * voltage_SI.V, 0.0} ($RES_SIM_59) (23) [ARRY] (2) meter_SI.term_n.theta = load_SI.term_p.theta ($RES_SIM_95) (24) [FOR-] (3) ($RES_SIM_96) (24) [----] for $i1 in 1:3 loop (24) [----] [SCAL] (1) voltage_SI.term.i[$i1] + meter_SI.term_p.i[$i1] = 0.0 ($RES_SIM_97) (24) [----] end for; (25) [ARRY] (3) voltage_SI.term.v = meter_SI.term_p.v ($RES_SIM_98) (26) [ARRY] (2) voltage_SI.term.theta = meter_SI.term_p.theta ($RES_SIM_99) (27) [SCAL] (1) voltage_SI.phi = voltage_SI.term.theta[1] + voltage_SI.alpha ($RES_SIM_60) (28) [ARRY] (3) meter_pu.p = {meter_pu.v[1:2] * meter_pu.i[1:2], -{-meter_pu.v[2], meter_pu.v[1]} * meter_pu.i[1:2], meter_pu.v[3] * meter_pu.i[3]} ($RES_SIM_25) (29) [SCAL] (1) voltage_SI.alpha = voltage_SI.vPhasor_internal[2] ($RES_SIM_61) (30) [ARRY] (3) meter_pu.i = meter_pu.term_p.i / meter_pu.I_base ($RES_SIM_26) (31) [SCAL] (1) voltage_SI.V = voltage_SI.vPhasor_internal[1] * voltage_SI.V_base ($RES_SIM_62) (32) [ARRY] (2) meter_pu.vpp = 1.7320508075688772 * {meter_pu.v[2], -meter_pu.v[1]} ($RES_SIM_27) (33) [ARRY] (2) voltage_SI.vPhasor_internal = {voltage_SI.v0, voltage_SI.alpha0} ($RES_SIM_63) (34) [ARRY] (3) meter_pu.v = meter_pu.term_p.v / meter_pu.V_base ($RES_SIM_28) (35) [ARRY] (2) meter_SI.term_n.theta = meter_SI.term_p.theta ($RES_SIM_29) (36) [SCAL] (1) voltage_pu.theta = 314.1592653589793 * time ($RES_SIM_66) (37) [ARRY] (3) meter_SI.term_p.i + meter_SI.term_n.i = {0.0 for $i1 in 1:3} ($RES_SIM_30) (38) [ARRY] (3) meter_SI.term_p.v = meter_SI.term_n.v ($RES_SIM_31) (39) [ARRY] (4) meter_SI.Rot_dq = $FUN_10 ($RES_SIM_32) (40) [FOR-] (3) ($RES_SIM_76) (40) [----] for $i1 in 1:3 loop (40) [----] [SCAL] (1) load_pu.term_n.i[$i1] + grd2.term.i[$i1] = 0.0 ($RES_SIM_77) (40) [----] end for; (41) [ARRY] (3) load_pu.term_n.v = grd2.term.v ($RES_SIM_78) (42) [ARRY] (2) load_pu.term_n.theta = grd2.term.theta ($RES_SIM_79) (43) [ARRY] (3) meter_SI.p = {meter_SI.v[1:2] * meter_SI.i[1:2], -{-meter_SI.v[2], meter_SI.v[1]} * meter_SI.i[1:2], meter_SI.v[3] * meter_SI.i[3]} ($RES_SIM_40) (44) [ARRY] (3) meter_SI.i = meter_SI.term_p.i / meter_SI.I_base ($RES_SIM_41) (45) [ARRY] (2) meter_SI.vpp = 1.7320508075688772 * {meter_SI.v[2], -meter_SI.v[1]} ($RES_SIM_42) (46) [SCAL] (1) $FUN_1 = cos(voltage_SI.phi) ($RES_$AUX_117) (47) [ARRY] (3) meter_SI.v = meter_SI.term_p.v / meter_SI.V_base ($RES_SIM_43) (48) [SCAL] (1) $FUN_2 = sin(voltage_SI.phi) ($RES_$AUX_116) (49) [SCAL] (1) $FUN_3 = cos(voltage_pu.phi) ($RES_$AUX_115) (50) [FOR-] (3) ($RES_SIM_80) (50) [----] for $i1 in 1:3 loop (50) [----] [SCAL] (1) meter_pu.term_n.i[$i1] + load_pu.term_p.i[$i1] = 0.0 ($RES_SIM_81) (50) [----] end for; (51) [SCAL] (1) 1.7320508075688772 * voltage_pu.term.i[3] + voltage_pu.neutral.i = 0.0 ($RES_SIM_45) (52) [SCAL] (1) $FUN_4 = sin(voltage_pu.phi) ($RES_$AUX_114) (53) [ARRY] (2) voltage_pu.term.theta = {system.thetaRel, 0.0} ($RES_SIM_46) (54) [SCAL] (1) meter_SI.v_norm = sqrt(meter_SI.v * meter_SI.v) ($RES_$AUX_113) (55) [ARRY] (3) meter_pu.term_n.v = load_pu.term_p.v ($RES_SIM_82) (56) [SCAL] (1) meter_SI.alpha_v = atan2(meter_SI.Rot_dq[:, 2] * meter_SI.v[1:2], meter_SI.Rot_dq[:, 1] * meter_SI.v[1:2]) ($RES_$AUX_112) (57) [ARRY] (2) meter_pu.term_n.theta = load_pu.term_p.theta ($RES_SIM_83) (58) [SCAL] (1) meter_SI.i_norm = sqrt(meter_SI.i * meter_SI.i) ($RES_$AUX_111) (59) [FOR-] (3) ($RES_SIM_84) (59) [----] for $i1 in 1:3 loop (59) [----] [SCAL] (1) voltage_pu.term.i[$i1] + meter_pu.term_p.i[$i1] = 0.0 ($RES_SIM_85) (59) [----] end for; (60) [ARRY] (3) voltage_pu.term.v = {$FUN_3 * voltage_pu.V, $FUN_4 * voltage_pu.V, 0.0} ($RES_SIM_49) (61) [SCAL] (1) meter_SI.alpha_i = atan2(meter_SI.Rot_dq[:, 2] * meter_SI.i[1:2], meter_SI.Rot_dq[:, 1] * meter_SI.i[1:2]) ($RES_$AUX_110) (62) [ARRY] (3) voltage_pu.term.v = meter_pu.term_p.v ($RES_SIM_86) (63) [ARRY] (2) voltage_pu.term.theta = meter_pu.term_p.theta ($RES_SIM_87) (64) [FOR-] (3) ($RES_SIM_88) (64) [----] for $i1 in 1:3 loop (64) [----] [SCAL] (1) load_SI.term_n.i[$i1] + grd1.term.i[$i1] = 0.0 ($RES_SIM_89) (64) [----] end for; (65) [ARRY] (3) load_SI.term_p.i + load_SI.term_n.i = {0.0 for $i1 in 1:3} ($RES_SIM_9) (66) [ARRY] (2) load_SI.term_n.theta = load_SI.term_p.theta ($RES_SIM_8) (67) [ARRY] (3) load_pu.R * load_pu.i = load_pu.v ($RES_SIM_7) (68) [ARRY] (2) load_pu.omega = $DER.load_pu.term_p.theta ($RES_SIM_6) (69) [ARRY] (3) load_pu.v = load_pu.term_p.v - load_pu.term_n.v ($RES_SIM_5) (70) [ARRY] (3) load_pu.i = load_pu.term_p.i ($RES_SIM_4) (71) [SCAL] (1) system.thetaRel = voltage_pu.theta ($RES_BND_100) (72) [ARRY] (3) load_pu.term_p.i + load_pu.term_n.i = {0.0 for $i1 in 1:3} ($RES_SIM_3) (73) [ARRY] (2) load_pu.term_n.theta = load_pu.term_p.theta ($RES_SIM_2) (74) [ARRY] (3) grd1.term.v = {0.0 for $i1 in 1:3} ($RES_SIM_1) (75) [ARRY] (3) grd2.term.v = {0.0 for $i1 in 1:3} ($RES_SIM_0) (76) [ARRY] (3) load_SI.i = load_SI.term_p.i ($RES_SIM_10) (77) [ARRY] (3) load_SI.v = load_SI.term_p.v - load_SI.term_n.v ($RES_SIM_11) (78) [ARRY] (2) load_SI.omega = $DER.load_SI.term_p.theta ($RES_SIM_12) (79) [ARRY] (3) load_SI.R * load_SI.i = load_SI.v ($RES_SIM_13) (80) [ARRY] (2) meter_pu.term_n.theta = meter_pu.term_p.theta ($RES_SIM_14)