Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 115.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2898/0.2898, allocations: 38 MB / 337.2 MB, free: 12.92 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.73 kB / 467.5 MB, free: 27.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09731, allocations: 58.07 MB / 0.5133 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.007589/0.1049, allocations: 5.612 MB / 0.5188 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004363/0.1093, allocations: 2.61 MB / 0.5213 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004991/0.1099, allocations: 23.88 kB / 0.5213 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.1111, allocations: 362 kB / 0.5217 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.1122, allocations: 461.8 kB / 0.5221 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1133, allocations: 455 kB / 0.5225 GB, free: 232 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.1146, allocations: 1.068 MB / 0.5236 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008429/0.1155, allocations: 0.5707 MB / 0.5241 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000606/0.1161, allocations: 410.4 kB / 0.5245 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005825/0.1167, allocations: 418.3 kB / 0.5249 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.1169, allocations: 76 kB / 0.525 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000876/0.1177, allocations: 0.4989 MB / 0.5255 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.118, allocations: 239.2 kB / 0.5257 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.1184, allocations: 374.1 kB / 0.5261 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.1198, allocations: 1.082 MB / 0.5271 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1199, allocations: 0 / 0.5271 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1199, allocations: 0 / 0.5271 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1199, allocations: 7.938 kB / 0.5271 GB, free: 11.5 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002306/0.1222, allocations: 1.124 MB / 0.5282 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1222, allocations: 11.89 kB / 0.5283 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.1235, allocations: 188.3 kB / 0.5284 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.1245, allocations: 0.5681 MB / 0.529 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.1246, allocations: 37.69 kB / 0.529 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.1247, allocations: 60.38 kB / 0.5291 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.1263, allocations: 0.7866 MB / 0.5298 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.1263, allocations: 7.891 kB / 0.5299 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.13e-05/0.1264, allocations: 27.98 kB / 0.5299 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.405e-05/0.1264, allocations: 41.3 kB / 0.5299 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.128, allocations: 0.7311 MB / 0.5306 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004437/0.1325, allocations: 2.896 MB / 0.5335 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.134, allocations: 0.5807 MB / 0.534 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/0.1348, allocations: 358.8 kB / 0.5344 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/0.1348, allocations: 12.42 kB / 0.5344 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008592/0.1357, allocations: 422.3 kB / 0.5348 GB, free: 3.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.465e-06/0.1357, allocations: 4 kB / 0.5348 GB, free: 3.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=58): time 0.004725/0.1404, allocations: 2.126 MB / 0.5369 GB, free: 1.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.1405, allocations: 111.4 kB / 0.537 GB, free: 1.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007351/0.1413, allocations: 486 kB / 0.5374 GB, free: 0.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/0.1414, allocations: 41.64 kB / 0.5375 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.1416, allocations: 317 kB / 0.5378 GB, free: 184 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.1418, allocations: 206.4 kB / 0.538 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.1421, allocations: 106.3 kB / 0.5381 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.1423, allocations: 374.8 kB / 0.5384 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000676/0.143, allocations: 295.2 kB / 0.5387 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007555/0.1437, allocations: 406.3 kB / 0.5391 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.1452, allocations: 0.7224 MB / 0.5398 GB, free: 13.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1452, allocations: 3.938 kB / 0.5398 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002408/0.1476, allocations: 1.017 MB / 0.5408 GB, free: 12.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.1477, allocations: 33.7 kB / 0.5408 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.1477, allocations: 4 kB / 0.5408 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006892/0.1484, allocations: 181.8 kB / 0.541 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.1489, allocations: 119.7 kB / 0.5411 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005139/0.1541, allocations: 4.139 MB / 0.5452 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.1547, allocations: 56 kB / 0.5452 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.1548, allocations: 23.98 kB / 0.5452 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008739/0.1557, allocations: 449.2 kB / 0.5457 GB, free: 7.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006957/0.1564, allocations: 394.8 kB / 0.5461 GB, free: 7.238 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001312/0.1577, allocations: 0.6951 MB / 0.5467 GB, free: 6.496 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.1577, allocations: 0 / 0.5467 GB, free: 6.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.002024/0.1597, allocations: 0.9271 MB / 0.5476 GB, free: 5.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.1598, allocations: 33.7 kB / 0.5477 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1598, allocations: 4 kB / 0.5477 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/0.1604, allocations: 179.3 kB / 0.5478 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.1609, allocations: 111.9 kB / 0.548 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004225/0.1651, allocations: 3.946 MB / 0.5518 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006071/0.1658, allocations: 59.94 kB / 0.5519 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.1658, allocations: 23.98 kB / 0.5519 GB, free: 0.9102 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,secondary.count,$PRE.secondary.count,secondary.T_start,$PRE.secondary.T_start,$whenCondition1,hydroPlant.reservoirLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002737/0.1661, allocations: 219.1 kB / 0.5521 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.1662, allocations: 71.5 kB / 0.5522 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.1681, allocations: 0.811 MB / 0.553 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.1682, allocations: 8 kB / 0.553 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1682, allocations: 0 / 0.553 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.1682, allocations: 11.92 kB / 0.553 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.1712, allocations: 1.664 MB / 0.5546 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1712, allocations: 0 / 0.5546 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/0.1719, allocations: 140 kB / 0.5547 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.1721, allocations: 57.67 kB / 0.5548 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.1722, allocations: 16 kB / 0.5548 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/0.1747, allocations: 2.898 MB / 0.5576 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.1747, allocations: 7.969 kB / 0.5576 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/0.1772, allocations: 1.311 MB / 0.5589 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.1775, allocations: 184.7 kB / 0.5591 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.484e-05/0.1776, allocations: 16 kB / 0.5591 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.1782, allocations: 59.92 kB / 0.5592 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.1783, allocations: 52.67 kB / 0.5592 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.1784, allocations: 27.92 kB / 0.5592 GB, free: 8.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005599/0.179, allocations: 342.8 kB / 0.5596 GB, free: 8.594 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.179, allocations: 4 kB / 0.5596 GB, free: 8.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001016/0.18, allocations: 259.9 kB / 0.5598 GB, free: 8.336 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (hydroPlant.reservoirLevel.y,hydroPlant.rotor.phi,hydroPlant.rotor.w,hydroPlant.controlDynamics.x_scaled[1]) * Number of discrete variables: 4 (system.initime,$whenCondition1,secondary.T_start,secondary.count) * Number of discrete states: 1 (secondary.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001769/0.1802, allocations: 135 kB / 0.56 GB, free: 8.191 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003334/0.1835, allocations: 1.747 MB / 0.5617 GB, free: 6.367 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.1835, allocations: 0 / 0.5617 GB, free: 6.367 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.1847, allocations: 0.6064 MB / 0.5622 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008415/0.1855, allocations: 116.2 kB / 0.5624 GB, free: 5.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.1885, allocations: 1.567 MB / 0.5639 GB, free: 4.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.1891, allocations: 0.9469 MB / 0.5648 GB, free: 3.027 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.1894, allocations: 51.38 kB / 0.5649 GB, free: 2.977 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1894, allocations: 0 / 0.5649 GB, free: 2.977 MB / 430.1 MB Notification: Performance of Templates: time 0.0191/0.2085, allocations: 14.07 MB / 0.5786 GB, free: 4.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.925392062054016] Failed to read output from testmodel.py, exit status != 0: 0.2152175880037248 0.426273839 0.30375701600000005 Calling exit ...