Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.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.002152/0.002152, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.002663/0.002663, allocations: 211 kB / 20.13 MB, free: 2.969 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.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08019/0.08019, allocations: 16.94 MB / 326.5 MB, free: 8.598 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 68.41 kB / 456 MB, free: 36.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1434, allocations: 57.71 MB / 0.5017 GB, free: 9.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.007847/0.1512, allocations: 4.576 MB / 0.5061 GB, free: 4.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005171/0.1564, allocations: 2.423 MB / 0.5085 GB, free: 2.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008709/0.1573, allocations: 15.88 kB / 0.5085 GB, free: 2.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.1584, allocations: 238.5 kB / 0.5088 GB, free: 2.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.162, allocations: 1.181 MB / 0.5099 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.163, allocations: 352 kB / 0.5102 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002383/0.1654, allocations: 1.031 MB / 0.5113 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.1656, allocations: 45.75 kB / 0.5113 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008563/0.1665, allocations: 378.4 kB / 0.5117 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000839/0.1673, allocations: 382.3 kB / 0.512 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.1675, allocations: 40 kB / 0.5121 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.1685, allocations: 267.8 kB / 0.5123 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.1688, allocations: 119.4 kB / 0.5124 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005512/0.1693, allocations: 342.1 kB / 0.5128 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.171, allocations: 0.8794 MB / 0.5136 GB, free: 13.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.171, allocations: 0 / 0.5136 GB, free: 13.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.171, allocations: 4 kB / 0.5136 GB, free: 13.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.171, allocations: 0 / 0.5136 GB, free: 13.04 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003646/0.1747, allocations: 1.242 MB / 0.5148 GB, free: 11.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1747, allocations: 8.031 kB / 0.5148 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005391/0.1753, allocations: 104.4 kB / 0.5149 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000936/0.1762, allocations: 0.5223 MB / 0.5154 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.1763, allocations: 33.38 kB / 0.5155 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.218e-05/0.1763, allocations: 44.38 kB / 0.5155 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007997/0.1771, allocations: 0.5154 MB / 0.516 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.1771, allocations: 3.938 kB / 0.516 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.1772, allocations: 20 kB / 0.516 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.1772, allocations: 12 kB / 0.5161 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.1778, allocations: 354.1 kB / 0.5164 GB, free: 10.02 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00416/0.182, allocations: 3.409 MB / 0.5197 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/0.1826, allocations: 271.8 kB / 0.52 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.1828, allocations: 81.33 kB / 0.5201 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.1828, allocations: 7.984 kB / 0.5201 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.1828, allocations: 46.5 kB / 0.5201 GB, free: 6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.976e-06/0.1828, allocations: 0 / 0.5201 GB, free: 6 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001147/0.184, allocations: 479.1 kB / 0.5206 GB, free: 5.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.184, allocations: 55.41 kB / 0.5206 GB, free: 5.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007979/0.1848, allocations: 0.6044 MB / 0.5212 GB, free: 4.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.1849, allocations: 33.7 kB / 0.5212 GB, free: 4.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.1852, allocations: 328.7 kB / 0.5216 GB, free: 4.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.1853, allocations: 127 kB / 0.5217 GB, free: 4.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.1857, allocations: 250.7 kB / 0.5219 GB, free: 4.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.1859, allocations: 382.8 kB / 0.5223 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.1864, allocations: 302.5 kB / 0.5226 GB, free: 3.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.187, allocations: 410.5 kB / 0.523 GB, free: 2.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008509/0.1879, allocations: 0.5649 MB / 0.5235 GB, free: 2.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1879, allocations: 0 / 0.5235 GB, free: 2.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001726/0.1896, allocations: 0.9933 MB / 0.5245 GB, free: 1.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.1896, allocations: 9.562 kB / 0.5245 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1896, allocations: 0 / 0.5245 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002776/0.1899, allocations: 44.95 kB / 0.5245 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009867/0.1909, allocations: 251.6 kB / 0.5248 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.1909, allocations: 8 kB / 0.5248 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008451/0.1918, allocations: 87.39 kB / 0.5249 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.798e-05/0.1918, allocations: 40 kB / 0.5249 GB, free: 0.9727 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (load.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003357/0.1922, allocations: 205.6 kB / 0.5251 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.1923, allocations: 67.56 kB / 0.5252 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007095/0.193, allocations: 317.2 kB / 0.5255 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.193, allocations: 4 kB / 0.5255 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.193, allocations: 0 / 0.5255 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.193, allocations: 3.984 kB / 0.5255 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.1945, allocations: 0.9471 MB / 0.5264 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.1945, allocations: 7.938 kB / 0.5264 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.1947, allocations: 51.97 kB / 0.5265 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001711/0.1949, allocations: 32.83 kB / 0.5265 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.1949, allocations: 4 kB / 0.5265 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.1949, allocations: 15.97 kB / 0.5265 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1949, allocations: 0 / 0.5265 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.1956, allocations: 415.6 kB / 0.5269 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.1958, allocations: 192.5 kB / 0.5271 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.311e-05/0.1959, allocations: 12 kB / 0.5271 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.1964, allocations: 27.97 kB / 0.5271 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.1964, allocations: 11.98 kB / 0.5271 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.1964, allocations: 15.98 kB / 0.5272 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005365/0.197, allocations: 406.8 kB / 0.5275 GB, free: 14.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.197, allocations: 0 / 0.5275 GB, free: 14.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007596/0.1977, allocations: 239.8 kB / 0.5278 GB, free: 13.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003116/0.198, allocations: 151.1 kB / 0.5279 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.1991, allocations: 0.615 MB / 0.5285 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.1991, allocations: 7.938 kB / 0.5285 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.1994, allocations: 190.1 kB / 0.5287 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.2, allocations: 59.61 kB / 0.5288 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.2015, allocations: 0.8261 MB / 0.5296 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.202, allocations: 0.8439 MB / 0.5304 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003118/0.2024, allocations: 101.2 kB / 0.5305 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.2025, allocations: 51.42 kB / 0.5305 GB, free: 10.94 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2025, allocations: 0 / 0.5305 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Templates: time 0.01579/0.2183, allocations: 7.13 MB / 0.5375 GB, free: 3.816 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 5.284444972989149] Failed to read output from testmodel.py, exit status != 0: 0.2261399000417441 0.24051924300000002 0.066372631 Calling exit ...