Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.001956/0.001956, 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.0021/0.0021, allocations: 166.7 kB / 24.98 MB, free: 8.145 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.681/1.681, allocations: 177.1 MB / 205.4 MB, free: 5.496 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.31/3.31, allocations: 389.5 MB / 0.6361 GB, free: 12.3 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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.714e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006859/0.006886, allocations: 3.742 MB / 0.7796 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005737/0.01262, allocations: 2.611 MB / 0.7821 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.01305, allocations: 23.81 kB / 0.7822 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.01409, allocations: 230.7 kB / 0.7824 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.0152, allocations: 379.6 kB / 0.7827 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000617/0.01581, allocations: 219.4 kB / 0.7829 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001862/0.01767, allocations: 1.299 MB / 0.7842 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006222/0.0183, allocations: 307.8 kB / 0.7845 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.01964, allocations: 0.694 MB / 0.7852 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008183/0.02046, allocations: 447.2 kB / 0.7856 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.819e-05/0.02055, allocations: 36 kB / 0.7856 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000741/0.02129, allocations: 263.4 kB / 0.7859 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of combineBinaries: time 0.0012/0.02249, allocations: 0.8904 MB / 0.7868 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of replaceArrayConstructors: time 0.0006805/0.02317, allocations: 0.5582 MB / 0.7873 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.476e-05/0.02326, allocations: 32 kB / 0.7873 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.883e-05/0.02336, allocations: 4 kB / 0.7873 GB, free: 9.758 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: 81 (66) * Number of variables: 81 (54) Notification: Performance of [SIM] Bindings: time 0.004977/0.02834, allocations: 3.245 MB / 0.7905 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of [SIM] FunctionAlias: time 0.0008908/0.02923, allocations: 481.9 kB / 0.791 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of [SIM] Early Inline: time 0.003706/0.03294, allocations: 2.49 MB / 0.7934 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of [SIM] Simplify 1: time 0.0004735/0.03341, allocations: 257.4 kB / 0.7937 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of [SIM] Alias: time 0.002599/0.03601, allocations: 1.48 MB / 0.7951 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of [SIM] Simplify 2: time 0.0004483/0.03646, allocations: 247.4 kB / 0.7953 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of [SIM] Remove Stream: time 0.0002666/0.03672, allocations: 179.8 kB / 0.7955 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of [SIM] Detect States: time 0.001202/0.03793, allocations: 0.5556 MB / 0.796 GB, free: 448 kB / 0.7448 GB Notification: Performance of [SIM] Events: time 0.0003347/0.03826, allocations: 211.7 kB / 0.7962 GB, free: 236 kB / 0.7448 GB Notification: Performance of [SIM] Partitioning: time 0.001231/0.03949, allocations: 0.7738 MB / 0.797 GB, free: 15.4 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) [ARRY] (1) $DER.network.lines[1].terminal_p.theta = $DER.network.lines[1].line.terminal_p.theta; ($RES_SIM_149) (2) [SCAL] (1) $DER.$FUN_8 = 6.283185307179586 * E.f; ($RES_SIM_134) (3) [SCAL] (1) network.lines[1].terminal_p.i[2] - network.terminal[1].i[2] = 0.0; ($RES_SIM_47) (4) [SCAL] (1) network.lines[1].terminal_p.i[1] - network.terminal[1].i[1] = 0.0; ($RES_SIM_48) (5) [FOR-] (2) ($RES_SIM_53) (5) [----] for $i1 in 1:2 loop (5) [----] [SCAL] (1) network.lines[1].line.terminal_p.i[$i1] - network.lines[1].terminal_p.i[$i1] = 0.0; ($RES_SIM_54) (5) [----] end for; (6) [SCAL] (1) $DER.$FUN_1 = $DER.network.lines[1].line.terminal_p.theta[1]; ($RES_SIM_170) (7) [SCAL] (1) $DER.network.lines[1].terminal_p.theta[1] = $DER.network.terminal[1].theta[1]; ($RES_SIM_157) (8) [SCAL] (1) $DER.$FUN_8 = $DER.E.terminal.theta[1]; ($RES_SIM_142) (9) [SCAL] (1) network.lines[1].line.omega = $DER.$FUN_1; ($RES_SIM_128) (10) [SCAL] (1) $DER.E.terminal.theta[1] = $DER.network.terminal[1].theta[1]; ($RES_SIM_127) 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_8 (StateSelect = avoid) (7) [DDER] (1) Real[1] $DER.E.terminal.theta (StateSelect = avoid) " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.3943835301324725]