Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001545/0.001545, 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.001658/0.001658, allocations: 212.4 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.375/1.375, allocations: 230.7 MB / 256.9 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.514/2.514, allocations: 476 MB / 0.7708 GB, free: 4.672 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.769e-05, allocations: 3.047 kB / 1.118 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.02324/0.02325, allocations: 25.88 MB / 1.143 GB, free: 28.72 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.1978, allocations: 139.7 MB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.201, allocations: 99.12 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004273/0.2052, allocations: 1.435 MB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005533/0.2108, allocations: 1.766 MB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006425/0.2172, allocations: 2.732 MB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008465/0.2257, allocations: 7.016 MB / 1.292 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005701/0.2314, allocations: 3.964 MB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.2348, allocations: 2.692 MB / 1.299 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002921/0.2377, allocations: 2.198 MB / 1.301 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007347/0.2384, allocations: 0.5508 MB / 1.302 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.2406, allocations: 1.14 MB / 1.303 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of combineBinaries: time 0.008154/0.2487, allocations: 7.924 MB / 1.31 GB, free: 12 kB / 0.9981 GB Notification: Performance of replaceArrayConstructors: time 0.004527/0.2532, allocations: 4.524 MB / 1.315 GB, free: 11.44 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.2544, allocations: 308 kB / 1.315 GB, free: 11.14 MB / 1.014 GB Notification: Performance of FrontEnd: time 0.0008276/0.2552, allocations: 139 kB / 1.315 GB, free: 11 MB / 1.014 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.01923/0.2744, allocations: 18.9 MB / 1.334 GB, free: 7.664 MB / 1.029 GB Notification: Performance of [SIM] FunctionAlias: time 0.003411/0.2778, allocations: 2.914 MB / 1.337 GB, free: 4.742 MB / 1.029 GB Notification: Performance of [SIM] Early Inline: time 0.0194/0.2972, allocations: 18.02 MB / 1.354 GB, free: 2.66 MB / 1.045 GB Notification: Performance of [SIM] Simplify 1: time 0.004675/0.3019, allocations: 2.34 MB / 1.356 GB, free: 228 kB / 1.045 GB Notification: Performance of [SIM] Alias: time 0.02953/0.3314, allocations: 21.34 MB / 1.377 GB, free: 9.82 MB / 1.076 GB Notification: Performance of [SIM] Simplify 2: time 0.002926/0.3344, allocations: 1.77 MB / 1.379 GB, free: 7.953 MB / 1.076 GB Notification: Performance of [SIM] Remove Stream: time 0.001253/0.3356, allocations: 1.027 MB / 1.38 GB, free: 6.871 MB / 1.076 GB Notification: Performance of [SIM] Detect States: time 0.002637/0.3383, allocations: 2.65 MB / 1.383 GB, free: 4.133 MB / 1.076 GB Notification: Performance of [SIM] Events: time 0.001833/0.3401, allocations: 1.285 MB / 1.384 GB, free: 2.84 MB / 1.076 GB Notification: Performance of [SIM] Partitioning: time 0.005358/0.3455, allocations: 4.99 MB / 1.389 GB, free: 13.62 MB / 1.092 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 299] [Calling sys.exit(0), Time elapsed: 6.074956286989618] Failed to read output from testmodel.py, exit status != 0: 0.8155144480406307 0.382231596 0.124116738 Calling exit ...