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.001107/0.001107, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001286/0.001286, allocations: 170.5 kB / 24.91 MB, free: 9.211 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.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2552/0.2552, allocations: 29.41 MB / 291.2 MB, free: 2.484 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 2.525e-06/2.525e-06, allocations: 0 / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.156e-05/4.408e-05, allocations: 2.312 kB / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.007652/0.007696, allocations: 5.001 MB / 321.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.01147, allocations: 1.792 MB / 323.6 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005388/0.01201, allocations: 27.81 kB / 323.7 MB, free: 9.152 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009291/0.01294, allocations: 206.6 kB / 323.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008641/0.0138, allocations: 317.9 kB / 324.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.01504, allocations: 426.9 kB / 324.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.01605, allocations: 0.8776 MB / 325.5 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005876/0.01664, allocations: 470.5 kB / 325.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006124/0.01725, allocations: 494.8 kB / 326.4 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.01763, allocations: 291.1 kB / 326.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.904e-05/0.01771, allocations: 71.94 kB / 326.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003675/0.01807, allocations: 235.5 kB / 327 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.01823, allocations: 199.3 kB / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.01842, allocations: 215.4 kB / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007618/0.01918, allocations: 0.5955 MB / 328 MB, free: 4.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.01919, allocations: 4 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01919, allocations: 4 kB / 328 MB, free: 4.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.0192, allocations: 0 / 328 MB, free: 4.793 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.001212/0.02041, allocations: 0.898 MB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.02045, allocations: 11.98 kB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005682/0.02102, allocations: 200.6 kB / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.02158, allocations: 404.1 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.02162, allocations: 37.38 kB / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.02169, allocations: 56.36 kB / 329.6 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.02226, allocations: 0.4947 MB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.02228, allocations: 192 / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.02231, allocations: 24.12 kB / 330.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.02235, allocations: 28.98 kB / 330.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.02263, allocations: 193.6 kB / 330.3 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.02451, allocations: 1.761 MB / 332.1 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.02489, allocations: 267.5 kB / 332.3 MB, free: 232 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.981e-05/0.02498, allocations: 70.34 kB / 332.4 MB, free: 156 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.025, allocations: 4.328 kB / 332.4 MB, free: 152 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.02525, allocations: 196.5 kB / 332.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 1.483e-06/0.02525, allocations: 0 / 332.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.0005074/0.02576, allocations: 269 kB / 332.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.02583, allocations: 166.2 kB / 333 MB, free: 15.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.02608, allocations: 363.2 kB / 333.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.02611, allocations: 33.7 kB / 333.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.02624, allocations: 257.9 kB / 333.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/0.02634, allocations: 150.7 kB / 333.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.85e-05/0.02643, allocations: 86.11 kB / 333.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.02656, allocations: 370.6 kB / 334.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.02666, allocations: 87.61 kB / 334.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.02683, allocations: 247.7 kB / 334.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.02707, allocations: 263.8 kB / 334.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.02708, allocations: 4 kB / 334.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005132/0.02759, allocations: 407.2 kB / 335.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.02763, allocations: 37.69 kB / 335.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.02764, allocations: 4 kB / 335.3 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.02795, allocations: 111.6 kB / 335.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.02814, allocations: 87.83 kB / 335.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.02964, allocations: 1.803 MB / 337.3 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.02982, allocations: 51.72 kB / 337.3 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.02985, allocations: 19.98 kB / 337.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001727/0.03002, allocations: 160.5 kB / 337.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001773/0.0302, allocations: 255.7 kB / 337.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002389/0.03044, allocations: 268.5 kB / 338 MB, free: 10.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.03044, allocations: 0 / 338 MB, free: 10.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0004097/0.03085, allocations: 382.8 kB / 338.4 MB, free: 9.652 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.03088, allocations: 38.09 kB / 338.4 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.03088, allocations: 4 kB / 338.4 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.03107, allocations: 95.67 kB / 338.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.03125, allocations: 79.89 kB / 338.6 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.0325, allocations: 1.762 MB / 340.4 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.03267, allocations: 55.78 kB / 340.4 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.03269, allocations: 16 kB / 340.4 MB, free: 7.508 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.000141/0.03283, allocations: 208.1 kB / 340.7 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.03288, allocations: 43.95 kB / 340.7 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.03319, allocations: 228.2 kB / 340.9 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.0332, allocations: 7.984 kB / 340.9 MB, free: 7.016 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.0332, allocations: 4 kB / 340.9 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.03321, allocations: 0 / 340.9 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/0.03391, allocations: 0.5855 MB / 341.5 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.03391, allocations: 4 kB / 341.5 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.03413, allocations: 79.89 kB / 341.6 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.761e-05/0.03423, allocations: 28.77 kB / 341.6 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.03426, allocations: 15.98 kB / 341.6 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006947/0.03495, allocations: 1.194 MB / 342.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.03495, allocations: 0 / 342.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.03539, allocations: 438.2 kB / 343.3 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.03549, allocations: 59.58 kB / 343.3 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.03552, allocations: 8 kB / 343.3 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.03566, allocations: 31.97 kB / 343.4 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.03574, allocations: 39.81 kB / 343.4 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.03576, allocations: 8 kB / 343.4 MB, free: 4.379 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.03591, allocations: 148.9 kB / 343.6 MB, free: 4.234 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03591, allocations: 0 / 343.6 MB, free: 4.234 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005921/0.0365, allocations: 267.3 kB / 343.8 MB, free: 3.973 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.0001489/0.03665, allocations: 100.3 kB / 343.9 MB, free: 3.867 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008552/0.0375, allocations: 0.7998 MB / 344.7 MB, free: 3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.03751, allocations: 4 kB / 344.7 MB, free: 2.996 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.03773, allocations: 219.2 kB / 344.9 MB, free: 2.766 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.03817, allocations: 132.2 kB / 345.1 MB, free: 2.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.03992, allocations: 1.016 MB / 346.1 MB, free: 1.602 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.04004, allocations: 149.9 kB / 346.2 MB, free: 1.434 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.04023, allocations: 59.34 kB / 346.3 MB, free: 1.371 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.04044, allocations: 139.3 kB / 346.4 MB, free: 1.234 MB / 314.7 MB Notification: Performance of SimCode: time 1.333e-06/0.04044, allocations: 0 / 346.4 MB, free: 1.234 MB / 314.7 MB Notification: Performance of Templates: time 0.01487/0.05531, allocations: 8.311 MB / 354.7 MB, free: 9.043 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.242605715058744]