Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.001434/0.001434, allocations: 104.3 kB / 19.76 MB, free: 1.906 MB / 14.72 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.001536/0.001536, allocations: 214.2 kB / 23.06 MB, free: 4.984 MB / 14.72 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.285/1.285, allocations: 230.6 MB / 256.9 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.778/2.778, allocations: 0.4893 GB / 0.7952 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.1..real|grid.P.2..real|grid.P.3..real|RL.load1.S.1.|RL.load1.S.2.|RL.load2.S.1.|RL.load2.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.1..real|grid.P.2..real|grid.P.3..real|RL.load1.S.1.|RL.load1.S.2.|RL.load2.S.1.|RL.load2.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.069e-05, allocations: 2.281 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.02341/0.02343, allocations: 25.9 MB / 1.18 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1671/0.1905, allocations: 139.7 MB / 1.316 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003333/0.1938, allocations: 95.38 kB / 1.316 GB, free: 12 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004121/0.1979, allocations: 1.447 MB / 1.318 GB, free: 10.55 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005473/0.2034, allocations: 1.76 MB / 1.319 GB, free: 8.781 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00627/0.2097, allocations: 2.73 MB / 1.322 GB, free: 6.059 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007913/0.2176, allocations: 7.037 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005821/0.2234, allocations: 3.941 MB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003485/0.2269, allocations: 2.7 MB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002638/0.2295, allocations: 2.191 MB / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006713/0.2302, allocations: 0.5508 MB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.2321, allocations: 1.147 MB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of combineBinaries: time 0.006217/0.2384, allocations: 7.913 MB / 1.347 GB, free: 12.39 MB / 1.045 GB Notification: Performance of replaceArrayConstructors: time 0.00335/0.2417, allocations: 4.533 MB / 1.351 GB, free: 7.805 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006992/0.2424, allocations: 304 kB / 1.352 GB, free: 7.508 MB / 1.045 GB Notification: Performance of FrontEnd: time 0.0006589/0.2431, allocations: 139.1 kB / 1.352 GB, free: 7.371 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1194 (891) * Number of variables: 1192 (788) Notification: Performance of [SIM] Bindings: time 0.01736/0.2604, allocations: 18.9 MB / 1.37 GB, free: 4.031 MB / 1.061 GB Notification: Performance of [SIM] FunctionAlias: time 0.002918/0.2633, allocations: 2.903 MB / 1.373 GB, free: 1.09 MB / 1.061 GB Notification: Performance of [SIM] Early Inline: time 0.01886/0.2822, allocations: 18.04 MB / 1.391 GB, free: 14.96 MB / 1.092 GB Notification: Performance of [SIM] Simplify 1: time 0.00445/0.2866, allocations: 2.34 MB / 1.393 GB, free: 12.48 MB / 1.092 GB Notification: Performance of [SIM] Alias: time 0.02772/0.3144, allocations: 21.32 MB / 1.414 GB, free: 5.965 MB / 1.107 GB Notification: Performance of [SIM] Simplify 2: time 0.002778/0.3171, allocations: 1.781 MB / 1.416 GB, free: 4.086 MB / 1.107 GB Notification: Performance of [SIM] Remove Stream: time 0.001244/0.3184, allocations: 1.023 MB / 1.417 GB, free: 3.008 MB / 1.107 GB Notification: Performance of [SIM] Detect States: time 0.00269/0.3211, allocations: 2.647 MB / 1.419 GB, free: 276 kB / 1.107 GB Notification: Performance of [SIM] Events: time 0.001691/0.3228, allocations: 1.308 MB / 1.42 GB, free: 14.96 MB / 1.123 GB Notification: Performance of [SIM] Partitioning: time 0.005267/0.328, allocations: 4.986 MB / 1.425 GB, free: 9.754 MB / 1.123 GB Error: Internal error NBResolveSingularities.indexReduction failed because there was not enough state candidates to balance out the constraint equations. Constraint Equations (42/56) ****************************** (1) [SCAL] (1) grid.sou.vPhase[3].terminal.theta[1] = 6.283185307179586 * grid.sou.vPhase[3].f * time ($RES_SIM_278) (2) [FOR-] (3) ($RES_SIM_304) (2) [----] for $i1 in 1:3 loop (2) [----] [ARRY] (1) RL.connection3to4.terminal3.phase[$i1].theta = RL.adaWye.terminal.phase[$i1].theta ($RES_SIM_305) (2) [----] end for; (3) [SCAL] (1) grid.sou.vPhase[2].terminal.theta[1] = 6.283185307179586 * grid.sou.vPhase[2].f * time ($RES_SIM_277) (4) [SCAL] (1) grid.sou.vPhase[1].terminal.theta[1] = grid.terminal.phase[1].theta[1] ($RES_SIM_855) (5) [SCAL] (1) grid.sou.vPhase[1].terminal.theta[1] = 6.283185307179586 * grid.sou.vPhase[1].f * time ($RES_SIM_276) (6) [SCAL] (1) grid.sou.vPhase[2].terminal.theta[1] = grid.terminal.phase[2].theta[1] ($RES_SIM_852) (7) [SCAL] (1) pvOriented.pv_phase1.load.theRef = pvOriented.pv_phase1.terminal.theta[1] ($RES_SIM_86) (8) [ARRY] (1) pvSimple.terminal.phase[1].theta = pvSimple.terminal.phase[4].theta ($RES_SIM_117) (9) [SCAL] (1) pvSimple.pv_phase1.load.theRef = pvSimple.pv_phase1.terminal.theta[1] ($RES_SIM_131) (10) [FOR-] (3) ($RES_SIM_115) (10) [----] for $i1 in 1:3 loop (10) [----] [ARRY] (1) pvSimple.ada.terminal.phase[$i1].theta = pvSimple.terminal.phase[$i1].theta ($RES_SIM_116) (10) [----] end for; (11) [SCAL] (1) pvOriented.pv_phase1.terminal.theta[1] = pvOriented.ada.terminals[1].theta[1] ($RES_SIM_666) (12) [SCAL] (1) pvOriented.pv_phase3.terminal.theta[1] = pvOriented.ada.terminals[3].theta[1] ($RES_SIM_661) (13) [FOR-] (3) ($RES_SIM_61) (13) [----] for $i1 in 1:3 loop (13) [----] [ARRY] (1) pvOriented.ada.terminal.phase[$i1].theta = pvOriented.ada.terminals[$i1].theta ($RES_SIM_62) (13) [----] end for; (14) [SCAL] (1) grid.terminal.phase[4].theta[1] = RL.terminal.phase[4].theta[1] ($RES_SIM_629) (15) [SCAL] (1) grid.terminal.phase[1].theta[1] = pvSimple.terminal.phase[1].theta[1] ($RES_SIM_640) (16) [SCAL] (1) RL.load1.terminal.theta[1] = RL.adaWye.terminals[1].theta[1] ($RES_SIM_869) (17) [SCAL] (1) RL.load2.theRef = RL.load2.terminal.theta[1] ($RES_SIM_317) (18) [ARRY] (1) RL.terminal.phase[1].theta = RL.terminal.phase[4].theta ($RES_SIM_289) (19) [FOR-] (3) ($RES_SIM_287) (19) [----] for $i1 in 1:3 loop (19) [----] [ARRY] (1) RL.connection3to4.terminal3.phase[$i1].theta = RL.terminal.phase[$i1].theta ($RES_SIM_288) (19) [----] end for; (20) [SCAL] (1) pvSimple.pv_phase1.terminal.theta[1] = pvSimple.ada.terminals[1].theta[1] ($RES_SIM_726) (21) [SCAL] (1) RL.load2.terminal.theta[1] = RL.adaWye.terminals[2].theta[1] ($RES_SIM_864) (22) [SCAL] (1) grid.sou.vPhase[3].terminal.theta[1] = grid.terminal.phase[3].theta[1] ($RES_SIM_849) (23) [SCAL] (1) pvOriented.pv_phase3.load.theRef = pvOriented.pv_phase3.terminal.theta[1] ($RES_SIM_99) (24) [SCAL] (1) pvSimple.pv_phase3.load.theRef = pvSimple.pv_phase3.terminal.theta[1] ($RES_SIM_144) (25) [SCAL] (1) grid.sou.ground.terminal.theta[1] = grid.terminal.phase[4].theta[1] ($RES_SIM_846) (26) [SCAL] (1) pvSimple.pv_phase3.terminal.theta[1] = pvSimple.ada.terminals[3].theta[1] ($RES_SIM_721) (27) [FOR-] (3) ($RES_SIM_106) (27) [----] for $i1 in 1:3 loop (27) [----] [ARRY] (1) pvSimple.ada.terminal.phase[$i1].theta = pvSimple.ada.terminals[$i1].theta ($RES_SIM_107) (27) [----] end for; (28) [ARRY] (1) pvOriented.terminal.phase[1].theta = pvOriented.terminal.phase[4].theta ($RES_SIM_72) (29) [FOR-] (3) ($RES_SIM_70) (29) [----] for $i1 in 1:3 loop (29) [----] [ARRY] (1) pvOriented.ada.terminal.phase[$i1].theta = pvOriented.terminal.phase[$i1].theta ($RES_SIM_71) (29) [----] end for; (30) [SCAL] (1) grid.terminal.phase[1].theta[1] = pvOriented.terminal.phase[1].theta[1] ($RES_SIM_639) (31) [SCAL] (1) grid.terminal.phase[1].theta[1] = RL.terminal.phase[1].theta[1] ($RES_SIM_638) (32) [SCAL] (1) grid.terminal.phase[2].theta[1] = pvSimple.terminal.phase[2].theta[1] ($RES_SIM_637) (33) [SCAL] (1) grid.terminal.phase[2].theta[1] = pvOriented.terminal.phase[2].theta[1] ($RES_SIM_636) (34) [SCAL] (1) grid.terminal.phase[2].theta[1] = RL.terminal.phase[2].theta[1] ($RES_SIM_635) (35) [SCAL] (1) grid.terminal.phase[3].theta[1] = pvSimple.terminal.phase[3].theta[1] ($RES_SIM_634) (36) [SCAL] (1) grid.terminal.phase[3].theta[1] = pvOriented.terminal.phase[3].theta[1] ($RES_SIM_633) (37) [SCAL] (1) grid.terminal.phase[3].theta[1] = RL.terminal.phase[3].theta[1] ($RES_SIM_632) (38) [SCAL] (1) RL.load1.theRef = RL.load1.terminal.theta[1] ($RES_SIM_328) (39) [SCAL] (1) grid.terminal.phase[4].theta[1] = pvSimple.terminal.phase[4].theta[1] ($RES_SIM_631) (40) [SCAL] (1) grid.terminal.phase[4].theta[1] = pvOriented.terminal.phase[4].theta[1] ($RES_SIM_630) (41) [ARRY] (1) RL.adaWye.terminal.phase[1].theta = RL.wyeToWyeGround.connection3to4.ground4.theta ($RES_SIM_306) (42) [FOR-] (3) ($RES_SIM_294) (42) [----] for $i1 in 1:3 loop (42) [----] [ARRY] (1) RL.adaWye.terminal.phase[$i1].theta = RL.adaWye.terminals[$i1].theta ($RES_SIM_295) (42) [----] end for; State Candidate Variables (26/54) *********************************** (1) [ALGB] (3) Real[3, 1] RL.connection3to4.terminal3.phase.theta (2) [ALGB] (3) protected Real[3, 1] RL.adaWye.terminal.phase.theta (3) [ALGB] (1) Real[1] pvSimple.pv_phase3.terminal.theta (4) [STAT] (1) protected Real pvOriented.pv_phase1.load.theRef (5) [ALGB] (4) Real[4, 1] grid.terminal.phase.theta (6) [ALGB] (1) Real[1] RL.load1.terminal.theta (7) [STAT] (1) protected Real RL.load1.theRef (8) [ALGB] (1) Real[1] pvOriented.pv_phase1.terminal.theta (9) [ALGB] (4) Real[4, 1] pvOriented.terminal.phase.theta (10) [ALGB] (4) Real[4, 1] pvSimple.terminal.phase.theta (11) [STAT] (1) protected Real pvSimple.pv_phase3.load.theRef (12) [ALGB] (3) protected Real[3, 1] pvOriented.ada.terminals.theta (13) [ALGB] (4) Real[4, 1] RL.terminal.phase.theta (14) [ALGB] (3) protected Real[3, 1] pvSimple.ada.terminal.phase.theta (15) [ALGB] (1) Real[1] grid.sou.ground.terminal.theta (16) [STAT] (1) protected Real pvSimple.pv_phase1.load.theRef (17) [ALGB] (3) protected Real[3, 1] pvOriented.ada.terminal.phase.theta (18) [STAT] (1) protected Real RL.load2.theRef (19) [STAT] (1) protected Real pvOriented.pv_phase3.load.theRef (20) [ALGB] (1) Real[1] pvOriented.pv_phase3.terminal.theta (21) [ALGB] (3) Real[3, 1] grid.sou.vPhase.terminal.theta (22) [ALGB] (1) Real[1] pvSimple.pv_phase1.terminal.theta (23) [ALGB] (3) protected Real[3, 1] RL.adaWye.terminals.theta (24) [ALGB] (1) Real[1] RL.load2.terminal.theta (25) [ALGB] (1) Real[1] RL.wyeToWyeGround.connection3to4.ground4.theta (26) [ALGB] (3) protected Real[3, 1] pvSimple.ada.terminals.theta " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.866901560977567] Failed to read output from testmodel.py, exit status != 0: 0.34865982801420614 0.36192463500000005 0.11605899800000001 Calling exit ...