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.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.001152/0.001152, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001117/0.001117, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2244/0.2244, allocations: 29.41 MB / 291.2 MB, free: 2.41 MB / 266.7 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.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(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 1.302e-06/1.302e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.575e-05, allocations: 2.312 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.004604/0.004619, allocations: 5.049 MB / 321.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.0068, allocations: 1.78 MB / 323.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.007082, allocations: 31.75 kB / 323.7 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005979/0.007679, allocations: 218.5 kB / 324 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.008102, allocations: 298.1 kB / 324.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.008661, allocations: 430.9 kB / 324.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006542/0.009315, allocations: 0.8776 MB / 325.5 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004644/0.00978, allocations: 478.4 kB / 326 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.01024, allocations: 494.7 kB / 326.5 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.01056, allocations: 283.1 kB / 326.8 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.01063, allocations: 68 kB / 326.8 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.01088, allocations: 239.5 kB / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.01101, allocations: 207.3 kB / 327.3 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.01115, allocations: 207.4 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.01169, allocations: 0.611 MB / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.01169, allocations: 0 / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01169, allocations: 0 / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.0117, allocations: 0 / 328.1 MB, free: 4.684 MB / 298.7 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.0009267/0.01263, allocations: 0.8942 MB / 329 MB, free: 3.754 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.01266, allocations: 15.98 kB / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005605/0.01322, allocations: 196.6 kB / 329.2 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.01366, allocations: 396.1 kB / 329.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.01369, allocations: 41.36 kB / 329.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.01375, allocations: 56.31 kB / 329.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.01423, allocations: 0.4985 MB / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.01425, allocations: 4.188 kB / 330.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.01428, allocations: 24.12 kB / 330.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.01431, allocations: 24.98 kB / 330.2 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.01458, allocations: 189.6 kB / 330.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.01614, allocations: 1.761 MB / 332.2 MB, free: 420 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.01646, allocations: 279.5 kB / 332.4 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.01655, allocations: 70.33 kB / 332.5 MB, free: 44 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.01657, allocations: 8.328 kB / 332.5 MB, free: 36 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.01677, allocations: 188.5 kB / 332.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 1.242e-06/0.01677, allocations: 0 / 332.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.0004178/0.01719, allocations: 265 kB / 333 MB, free: 15.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.01725, allocations: 166.4 kB / 333.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.01747, allocations: 367.2 kB / 333.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.0175, allocations: 33.7 kB / 333.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.01761, allocations: 261.9 kB / 333.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.01768, allocations: 146.7 kB / 333.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.113e-05/0.01777, allocations: 90.11 kB / 334 MB, free: 14.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.01787, allocations: 370.6 kB / 334.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.01796, allocations: 83.36 kB / 334.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.01811, allocations: 239.8 kB / 334.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.01833, allocations: 271.8 kB / 334.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01834, allocations: 0 / 334.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004777/0.01882, allocations: 414.7 kB / 335.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.01884, allocations: 34.11 kB / 335.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.01885, allocations: 12 kB / 335.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/0.01911, allocations: 105.1 kB / 335.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.01932, allocations: 99.81 kB / 335.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.02055, allocations: 1.803 MB / 337.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.02072, allocations: 55.7 kB / 337.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.02074, allocations: 16 kB / 337.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001453/0.02089, allocations: 164.5 kB / 337.6 MB, free: 10.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001426/0.02103, allocations: 250.1 kB / 337.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002117/0.02124, allocations: 268.5 kB / 338.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.464e-06/0.02125, allocations: 4 kB / 338.1 MB, free: 9.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0003958/0.02164, allocations: 386.8 kB / 338.5 MB, free: 9.531 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.02166, allocations: 33.7 kB / 338.5 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.02166, allocations: 4 kB / 338.5 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.02184, allocations: 92.12 kB / 338.6 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.02203, allocations: 95.81 kB / 338.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.02309, allocations: 1.762 MB / 340.5 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.02325, allocations: 47.77 kB / 340.5 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.02327, allocations: 12 kB / 340.6 MB, free: 7.391 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,hydroPlant.reservoirLevel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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.0001128/0.02339, allocations: 228 kB / 340.8 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.02343, allocations: 35.97 kB / 340.8 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.0237, allocations: 236.2 kB / 341 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.02371, allocations: 8 kB / 341 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.02371, allocations: 7.938 kB / 341.1 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.02371, allocations: 3.984 kB / 341.1 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.02428, allocations: 0.5816 MB / 341.6 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.02428, allocations: 0 / 341.6 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.02452, allocations: 94.88 kB / 341.7 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.753e-05/0.02458, allocations: 20.84 kB / 341.8 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.0246, allocations: 8 kB / 341.8 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005192/0.02512, allocations: 1.21 MB / 343 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.02512, allocations: 4 kB / 343 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.02549, allocations: 426.1 kB / 343.4 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.02557, allocations: 63.59 kB / 343.5 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.02561, allocations: 11.94 kB / 343.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.02575, allocations: 28 kB / 343.5 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.02581, allocations: 35.94 kB / 343.5 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.02583, allocations: 8 kB / 343.5 MB, free: 4.242 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.02594, allocations: 148.7 kB / 343.7 MB, free: 4.098 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02594, allocations: 0 / 343.7 MB, free: 4.098 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004513/0.02639, allocations: 271.2 kB / 343.9 MB, free: 3.832 MB / 314.7 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.0001065/0.0265, allocations: 96.34 kB / 344 MB, free: 3.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007106/0.02721, allocations: 0.7921 MB / 344.8 MB, free: 2.871 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.02721, allocations: 4.125 kB / 344.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.02739, allocations: 231.7 kB / 345.1 MB, free: 2.625 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.02773, allocations: 129.1 kB / 345.2 MB, free: 2.512 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.02917, allocations: 1.015 MB / 346.2 MB, free: 1.461 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.02927, allocations: 145.9 kB / 346.3 MB, free: 1.297 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.02944, allocations: 63.38 kB / 346.4 MB, free: 1.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.02965, allocations: 139.3 kB / 346.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02965, allocations: 0 / 346.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of Templates: time 0.01021/0.03986, allocations: 8.393 MB / 354.9 MB, free: 8.816 MB / 330.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0000929362140596]