Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001549/0.001549, 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.001637/0.001637, allocations: 212 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.324/1.324, allocations: 230.7 MB / 256.9 MB, free: 7.719 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.975/2.975, allocations: 0.5108 GB / 0.8167 GB, free: 17.7 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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.496e-05, allocations: 6.219 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01952/0.01953, allocations: 20.02 MB / 1.207 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.03262, allocations: 7.677 MB / 1.214 GB, free: 12.11 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.03408, allocations: 73.16 kB / 1.214 GB, free: 12.08 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003461/0.03754, allocations: 1.365 MB / 1.216 GB, free: 11.31 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.0401, allocations: 1.018 MB / 1.217 GB, free: 10.7 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004761/0.04486, allocations: 1.999 MB / 1.219 GB, free: 9.141 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004845/0.04971, allocations: 4.422 MB / 1.223 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003295/0.053, allocations: 2.011 MB / 1.225 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.05524, allocations: 1.669 MB / 1.226 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.05683, allocations: 1.237 MB / 1.228 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002864/0.05712, allocations: 228.7 kB / 1.228 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.05831, allocations: 0.6395 MB / 1.228 GB, free: 3.254 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.002843/0.06115, allocations: 3.315 MB / 1.232 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.001473/0.06262, allocations: 1.904 MB / 1.234 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.0629, allocations: 115.1 kB / 1.234 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 0.0001629/0.06307, allocations: 33.28 kB / 1.234 GB, free: 15.58 MB / 0.9356 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.008412/0.07148, allocations: 8.817 MB / 1.242 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of [SIM] FunctionAlias: time 0.001314/0.07279, allocations: 1.284 MB / 1.244 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of [SIM] Early Inline: time 0.00816/0.08095, allocations: 8.228 MB / 1.252 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 1: time 0.001799/0.08275, allocations: 1.207 MB / 1.253 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of [SIM] Alias: time 0.009639/0.09239, allocations: 7.893 MB / 1.261 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 2: time 0.001475/0.09387, allocations: 1.06 MB / 1.262 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of [SIM] Remove Stream: time 0.0006883/0.09456, allocations: 0.5686 MB / 1.262 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of [SIM] Detect States: time 0.001359/0.09591, allocations: 1.334 MB / 1.263 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of [SIM] Events: time 0.0004119/0.09633, allocations: 312.5 kB / 1.264 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of [SIM] Partitioning: time 0.00266/0.09899, allocations: 2.494 MB / 1.266 GB, free: 1.188 MB / 0.9512 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 300] [Calling sys.exit(0), Time elapsed: 6.008678679005243] Failed to read output from testmodel.py, exit status != 0: 0.1076896470040083 0.12070662400000001 0.05478973400000001 Calling exit ...