Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001474/0.001474, allocations: 104.3 kB / 19.76 MB, free: 1.898 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.001606/0.001606, allocations: 217.5 kB / 23.07 MB, free: 4.992 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.293/1.293, allocations: 230.7 MB / 256.9 MB, free: 7.773 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.771/2.771, allocations: 0.4893 GB / 0.7952 GB, free: 35.69 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.09e-05, allocations: 2.281 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01823/0.01824, allocations: 20.01 MB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.02828, allocations: 7.667 MB / 1.181 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009272/0.0292, allocations: 77.47 kB / 1.182 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.03216, allocations: 1.358 MB / 1.183 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.034, allocations: 1.019 MB / 1.184 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.03829, allocations: 2.004 MB / 1.186 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004811/0.04311, allocations: 4.433 MB / 1.19 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002803/0.04591, allocations: 2.011 MB / 1.192 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.04777, allocations: 1.668 MB / 1.194 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.04911, allocations: 1.233 MB / 1.195 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.0494, allocations: 228.2 kB / 1.195 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.0505, allocations: 0.6369 MB / 1.196 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.002379/0.05288, allocations: 3.317 MB / 1.199 GB, free: 15.34 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.00143/0.05431, allocations: 1.889 MB / 1.201 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.05457, allocations: 120 kB / 1.201 GB, free: 14.12 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.0001548/0.05473, allocations: 38.23 kB / 1.201 GB, free: 14.11 MB / 0.92 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.008548/0.06328, allocations: 8.807 MB / 1.21 GB, free: 8.613 MB / 0.92 GB Notification: Performance of [SIM] FunctionAlias: time 0.001415/0.06469, allocations: 1.302 MB / 1.211 GB, free: 7.832 MB / 0.92 GB Notification: Performance of [SIM] Early Inline: time 0.008613/0.0733, allocations: 8.215 MB / 1.219 GB, free: 3.301 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 0.001816/0.07512, allocations: 1.213 MB / 1.22 GB, free: 2.801 MB / 0.92 GB Notification: Performance of [SIM] Alias: time 0.009747/0.08487, allocations: 7.886 MB / 1.228 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 2: time 0.001521/0.08639, allocations: 1.063 MB / 1.229 GB, free: 14 MB / 0.9356 GB Notification: Performance of [SIM] Remove Stream: time 0.0007399/0.08713, allocations: 0.5708 MB / 1.229 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of [SIM] Detect States: time 0.001484/0.08861, allocations: 1.346 MB / 1.231 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of [SIM] Events: time 0.0004133/0.08902, allocations: 304.5 kB / 1.231 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of [SIM] Partitioning: time 0.002681/0.0917, allocations: 2.491 MB / 1.233 GB, free: 10.78 MB / 0.9356 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: 5.578937676968053] Failed to read output from testmodel.py, exit status != 0: 0.09987791301682591 0.11287943600000001 0.055411189000000007 Calling exit ...