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.0007849/0.0007849, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003205/0.003205, allocations: 160.5 kB / 24.7 MB, free: 9.418 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 0.8876/0.8876, allocations: 177.2 MB / 205 MB, free: 5.727 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.2172/0.2172, allocations: 29.41 MB / 290.8 MB, free: 2.414 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.262e-06/1.262e-06, allocations: 3.938 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.41e-05, allocations: 4.109 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.00444/0.004464, allocations: 4.879 MB / 436.4 MB, free: 8.176 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.006984, allocations: 2.057 MB / 438.4 MB, free: 6.113 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.007386, allocations: 31.75 kB / 438.4 MB, free: 6.082 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006965/0.008082, allocations: 258.3 kB / 438.7 MB, free: 5.828 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006615/0.008744, allocations: 353.8 kB / 439 MB, free: 5.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008125/0.009556, allocations: 429.7 kB / 439.5 MB, free: 5.062 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000771/0.01033, allocations: 0.8929 MB / 440.4 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005415/0.01087, allocations: 452.6 kB / 440.8 MB, free: 3.719 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005314/0.0114, allocations: 0.4948 MB / 441.3 MB, free: 3.223 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.01171, allocations: 279.1 kB / 441.6 MB, free: 2.949 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.977e-05/0.01178, allocations: 68 kB / 441.6 MB, free: 2.883 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.01215, allocations: 311.1 kB / 441.9 MB, free: 2.578 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.01229, allocations: 195.3 kB / 442.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.01245, allocations: 219.4 kB / 442.3 MB, free: 2.172 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000803/0.01325, allocations: 0.9502 MB / 443.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01325, allocations: 0 / 443.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01325, allocations: 0 / 443.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.01326, allocations: 0 / 443.3 MB, free: 1.219 MB / 410.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.001342/0.01461, allocations: 0.9662 MB / 444.3 MB, free: 220 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.01464, allocations: 11.98 kB / 444.3 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004783/0.01512, allocations: 148.4 kB / 444.4 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1664/0.1815, allocations: 473.8 kB / 444.9 MB, free: 54.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.1815, allocations: 41.06 kB / 444.9 MB, free: 54.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.1816, allocations: 54.73 kB / 445 MB, free: 54.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.1823, allocations: 0.7275 MB / 445.7 MB, free: 54.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1824, allocations: 5.188 kB / 445.7 MB, free: 54.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.1824, allocations: 23.11 kB / 445.7 MB, free: 54.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.1824, allocations: 26.78 kB / 445.7 MB, free: 54.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.1831, allocations: 0.6015 MB / 446.3 MB, free: 54.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.1848, allocations: 2.268 MB / 448.6 MB, free: 52.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/0.1854, allocations: 0.506 MB / 449.1 MB, free: 52.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.1857, allocations: 199.8 kB / 449.3 MB, free: 52.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1857, allocations: 4.828 kB / 449.3 MB, free: 52.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.186, allocations: 307.7 kB / 449.6 MB, free: 52.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/0.186, allocations: 4.234 kB / 449.6 MB, free: 52.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=41): time 0.0008908/0.1869, allocations: 0.6656 MB / 450.3 MB, free: 51.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1869, allocations: 170.6 kB / 450.5 MB, free: 51.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.1872, allocations: 439.3 kB / 450.9 MB, free: 51.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1873, allocations: 40.86 kB / 450.9 MB, free: 51.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1874, allocations: 310.1 kB / 451.2 MB, free: 51.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.1874, allocations: 150.5 kB / 451.4 MB, free: 51.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-05/0.1875, allocations: 88.25 kB / 451.5 MB, free: 51.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.1875, allocations: 361.4 kB / 451.8 MB, free: 50.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1878, allocations: 220.4 kB / 452 MB, free: 50.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.1881, allocations: 398.6 kB / 452.4 MB, free: 50.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.1885, allocations: 0.5211 MB / 452.9 MB, free: 50 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1885, allocations: 0 / 452.9 MB, free: 50 MB / 410.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000831/0.1894, allocations: 0.7964 MB / 453.7 MB, free: 49.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.1894, allocations: 43.59 kB / 453.8 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1894, allocations: 3.281 kB / 453.8 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002712/0.1897, allocations: 136.8 kB / 453.9 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.1898, allocations: 91.45 kB / 454 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.1914, allocations: 2.497 MB / 456.5 MB, free: 47.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.1917, allocations: 75.12 kB / 456.6 MB, free: 47.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.1917, allocations: 20.06 kB / 456.6 MB, free: 47.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003179/0.192, allocations: 364.5 kB / 457 MB, free: 47.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002444/0.1923, allocations: 384.5 kB / 457.3 MB, free: 47.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004402/0.1927, allocations: 0.497 MB / 457.8 MB, free: 46.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.1927, allocations: 3.047 kB / 457.8 MB, free: 46.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0006789/0.1934, allocations: 0.7065 MB / 458.5 MB, free: 46.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1934, allocations: 35.92 kB / 458.6 MB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.1934, allocations: 3.375 kB / 458.6 MB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.1936, allocations: 130.6 kB / 458.7 MB, free: 46.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1938, allocations: 88.86 kB / 458.8 MB, free: 46.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.1949, allocations: 2.303 MB / 461.1 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1951, allocations: 60 kB / 461.1 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.1951, allocations: 23.8 kB / 461.2 MB, free: 44.52 MB / 410.7 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 7.816e-05/0.1952, allocations: 215.3 kB / 461.4 MB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.1952, allocations: 50.52 kB / 461.4 MB, free: 44.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005776/0.1958, allocations: 0.5053 MB / 461.9 MB, free: 44.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1958, allocations: 6.391 kB / 461.9 MB, free: 44.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.1958, allocations: 3.312 kB / 461.9 MB, free: 44.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1958, allocations: 7.312 kB / 462 MB, free: 44.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008727/0.1967, allocations: 1.005 MB / 463 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1967, allocations: 0 / 463 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.1969, allocations: 89.3 kB / 463 MB, free: 43.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.213e-05/0.197, allocations: 25.05 kB / 463.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.197, allocations: 7.25 kB / 463.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003776/0.1974, allocations: 1.342 MB / 464.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1974, allocations: 2.156 kB / 464.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.1982, allocations: 0.845 MB / 465.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.1982, allocations: 86.34 kB / 465.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.1983, allocations: 18.59 kB / 465.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.1985, allocations: 40.52 kB / 465.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.1985, allocations: 37.91 kB / 465.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.1985, allocations: 9.781 kB / 465.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002049/0.1987, allocations: 314.4 kB / 465.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1987, allocations: 0 / 465.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004588/0.1992, allocations: 266.3 kB / 466 MB, free: 41.49 MB / 410.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 9.697e-05/0.1993, allocations: 110 kB / 466.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009991/0.2003, allocations: 1.164 MB / 467.3 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2003, allocations: 0 / 467.3 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.2006, allocations: 324.9 kB / 467.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.201, allocations: 115.7 kB / 467.7 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.2021, allocations: 1.17 MB / 468.9 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.2022, allocations: 305 kB / 469.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.2023, allocations: 39.97 kB / 469.2 MB, free: 39.69 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.2023, allocations: 4 kB / 469.2 MB, free: 39.69 MB / 410.7 MB Notification: Performance of Templates: time 0.006426/0.2088, allocations: 9.681 MB / 478.9 MB, free: 38.7 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.122166637331247] Failed to read output from testmodel.py, exit status != 0: 0.21353117655962706 0.221188458 0.20630136100000002 Calling exit ...