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.0014/0.0014, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.00145/0.00145, allocations: 213.3 kB / 23 MB, free: 4.973 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.278/1.278, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.728/2.728, allocations: 0.49 GB / 0.7958 GB, free: 35.29 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.438e-05/1.438e-05, allocations: 4.109 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.02302/0.02304, allocations: 25.9 MB / 1.18 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1632/0.1862, allocations: 139.7 MB / 1.317 GB, free: 11.26 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002826/0.189, allocations: 95.38 kB / 1.317 GB, free: 11.16 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.1924, allocations: 1.432 MB / 1.318 GB, free: 9.727 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.1969, allocations: 1.76 MB / 1.32 GB, free: 7.961 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005706/0.2026, allocations: 2.74 MB / 1.323 GB, free: 5.227 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007295/0.2099, allocations: 7.025 MB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005984/0.2159, allocations: 4.008 MB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/0.2193, allocations: 2.696 MB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002687/0.222, allocations: 2.413 MB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0007079/0.2227, allocations: 0.5508 MB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.2246, allocations: 1.159 MB / 1.34 GB, free: 3.258 MB / 1.029 GB Notification: Performance of combineBinaries: time 0.006159/0.2308, allocations: 7.925 MB / 1.348 GB, free: 11.26 MB / 1.045 GB Notification: Performance of replaceArrayConstructors: time 0.00343/0.2342, allocations: 4.531 MB / 1.352 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007521/0.235, allocations: 304 kB / 1.353 GB, free: 6.383 MB / 1.045 GB Notification: Performance of FrontEnd: time 0.0006523/0.2356, allocations: 139 kB / 1.353 GB, free: 6.246 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.01722/0.2528, allocations: 18.86 MB / 1.371 GB, free: 2.953 MB / 1.061 GB Notification: Performance of [SIM] FunctionAlias: time 0.0029/0.2557, allocations: 2.916 MB / 1.374 GB, free: 15.99 MB / 1.076 GB Notification: Performance of [SIM] Early Inline: time 0.01704/0.2728, allocations: 17.67 MB / 1.391 GB, free: 14.23 MB / 1.092 GB Notification: Performance of [SIM] Simplify 1: time 0.003992/0.2768, allocations: 2.594 MB / 1.394 GB, free: 11.5 MB / 1.092 GB Notification: Performance of [SIM] Alias: time 0.02695/0.3037, allocations: 20.77 MB / 1.414 GB, free: 5.477 MB / 1.107 GB Notification: Performance of [SIM] Simplify 2: time 0.002822/0.3065, allocations: 1.92 MB / 1.416 GB, free: 3.457 MB / 1.107 GB Notification: Performance of [SIM] Remove Stream: time 0.001161/0.3077, allocations: 1.023 MB / 1.417 GB, free: 2.375 MB / 1.107 GB Notification: Performance of [SIM] Detect States: time 0.002558/0.3103, allocations: 2.641 MB / 1.419 GB, free: 15.64 MB / 1.123 GB Notification: Performance of [SIM] Events: time 0.00168/0.3119, allocations: 1.305 MB / 1.421 GB, free: 14.34 MB / 1.123 GB Notification: Performance of [SIM] Partitioning: time 0.005167/0.3171, allocations: 4.978 MB / 1.426 GB, free: 9.137 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.78220872906968] Failed to read output from testmodel.py, exit status != 0: 0.3382141157053411 0.351100228 0.112753535 Calling exit ...