Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.001897/0.001897, allocations: 80.88 kB / 21.56 MB, free: 2.934 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.002135/0.002135, allocations: 165.1 kB / 24.97 MB, free: 9.129 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.614/1.614, allocations: 177.1 MB / 205.4 MB, free: 5.504 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.316/3.316, allocations: 389.5 MB / 0.6361 GB, free: 12.34 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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.533e-05, allocations: 5.547 kB / 0.7759 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.008979/0.009005, allocations: 4.342 MB / 0.7802 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006614/0.01562, allocations: 3.049 MB / 0.7831 GB, free: 14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.01608, allocations: 15.88 kB / 0.7832 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.01747, allocations: 300.6 kB / 0.7835 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.01907, allocations: 450 kB / 0.7839 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007645/0.01983, allocations: 238.7 kB / 0.7841 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002358/0.02219, allocations: 1.461 MB / 0.7855 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007252/0.02292, allocations: 316.9 kB / 0.7858 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.02514, allocations: 0.825 MB / 0.7866 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.02623, allocations: 0.4913 MB / 0.7871 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.0264, allocations: 41.31 kB / 0.7872 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.02749, allocations: 323.4 kB / 0.7875 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of combineBinaries: time 0.001511/0.02901, allocations: 0.9693 MB / 0.7884 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of replaceArrayConstructors: time 0.0007993/0.02981, allocations: 0.5746 MB / 0.789 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.02994, allocations: 36 kB / 0.789 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.695e-05/0.03004, allocations: 9.906 kB / 0.789 GB, free: 8.027 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 (67) * Number of variables: 83 (55) Notification: Performance of [SIM] Bindings: time 0.005087/0.03513, allocations: 3.619 MB / 0.7926 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of [SIM] FunctionAlias: time 0.0008861/0.03601, allocations: 0.5219 MB / 0.7931 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of [SIM] Early Inline: time 0.004098/0.04011, allocations: 2.705 MB / 0.7957 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of [SIM] Simplify 1: time 0.0004845/0.0406, allocations: 276.7 kB / 0.796 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of [SIM] Alias: time 0.002671/0.04327, allocations: 1.547 MB / 0.7975 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of [SIM] Simplify 2: time 0.0004524/0.04372, allocations: 260 kB / 0.7977 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of [SIM] Remove Stream: time 0.0003409/0.04406, allocations: 190 kB / 0.7979 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of [SIM] Detect States: time 0.001048/0.04511, allocations: 0.593 MB / 0.7985 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of [SIM] Events: time 0.000397/0.04551, allocations: 242.2 kB / 0.7987 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of [SIM] Partitioning: time 0.001463/0.04697, allocations: 0.8218 MB / 0.7995 GB, free: 12.82 MB / 0.7605 GB Error: Internal error NBResolveSingularities.indexReduction failed because there was not enough state candidates to balance out the constraint equations. Constraint Equations (10/11) ****************************** (1) [SCAL] (1) network.lines[1].terminal_p.i[2] - network.terminal[1].i[2] = 0.0; ($RES_SIM_48) (2) [SCAL] (1) network.lines[1].terminal_p.i[1] - network.terminal[1].i[1] = 0.0; ($RES_SIM_49) (3) [FOR-] (2) ($RES_SIM_54) (3) [----] for $i1 in 1:2 loop (3) [----] [SCAL] (1) network.lines[1].line.terminal_p.i[$i1] - network.lines[1].terminal_p.i[$i1] = 0.0; ($RES_SIM_55) (3) [----] end for; (4) [SCAL] (1) network.lines[1].line.omega = $DER.$FUN_1; ($RES_SIM_136) (5) [ARRY] (1) $DER.network.lines[1].terminal_p.theta = $DER.network.lines[1].line.terminal_p.theta; ($RES_SIM_163) (6) [SCAL] (1) $DER.network.lines[1].terminal_p.theta[1] = $DER.network.terminal[1].theta[1]; ($RES_SIM_173) (7) [SCAL] (1) $DER.$FUN_10 = 6.283185307179586 * E.f; ($RES_SIM_145) (8) [SCAL] (1) $DER.$FUN_1 = $DER.network.lines[1].line.terminal_p.theta[1]; ($RES_SIM_131) (9) [SCAL] (1) $DER.$FUN_10 = $DER.E.terminal.theta[1]; ($RES_SIM_154) (10) [SCAL] (1) $DER.E.terminal.theta[1] = $DER.network.terminal[1].theta[1]; ($RES_SIM_139) State Candidate Variables (7/9) ********************************* (1) [DDER] (1) Real[1, 1] $DER.network.lines.line.terminal_p.theta (StateSelect = avoid) (2) [ALGB] (2) flow Real[1, 2] network.lines.terminal_p.i (start = {0.0 for $f1 in 1:1}) (3) [DDER] (2) Real[2, 1] $DER.network.terminal.theta (StateSelect = avoid) (4) [DDER] (1) Real[1, 1] $DER.network.lines.terminal_p.theta (StateSelect = avoid) (5) [DDER] (1) Real $DER.$FUN_1 (StateSelect = avoid) (6) [DDER] (1) Real $DER.$FUN_10 (StateSelect = avoid) (7) [DDER] (1) Real[1] $DER.E.terminal.theta (StateSelect = avoid) " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.349226051941514]