Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.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.001439/0.001439, allocations: 119 kB / 17.78 MB, free: 5.23 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.001559/0.001559, allocations: 189.2 kB / 20.73 MB, free: 2.297 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.493/1.493, allocations: 225.6 MB / 249.1 MB, free: 3.598 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.1905/0.1905, allocations: 38.49 MB / 342.5 MB, free: 8.016 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.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 66.33 kB / 479.1 MB, free: 33.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1337, allocations: 61.25 MB / 0.5277 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.007654/0.1414, allocations: 5.177 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003775/0.1451, allocations: 2.14 MB / 0.5348 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004315/0.1456, allocations: 19.94 kB / 0.5349 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009127/0.1465, allocations: 274.1 kB / 0.5351 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007636/0.1472, allocations: 338.1 kB / 0.5354 GB, free: 8.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009111/0.1482, allocations: 407.2 kB / 0.5358 GB, free: 8.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.1492, allocations: 0.9048 MB / 0.5367 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006886/0.1499, allocations: 416.6 kB / 0.5371 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005131/0.1504, allocations: 358.6 kB / 0.5375 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005377/0.1509, allocations: 366.4 kB / 0.5378 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.151, allocations: 68 kB / 0.5379 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006339/0.1517, allocations: 355.3 kB / 0.5382 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.1519, allocations: 195.3 kB / 0.5384 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003426/0.1522, allocations: 330.3 kB / 0.5387 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.1534, allocations: 0.93 MB / 0.5396 GB, free: 4.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1535, allocations: 0 / 0.5396 GB, free: 4.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1535, allocations: 7.875 kB / 0.5396 GB, free: 4.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.1535, allocations: 0 / 0.5396 GB, free: 4.594 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002127/0.1556, allocations: 1.053 MB / 0.5407 GB, free: 3.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1556, allocations: 11.89 kB / 0.5407 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009034/0.1565, allocations: 152.4 kB / 0.5408 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008995/0.1574, allocations: 0.5291 MB / 0.5413 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.1575, allocations: 37.38 kB / 0.5414 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1576, allocations: 56.36 kB / 0.5414 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.1589, allocations: 0.6749 MB / 0.5421 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.159, allocations: 3.938 kB / 0.5421 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.159, allocations: 19.98 kB / 0.5421 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-05/0.1591, allocations: 29 kB / 0.5421 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.1604, allocations: 0.6049 MB / 0.5427 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004049/0.1645, allocations: 2.685 MB / 0.5453 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.1659, allocations: 0.5905 MB / 0.5459 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004917/0.1664, allocations: 202.2 kB / 0.5461 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.515e-05/0.1664, allocations: 8.312 kB / 0.5461 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006748/0.1671, allocations: 309.6 kB / 0.5464 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.984e-06/0.1671, allocations: 0 / 0.5464 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=41): time 0.001944/0.1691, allocations: 0.7489 MB / 0.5471 GB, free: 12.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1692, allocations: 140.5 kB / 0.5473 GB, free: 12.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007214/0.1699, allocations: 0.4903 MB / 0.5478 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.1699, allocations: 37.7 kB / 0.5478 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.1702, allocations: 308.4 kB / 0.5481 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.1703, allocations: 150.8 kB / 0.5482 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.1705, allocations: 94.19 kB / 0.5483 GB, free: 11.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.1707, allocations: 362.8 kB / 0.5487 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.1712, allocations: 194.9 kB / 0.5489 GB, free: 10.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.1718, allocations: 315.2 kB / 0.5492 GB, free: 10.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.1729, allocations: 0.5178 MB / 0.5497 GB, free: 9.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1729, allocations: 0 / 0.5497 GB, free: 9.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00191/0.1748, allocations: 0.7726 MB / 0.5504 GB, free: 8.984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.1749, allocations: 37.8 kB / 0.5504 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.1749, allocations: 11.92 kB / 0.5505 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005067/0.1754, allocations: 129.1 kB / 0.5506 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.1758, allocations: 91.88 kB / 0.5507 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/0.1796, allocations: 2.654 MB / 0.5533 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.1801, allocations: 79.58 kB / 0.5533 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.1802, allocations: 16 kB / 0.5534 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006929/0.1809, allocations: 337.1 kB / 0.5537 GB, free: 5.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005375/0.1814, allocations: 295.2 kB / 0.554 GB, free: 5.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000982/0.1824, allocations: 0.5025 MB / 0.5544 GB, free: 4.605 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/0.1824, allocations: 4 kB / 0.5545 GB, free: 4.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001557/0.184, allocations: 0.6828 MB / 0.5551 GB, free: 3.902 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.184, allocations: 29.7 kB / 0.5551 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.184, allocations: 8 kB / 0.5552 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/0.1844, allocations: 133.1 kB / 0.5553 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.1848, allocations: 91.81 kB / 0.5554 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.1877, allocations: 2.452 MB / 0.5578 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.1883, allocations: 63.8 kB / 0.5578 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.1883, allocations: 20 kB / 0.5578 GB, free: 0.9609 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.000266/0.1886, allocations: 216 kB / 0.558 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.701e-05/0.1887, allocations: 59.62 kB / 0.5581 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.1899, allocations: 0.5121 MB / 0.5586 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.19, allocations: 4 kB / 0.5586 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.19, allocations: 0 / 0.5586 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.19, allocations: 3.984 kB / 0.5586 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.1921, allocations: 1.167 MB / 0.5598 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.1921, allocations: 7.938 kB / 0.5598 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.1926, allocations: 83.88 kB / 0.5598 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/0.1927, allocations: 28.84 kB / 0.5599 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.1927, allocations: 8 kB / 0.5599 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.194, allocations: 1.469 MB / 0.5613 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.194, allocations: 0 / 0.5613 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.1958, allocations: 0.8466 MB / 0.5621 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.1961, allocations: 168.7 kB / 0.5623 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.1961, allocations: 15.94 kB / 0.5623 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.1966, allocations: 35.95 kB / 0.5623 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.1967, allocations: 35.95 kB / 0.5624 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.1967, allocations: 15.98 kB / 0.5624 GB, free: 12.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005956/0.1973, allocations: 358.8 kB / 0.5627 GB, free: 11.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1973, allocations: 0 / 0.5627 GB, free: 11.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009786/0.1983, allocations: 251.5 kB / 0.563 GB, free: 11.43 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001544/0.1984, allocations: 107.1 kB / 0.5631 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.2008, allocations: 1.13 MB / 0.5642 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2008, allocations: 0 / 0.5642 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006708/0.2015, allocations: 334.9 kB / 0.5645 GB, free: 9.801 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/0.2022, allocations: 121.4 kB / 0.5646 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.2047, allocations: 1.243 MB / 0.5658 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.2053, allocations: 0.8979 MB / 0.5667 GB, free: 7.492 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003522/0.2056, allocations: 104.3 kB / 0.5668 GB, free: 7.387 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2058, allocations: 35.44 kB / 0.5668 GB, free: 7.352 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2058, allocations: 0 / 0.5668 GB, free: 7.352 MB / 430.1 MB Notification: Performance of Templates: time 0.01627/0.222, allocations: 8.439 MB / 0.5751 GB, free: 14.95 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1806030329316854]