Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001506/0.001506, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001621/0.001621, allocations: 216.2 kB / 23.07 MB, free: 4.844 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.336/1.336, allocations: 230.7 MB / 256.9 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.978/2.978, allocations: 0.5108 GB / 0.8167 GB, free: 17.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.567e-05, allocations: 4.672 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.02619/0.02621, allocations: 25.9 MB / 1.212 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1748/0.201, allocations: 139.7 MB / 1.349 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003883/0.2049, allocations: 95.38 kB / 1.349 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004175/0.209, allocations: 1.445 MB / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005765/0.2148, allocations: 1.76 MB / 1.352 GB, free: 10.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006333/0.2211, allocations: 2.733 MB / 1.355 GB, free: 7.438 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008022/0.2291, allocations: 7.022 MB / 1.362 GB, free: 408 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005851/0.235, allocations: 3.941 MB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.239, allocations: 2.7 MB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.2424, allocations: 2.195 MB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.2434, allocations: 0.5508 MB / 1.371 GB, free: 6.918 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002523/0.2459, allocations: 1.14 MB / 1.372 GB, free: 5.777 MB / 1.061 GB Notification: Performance of combineBinaries: time 0.00635/0.2523, allocations: 7.924 MB / 1.38 GB, free: 13.79 MB / 1.076 GB Notification: Performance of replaceArrayConstructors: time 0.004049/0.2563, allocations: 4.532 MB / 1.384 GB, free: 9.199 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.2575, allocations: 304 kB / 1.384 GB, free: 8.902 MB / 1.076 GB Notification: Performance of FrontEnd: time 0.0008662/0.2584, allocations: 135.1 kB / 1.384 GB, free: 8.77 MB / 1.076 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.01881/0.2772, allocations: 18.91 MB / 1.403 GB, free: 5.422 MB / 1.092 GB Notification: Performance of [SIM] FunctionAlias: time 0.003278/0.2804, allocations: 2.879 MB / 1.406 GB, free: 2.492 MB / 1.092 GB Notification: Performance of [SIM] Early Inline: time 0.02541/0.3059, allocations: 23.4 MB / 1.429 GB, free: 11.05 MB / 1.123 GB Notification: Performance of [SIM] Simplify 1: time 0.006305/0.3122, allocations: 3.368 MB / 1.432 GB, free: 7.586 MB / 1.123 GB Notification: Performance of [SIM] Alias: time 0.03084/0.343, allocations: 22.86 MB / 1.454 GB, free: 15.54 MB / 1.154 GB Notification: Performance of [SIM] Simplify 2: time 0.004216/0.3472, allocations: 2.788 MB / 1.457 GB, free: 12.69 MB / 1.154 GB Notification: Performance of [SIM] Remove Stream: time 0.001482/0.3487, allocations: 1.246 MB / 1.458 GB, free: 11.39 MB / 1.154 GB Notification: Performance of [SIM] Detect States: time 0.003331/0.352, allocations: 3.339 MB / 1.461 GB, free: 7.965 MB / 1.154 GB Notification: Performance of [SIM] Events: time 0.003414/0.3554, allocations: 2.535 MB / 1.464 GB, free: 5.652 MB / 1.154 GB Notification: Performance of [SIM] Partitioning: time 0.00679/0.3622, allocations: 6.111 MB / 1.47 GB, free: 15.31 MB / 1.17 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: 6.292163537989836] Failed to read output from testmodel.py, exit status != 0: 0.38598222204018384 0.39940571099999994 0.13820806300000002 Calling exit ...