Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_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.001908/0.001908, allocations: 80.88 kB / 21.56 MB, free: 2.93 MB / 18.57 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.001995/0.001995, allocations: 166.3 kB / 24.97 MB, free: 9.195 MB / 18.57 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.612/1.612, allocations: 177.1 MB / 205.4 MB, free: 5.004 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.184/3.184, allocations: 389.5 MB / 0.6361 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.332e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02293/0.02295, allocations: 13.69 MB / 0.7893 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2426/0.2655, allocations: 151.8 MB / 0.9375 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.2685, allocations: 95.38 kB / 0.9376 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.2714, allocations: 0.671 MB / 0.9383 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.006495/0.2779, allocations: 1.813 MB / 0.94 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.005507/0.2834, allocations: 1.882 MB / 0.9419 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.009208/0.2926, allocations: 5.434 MB / 0.9472 GB, free: 5.582 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007055/0.2997, allocations: 2.713 MB / 0.9498 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009135/0.3088, allocations: 2.995 MB / 0.9528 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004007/0.3128, allocations: 1.457 MB / 0.9542 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.3142, allocations: 312 kB / 0.9545 GB, free: 14 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.3174, allocations: 0.8037 MB / 0.9553 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of combineBinaries: time 0.007592/0.325, allocations: 4.491 MB / 0.9596 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of replaceArrayConstructors: time 0.003866/0.3289, allocations: 2.493 MB / 0.9621 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.3299, allocations: 196 kB / 0.9623 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 0.0007095/0.3307, allocations: 99.41 kB / 0.9624 GB, free: 5.883 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 831 (517) * Number of variables: 830 (412) Notification: Performance of [SIM] Bindings: time 0.02/0.3507, allocations: 13.14 MB / 0.9752 GB, free: 8.34 MB / 0.9323 GB Notification: Performance of [SIM] FunctionAlias: time 0.004585/0.3552, allocations: 2.63 MB / 0.9778 GB, free: 5.688 MB / 0.9323 GB Notification: Performance of [SIM] Early Inline: time 0.02209/0.3773, allocations: 13.96 MB / 0.9914 GB, free: 7.594 MB / 0.948 GB Notification: Performance of [SIM] Simplify 1: time 0.00274/0.3801, allocations: 1.19 MB / 0.9925 GB, free: 6.281 MB / 0.948 GB Warning: NBAlias.selectStartByConfidence: Alias set with conflicting unfixed start values of equal confidence detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.02466/0.4047, allocations: 13.18 MB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of [SIM] Simplify 2: time 0.002021/0.4068, allocations: 0.9063 MB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of [SIM] Remove Stream: time 0.001174/0.4079, allocations: 0.7149 MB / 1.007 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of [SIM] Detect States: time 0.003534/0.4115, allocations: 2.315 MB / 1.009 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of [SIM] Events: time 0.001266/0.4127, allocations: 0.8625 MB / 1.01 GB, free: 2.949 MB / 0.9636 GB Notification: Performance of [SIM] Partitioning: time 0.004827/0.4176, allocations: 2.964 MB / 1.013 GB, free: 15.79 MB / 0.9792 GB Error: Internal error NBResolveSingularities.indexReduction failed because there was not enough state candidates to balance out the constraint equations. Constraint Equations (46/51) ****************************** (1) [SCAL] (1) $DER.$FUN_25 = 6.283185307179586 * sou.sou.vPhase[1].f; ($RES_SIM_1087) (2) [SCAL] (1) $DER.$FUN_24 = 6.283185307179586 * sou.sou.vPhase[2].f; ($RES_SIM_1086) (3) [SCAL] (1) $DER.line.terminal_n.phase[4].theta[1] = $DER.line.neutral.terminal_p.theta[1]; ($RES_SIM_1019) (4) [SCAL] (1) $DER.line.terminal_n.phase[2].theta[1] = $DER.line.phase2.terminal_p.theta[1]; ($RES_SIM_1151) (5) [ARRY] (2) tur.ada.terminals[2].v[:] = line.terminal_p.phase[2].v[:] - line.terminal_p.phase[4].v[:]; ($RES_SIM_203) (6) [SCAL] (1) line.terminal_n.phase[2].v[2] = line.phase2.terminal_n.v[2]; ($RES_SIM_360) (7) [SCAL] (1) $DER.line.terminal_n.phase[1].theta[1] = $DER.line.phase1.terminal_p.theta[1]; ($RES_SIM_1148) (8) [SCAL] (1) sou.sou.vPhase[2].terminal.v[2] = sou.terminal.phase[2].v[2]; ($RES_SIM_388) (9) [SCAL] (1) line.terminal_n.phase[2].v[1] = line.phase2.terminal_n.v[1]; ($RES_SIM_361) (10) [SCAL] (1) sou.sou.vPhase[2].terminal.v[1] = sou.terminal.phase[2].v[1]; ($RES_SIM_389) (11) [SCAL] (1) $DER.$FUN_23 = 6.283185307179586 * sou.sou.vPhase[3].f; ($RES_SIM_1076) (12) [SCAL] (1) $DER.res.terminal.phase[4].theta[1] = $DER.line.terminal_n.phase[4].theta[1]; ($RES_SIM_1068) (13) [SCAL] (1) $DER.res.terminal.phase[3].theta[1] = $DER.line.terminal_n.phase[3].theta[1]; ($RES_SIM_1066) (14) [SCAL] (1) $DER.res.terminal.phase[3].theta[1] = $DER.sou.terminal.phase[3].theta[1]; ($RES_SIM_1065) (15) [SCAL] (1) $DER.res.terminal.phase[2].theta[1] = $DER.line.terminal_n.phase[2].theta[1]; ($RES_SIM_1064) (16) [SCAL] (1) $DER.res.terminal.phase[2].theta[1] = $DER.sou.terminal.phase[2].theta[1]; ($RES_SIM_1063) (17) [SCAL] (1) res.terminal.phase[2].v[2] = line.terminal_n.phase[2].v[2]; ($RES_SIM_303) (18) [SCAL] (1) $DER.res.terminal.phase[1].theta[1] = $DER.line.terminal_n.phase[1].theta[1]; ($RES_SIM_1062) (19) [SCAL] (1) res.terminal.phase[2].v[2] = sou.terminal.phase[2].v[2]; ($RES_SIM_304) (20) [SCAL] (1) $FUN_39[1] = -line.phase2.i_p[2]; ($RES_SIM_711) (21) [SCAL] (1) $DER.res.terminal.phase[1].theta[1] = $DER.sou.terminal.phase[1].theta[1]; ($RES_SIM_1061) (22) [SCAL] (1) $FUN_39[2] = line.phase2.i_p[1]; ($RES_SIM_712) (23) [SCAL] (1) res.terminal.phase[2].v[1] = line.terminal_n.phase[2].v[1]; ($RES_SIM_305) (24) [SCAL] (1) $DER.sou.sou.vPhase[3].terminal.theta[1] = $DER.sou.terminal.phase[3].theta[1]; ($RES_SIM_1124) (25) [ARRY] (1) $DER.res.terminal.phase[1].theta[:] = $DER.res.terminal.phase[4].theta[:]; ($RES_SIM_1057) (26) [SCAL] (1) line.phase2.terminal_p.v[2] = line.terminal_p.phase[2].v[2]; ($RES_SIM_345) (27) [SCAL] (1) res.terminal.phase[2].v[1] = sou.terminal.phase[2].v[1]; ($RES_SIM_306) (28) [SCAL] (1) $DER.sou.sou.vPhase[2].terminal.theta[1] = $DER.sou.terminal.phase[2].theta[1]; ($RES_SIM_1123) (29) [SCAL] (1) line.phase2.terminal_p.v[1] = line.terminal_p.phase[2].v[1]; ($RES_SIM_346) (30) [SCAL] (1) line.phase2.terminal_p.theta[1] = line.terminal_p.phase[2].theta[1]; ($RES_SIM_347) (31) [SCAL] (1) $DER.sou.sou.vPhase[1].terminal.theta[1] = $DER.sou.terminal.phase[1].theta[1]; ($RES_SIM_1120) (32) [SCAL] (1) line.neutral.omega = $DER.line.neutral.terminal_p.theta[1]; ($RES_SIM_1116) (33) [ARRY] (4) $FUN_40 = diagonal(fill(1.0, 2) .* line.phase2.R_actual); ($RES_AUX_616) (34) [SCAL] (1) line.phase2.R_actual = (0.12066666666666666 * (line.phase2.M + ((-273.15) + line.TCable))) / (line.phase2.M + ((-273.15) + line.phase2.T_ref)); ($RES_SIM_31) (35) [SCAL] (1) line.phase3.omega = $DER.line.phase3.terminal_p.theta[1]; ($RES_SIM_1110) (36) [ARRY] (2) 1.612770089997873e-5 * line.phase2.omega * $FUN_39 + line.phase2.i_p * $FUN_40 = line.phase2.terminal_p.v - line.phase2.terminal_n.v; ($RES_SIM_35) (37) [SCAL] (1) line.phase2.omega = $DER.line.phase2.terminal_p.theta[1]; ($RES_SIM_1109) (38) [SCAL] (1) line.phase1.omega = $DER.line.phase1.terminal_p.theta[1]; ($RES_SIM_1107) (39) [SCAL] (1) $DER.$FUN_25 = $DER.sou.sou.vPhase[1].terminal.theta[1]; ($RES_SIM_1102) (40) [SCAL] (1) $DER.$FUN_24 = $DER.sou.sou.vPhase[2].terminal.theta[1]; ($RES_SIM_1101) (41) [SCAL] (1) $DER.line.phase1.terminal_p.theta[1] = $DER.line.terminal_p.phase[1].theta[1]; ($RES_SIM_1167) (42) [SCAL] (1) res.terminal.phase[4].theta[1] = sou.terminal.phase[4].theta[1]; ($RES_SIM_312) (43) [SCAL] (1) $DER.line.terminal_p.phase[4].theta[1] = $DER.line.neutral.terminal_p.theta[1]; ($RES_SIM_1028) (44) [ARRY] (1) $DER.line.terminal_p.phase[1].theta[:] = $DER.line.terminal_p.phase[4].theta[:]; ($RES_SIM_1094) (45) [SCAL] (1) $DER.$FUN_23 = $DER.sou.sou.vPhase[3].terminal.theta[1]; ($RES_SIM_1093) (46) [SCAL] (1) $DER.line.terminal_n.phase[3].theta[1] = $DER.line.phase3.terminal_p.theta[1]; ($RES_SIM_1162) State Candidate Variables (19/39) *********************************** (1) [DDER] (1) Real[1] $DER.line.phase1.terminal_p.theta (StateSelect = avoid) (2) [ALGB] (4) Real[2, 2] $FUN_40 (3) [ALGB] (2) Real[2] line.phase2.terminal_n.v (4) [DDER] (4) Real[4, 1] $DER.sou.terminal.phase.theta (StateSelect = avoid) (5) [STAT] (1) protected Real line.neutral.omega (6) [DDER] (1) Real $DER.$FUN_23 (StateSelect = avoid) (7) [ALGB] (1) Real line.phase2.R_actual (8) [ALGB] (2) Real[2] line.phase2.terminal_p.v (9) [DDER] (1) Real $DER.$FUN_24 (StateSelect = avoid) (10) [DDER] (4) Real[4, 1] $DER.line.terminal_p.phase.theta (StateSelect = avoid) (11) [ALGB] (1) protected Real line.phase2.omega (12) [DDER] (1) Real[1] $DER.line.neutral.terminal_p.theta (StateSelect = avoid) (13) [DDER] (1) Real $DER.$FUN_25 (StateSelect = avoid) (14) [DDER] (1) Real[1] $DER.line.phase3.terminal_p.theta (StateSelect = avoid) (15) [DDER] (4) Real[4, 1] $DER.line.terminal_n.phase.theta (StateSelect = avoid) (16) [DDER] (1) Real[1] $DER.line.phase2.terminal_p.theta (StateSelect = avoid) (17) [ALGB] (2) Real[2] $FUN_39 (start = Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.line.phase1.PhaseSystem_p.j(line.phase2.i_p)) (18) [DDER] (3) Real[3, 1] $DER.sou.sou.vPhase.terminal.theta (StateSelect = avoid) (19) [DDER] (4) Real[4, 1] $DER.res.terminal.phase.theta (StateSelect = avoid) " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.53920962382108]