Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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.001381/0.001381, allocations: 96.41 kB / 20.52 MB, free: 1.152 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.001499/0.001499, allocations: 208.8 kB / 23.81 MB, free: 4.344 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.413/1.413, allocations: 230.7 MB / 257.6 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9087/0.9087, allocations: 149.9 MB / 463.9 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.075e-05, allocations: 2.281 kB / 0.6424 GB, free: 9.637 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02617/0.02619, allocations: 20 MB / 0.6619 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.04028, allocations: 7.671 MB / 0.6694 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.04274, allocations: 71.62 kB / 0.6695 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003992/0.04673, allocations: 1.357 MB / 0.6708 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.04969, allocations: 1.022 MB / 0.6718 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005111/0.05481, allocations: 2 MB / 0.6738 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00591/0.06072, allocations: 4.426 MB / 0.6781 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004549/0.06527, allocations: 2.013 MB / 0.68 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/0.0685, allocations: 1.672 MB / 0.6817 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002451/0.07096, allocations: 1.231 MB / 0.6829 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007114/0.07167, allocations: 228 kB / 0.6831 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.07339, allocations: 0.6355 MB / 0.6837 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.004106/0.07749, allocations: 3.319 MB / 0.687 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.002041/0.07953, allocations: 1.893 MB / 0.6888 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007367/0.08027, allocations: 116 kB / 0.6889 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0002435/0.08051, allocations: 35.81 kB / 0.689 GB, free: 9.852 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 778 (383) * Number of variables: 776 (266) Notification: Performance of [SIM] Bindings: time 0.01135/0.09186, allocations: 8.818 MB / 0.6976 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of [SIM] FunctionAlias: time 0.002238/0.0941, allocations: 1.293 MB / 0.6988 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.009126/0.1032, allocations: 8.227 MB / 0.7069 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.002065/0.1053, allocations: 1.217 MB / 0.7081 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.01056/0.1158, allocations: 7.879 MB / 0.7157 GB, free: 13.34 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.001748/0.1176, allocations: 1.062 MB / 0.7168 GB, free: 12.19 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.0007485/0.1183, allocations: 0.5647 MB / 0.7173 GB, free: 11.57 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.001486/0.1198, allocations: 1.334 MB / 0.7186 GB, free: 10.16 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.0004636/0.1203, allocations: 304.6 kB / 0.7189 GB, free: 9.852 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.002863/0.1232, allocations: 2.502 MB / 0.7214 GB, free: 7.23 MB / 0.545 GB Error: Internal error NBResolveSingularities.indexReduction failed because there was not enough state candidates to balance out the constraint equations. Constraint Equations (49/67) ****************************** (1) [FOR-] (3) ($RES_SIM_89) (1) [----] for $i1 in 1:3 loop (1) [----] [ARRY] (1) loaRL_N.adaWye.terminal.phase[$i1].theta = loaRL_N.adaWye.terminals[$i1].theta ($RES_SIM_90) (1) [----] end for; (2) [SCAL] (1) sou.vPhase[3].terminal.theta[1] = sou.terminal.phase[3].theta[1] ($RES_SIM_399) (3) [SCAL] (1) loaRC_N.load1.terminal.theta[1] = loaRC_N.adaWye.terminals[1].theta[1] ($RES_SIM_275) (4) [SCAL] (1) loaRL_N.load1.theRef = loaRL_N.load1.terminal.theta[1] ($RES_SIM_134) (5) [SCAL] (1) sou.ground.terminal.theta[1] = sou.terminal.phase[4].theta[1] ($RES_SIM_396) (6) [ARRY] (1) loaRL_N.terminal.phase[1].theta = loaRL_N.terminal.phase[4].theta ($RES_SIM_84) (7) [SCAL] (1) sou.vPhase[1].terminal.theta[1] = sou.terminal.phase[1].theta[1] ($RES_SIM_405) (8) [SCAL] (1) loaRC_N.load2.terminal.theta[1] = loaRC_N.adaWye.terminals[2].theta[1] ($RES_SIM_270) (9) [SCAL] (1) sou.terminal.phase[1].theta[1] = loaRC_N.terminal.phase[1].theta[1] ($RES_SIM_239) (10) [FOR-] (3) ($RES_SIM_82) (10) [----] for $i1 in 1:3 loop (10) [----] [ARRY] (1) loaRL_N.connection3to4.terminal3.phase[$i1].theta = loaRL_N.terminal.phase[$i1].theta ($RES_SIM_83) (10) [----] end for; (11) [SCAL] (1) sou.terminal.phase[1].theta[1] = loaRL_N.terminal.phase[1].theta[1] ($RES_SIM_238) (12) [SCAL] (1) sou.terminal.phase[1].theta[1] = loaR_N.terminal.phase[1].theta[1] ($RES_SIM_237) (13) [SCAL] (1) sou.vPhase[2].terminal.theta[1] = sou.terminal.phase[2].theta[1] ($RES_SIM_402) (14) [SCAL] (1) loaRL_N.load3.theRef = loaRL_N.load3.terminal.theta[1] ($RES_SIM_112) (15) [SCAL] (1) sou.terminal.phase[2].theta[1] = loaRC_N.terminal.phase[2].theta[1] ($RES_SIM_236) (16) [SCAL] (1) sou.terminal.phase[2].theta[1] = loaRL_N.terminal.phase[2].theta[1] ($RES_SIM_235) (17) [SCAL] (1) loaRC_N.load2.theRef = loaRC_N.load2.terminal.theta[1] ($RES_SIM_63) (18) [SCAL] (1) sou.terminal.phase[2].theta[1] = loaR_N.terminal.phase[2].theta[1] ($RES_SIM_234) (19) [SCAL] (1) sou.terminal.phase[3].theta[1] = loaRC_N.terminal.phase[3].theta[1] ($RES_SIM_233) (20) [SCAL] (1) sou.terminal.phase[3].theta[1] = loaRL_N.terminal.phase[3].theta[1] ($RES_SIM_232) (21) [SCAL] (1) loaR_N.load3.terminal.theta[1] = loaR_N.adaWye.terminals[3].theta[1] ($RES_SIM_355) (22) [SCAL] (1) sou.terminal.phase[3].theta[1] = loaR_N.terminal.phase[3].theta[1] ($RES_SIM_231) (23) [FOR-] (3) ($RES_SIM_29) (23) [----] for $i1 in 1:3 loop (23) [----] [ARRY] (1) loaRC_N.adaWye.terminal.phase[$i1].theta = loaRC_N.adaWye.terminals[$i1].theta ($RES_SIM_30) (23) [----] end for; (24) [SCAL] (1) sou.terminal.phase[4].theta[1] = loaRC_N.terminal.phase[4].theta[1] ($RES_SIM_230) (25) [SCAL] (1) sou.vPhase[3].terminal.theta[1] = 6.283185307179586 * sou.vPhase[3].f * time ($RES_SIM_188) (26) [SCAL] (1) sou.vPhase[2].terminal.theta[1] = 6.283185307179586 * sou.vPhase[2].f * time ($RES_SIM_187) (27) [ARRY] (1) loaRC_N.adaWye.terminal.phase[1].theta = loaRC_N.wyeToWyeGround.connection3to4.ground4.theta ($RES_SIM_41) (28) [SCAL] (1) sou.vPhase[1].terminal.theta[1] = 6.283185307179586 * sou.vPhase[1].f * time ($RES_SIM_186) (29) [ARRY] (1) loaRC_N.terminal.phase[1].theta = loaRC_N.terminal.phase[4].theta ($RES_SIM_24) (30) [FOR-] (3) ($RES_SIM_22) (30) [----] for $i1 in 1:3 loop (30) [----] [ARRY] (1) loaRC_N.connection3to4.terminal3.phase[$i1].theta = loaRC_N.terminal.phase[$i1].theta ($RES_SIM_23) (30) [----] end for; (31) [SCAL] (1) loaRL_N.load2.terminal.theta[1] = loaRL_N.adaWye.terminals[2].theta[1] ($RES_SIM_315) (32) [FOR-] (3) ($RES_SIM_149) (32) [----] for $i1 in 1:3 loop (32) [----] [ARRY] (1) loaR_N.adaWye.terminal.phase[$i1].theta = loaR_N.adaWye.terminals[$i1].theta ($RES_SIM_150) (32) [----] end for; (33) [FOR-] (3) ($RES_SIM_99) (33) [----] for $i1 in 1:3 loop (33) [----] [ARRY] (1) loaRL_N.connection3to4.terminal3.phase[$i1].theta = loaRL_N.adaWye.terminal.phase[$i1].theta ($RES_SIM_100) (33) [----] end for; (34) [ARRY] (1) loaR_N.adaWye.terminal.phase[1].theta = loaR_N.wyeToWyeGround.connection3to4.ground4.theta ($RES_SIM_161) (35) [SCAL] (1) loaRL_N.load3.terminal.theta[1] = loaRL_N.adaWye.terminals[3].theta[1] ($RES_SIM_310) (36) [ARRY] (1) loaR_N.terminal.phase[1].theta = loaR_N.terminal.phase[4].theta ($RES_SIM_144) (37) [FOR-] (3) ($RES_SIM_142) (37) [----] for $i1 in 1:3 loop (37) [----] [ARRY] (1) loaR_N.connection3to4.terminal3.phase[$i1].theta = loaR_N.terminal.phase[$i1].theta ($RES_SIM_143) (37) [----] end for; (38) [SCAL] (1) loaRC_N.load3.terminal.theta[1] = loaRC_N.adaWye.terminals[3].theta[1] ($RES_SIM_265) (39) [SCAL] (1) loaRL_N.load2.theRef = loaRL_N.load2.terminal.theta[1] ($RES_SIM_123) (40) [SCAL] (1) loaRC_N.load1.theRef = loaRC_N.load1.terminal.theta[1] ($RES_SIM_74) (41) [SCAL] (1) sou.terminal.phase[4].theta[1] = loaRL_N.terminal.phase[4].theta[1] ($RES_SIM_229) (42) [SCAL] (1) sou.terminal.phase[4].theta[1] = loaR_N.terminal.phase[4].theta[1] ($RES_SIM_228) (43) [SCAL] (1) loaR_N.load1.terminal.theta[1] = loaR_N.adaWye.terminals[1].theta[1] ($RES_SIM_365) (44) [FOR-] (3) ($RES_SIM_39) (44) [----] for $i1 in 1:3 loop (44) [----] [ARRY] (1) loaRC_N.connection3to4.terminal3.phase[$i1].theta = loaRC_N.adaWye.terminal.phase[$i1].theta ($RES_SIM_40) (44) [----] end for; (45) [ARRY] (1) loaRL_N.adaWye.terminal.phase[1].theta = loaRL_N.wyeToWyeGround.connection3to4.ground4.theta ($RES_SIM_101) (46) [SCAL] (1) loaRC_N.load3.theRef = loaRC_N.load3.terminal.theta[1] ($RES_SIM_52) (47) [SCAL] (1) loaR_N.load2.terminal.theta[1] = loaR_N.adaWye.terminals[2].theta[1] ($RES_SIM_360) (48) [FOR-] (3) ($RES_SIM_159) (48) [----] for $i1 in 1:3 loop (48) [----] [ARRY] (1) loaR_N.connection3to4.terminal3.phase[$i1].theta = loaR_N.adaWye.terminal.phase[$i1].theta ($RES_SIM_160) (48) [----] end for; (49) [SCAL] (1) loaRL_N.load1.terminal.theta[1] = loaRL_N.adaWye.terminals[1].theta[1] ($RES_SIM_320) State Candidate Variables (33/65) *********************************** (1) [ALGB] (1) Real[1] sou.ground.terminal.theta (2) [ALGB] (3) protected Real[3, 1] loaRC_N.adaWye.terminal.phase.theta (3) [STAT] (1) protected Real loaRC_N.load2.theRef (4) [ALGB] (1) Real[1] loaRL_N.load3.terminal.theta (5) [STAT] (1) protected Real loaRL_N.load3.theRef (6) [ALGB] (3) protected Real[3, 1] loaR_N.adaWye.terminals.theta (7) [ALGB] (1) Real[1] loaR_N.wyeToWyeGround.connection3to4.ground4.theta (8) [ALGB] (1) Real[1] loaRC_N.load1.terminal.theta (9) [ALGB] (3) Real[3, 1] loaR_N.connection3to4.terminal3.phase.theta (10) [ALGB] (1) Real[1] loaRC_N.wyeToWyeGround.connection3to4.ground4.theta (11) [ALGB] (3) protected Real[3, 1] loaRL_N.adaWye.terminal.phase.theta (12) [STAT] (1) protected Real loaRL_N.load1.theRef (13) [ALGB] (1) Real[1] loaR_N.load1.terminal.theta (14) [ALGB] (3) protected Real[3, 1] loaRC_N.adaWye.terminals.theta (15) [ALGB] (1) Real[1] loaRC_N.load3.terminal.theta (16) [ALGB] (1) Real[1] loaR_N.load2.terminal.theta (17) [STAT] (1) protected Real loaRC_N.load3.theRef (18) [ALGB] (3) Real[3, 1] loaRL_N.connection3to4.terminal3.phase.theta (19) [ALGB] (1) Real[1] loaRL_N.load2.terminal.theta (20) [ALGB] (1) Real[1] loaR_N.load3.terminal.theta (21) [ALGB] (4) Real[4, 1] loaRL_N.terminal.phase.theta (22) [ALGB] (4) Real[4, 1] sou.terminal.phase.theta (23) [ALGB] (4) Real[4, 1] loaR_N.terminal.phase.theta (24) [STAT] (1) protected Real loaRC_N.load1.theRef (25) [ALGB] (3) protected Real[3, 1] loaRL_N.adaWye.terminals.theta (26) [STAT] (1) protected Real loaRL_N.load2.theRef (27) [ALGB] (3) Real[3, 1] sou.vPhase.terminal.theta (28) [ALGB] (3) Real[3, 1] loaRC_N.connection3to4.terminal3.phase.theta (29) [ALGB] (1) Real[1] loaRC_N.load2.terminal.theta (30) [ALGB] (4) Real[4, 1] loaRC_N.terminal.phase.theta (31) [ALGB] (1) Real[1] loaRL_N.load1.terminal.theta (32) [ALGB] (3) protected Real[3, 1] loaR_N.adaWye.terminal.phase.theta (33) [ALGB] (1) Real[1] loaRL_N.wyeToWyeGround.connection3to4.ground4.theta " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.51043506199494] Failed to read output from testmodel.py, exit status != 0: 0.13336834497749805 0.14608659699999996 0.062710207 Calling exit ...