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.001394/0.001394, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001451/0.001451, allocations: 214.1 kB / 23.01 MB, free: 4.965 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.284/1.284, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.795/2.795, allocations: 0.49 GB / 0.7958 GB, free: 35.55 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.35e-05/1.35e-05, allocations: 2.281 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01829/0.01831, allocations: 20.02 MB / 1.175 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.02836, allocations: 7.664 MB / 1.182 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.02954, allocations: 75.5 kB / 1.182 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00277/0.03231, allocations: 1.363 MB / 1.183 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.03421, allocations: 1.024 MB / 1.184 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.03806, allocations: 1.999 MB / 1.186 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004103/0.04217, allocations: 4.422 MB / 1.191 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/0.04499, allocations: 2.034 MB / 1.193 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.04695, allocations: 1.682 MB / 1.194 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.04841, allocations: 1.296 MB / 1.196 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002923/0.0487, allocations: 229 kB / 1.196 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.04984, allocations: 0.6373 MB / 1.196 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.00251/0.05235, allocations: 3.316 MB / 1.2 GB, free: 14.98 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.001484/0.05383, allocations: 1.899 MB / 1.202 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.05415, allocations: 115.4 kB / 1.202 GB, free: 13.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.0001794/0.05432, allocations: 40.72 kB / 1.202 GB, free: 13.75 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.008609/0.06293, allocations: 8.806 MB / 1.21 GB, free: 8.25 MB / 0.92 GB Notification: Performance of [SIM] FunctionAlias: time 0.001402/0.06434, allocations: 1.293 MB / 1.212 GB, free: 7.473 MB / 0.92 GB Notification: Performance of [SIM] Early Inline: time 0.008555/0.07289, allocations: 8.122 MB / 1.219 GB, free: 2.984 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 0.002001/0.07489, allocations: 1.305 MB / 1.221 GB, free: 2.395 MB / 0.92 GB Notification: Performance of [SIM] Alias: time 0.009692/0.08458, allocations: 7.738 MB / 1.228 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 2: time 0.001592/0.08618, allocations: 1.126 MB / 1.229 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of [SIM] Remove Stream: time 0.0007253/0.0869, allocations: 0.5711 MB / 1.23 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of [SIM] Detect States: time 0.001368/0.08827, allocations: 1.334 MB / 1.231 GB, free: 12 MB / 0.9356 GB Notification: Performance of [SIM] Events: time 0.0003987/0.08867, allocations: 305.4 kB / 1.232 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of [SIM] Partitioning: time 0.00261/0.09128, allocations: 2.496 MB / 1.234 GB, free: 10.14 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.593059752136469] Failed to read output from testmodel.py, exit status != 0: 0.0994556830264628 0.112035037 0.054993498 Calling exit ...