Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.001587/0.001587, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002038/0.002038, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.583/1.583, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.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.1888/0.1888, allocations: 38.54 MB / 353.2 MB, free: 12.31 MB / 286.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.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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.89 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3162, allocations: 62.45 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.007257/0.3234, allocations: 5.135 MB / 0.5482 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004138/0.3276, allocations: 2.167 MB / 0.5503 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005509/0.3281, allocations: 37.69 kB / 0.5503 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.3292, allocations: 269.6 kB / 0.5506 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009324/0.3301, allocations: 349.1 kB / 0.5509 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.3313, allocations: 0.5102 MB / 0.5514 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.3326, allocations: 1.066 MB / 0.5524 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008691/0.3334, allocations: 0.535 MB / 0.553 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006897/0.3341, allocations: 431.4 kB / 0.5534 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005161/0.3346, allocations: 370.9 kB / 0.5537 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.3348, allocations: 79.12 kB / 0.5538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006259/0.3354, allocations: 314 kB / 0.5541 GB, free: 8.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.3356, allocations: 220.6 kB / 0.5543 GB, free: 7.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.336, allocations: 304.5 kB / 0.5546 GB, free: 7.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.3373, allocations: 1.091 MB / 0.5557 GB, free: 6.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3373, allocations: 0 / 0.5557 GB, free: 6.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3373, allocations: 1.188 kB / 0.5557 GB, free: 6.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.3373, allocations: 0 / 0.5557 GB, free: 6.973 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002209/0.3395, allocations: 1.068 MB / 0.5567 GB, free: 6.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3396, allocations: 17.09 kB / 0.5567 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008702/0.3404, allocations: 166.6 kB / 0.5569 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.3415, allocations: 0.5439 MB / 0.5574 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.3416, allocations: 45.69 kB / 0.5575 GB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.3417, allocations: 68.33 kB / 0.5575 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.3431, allocations: 0.8153 MB / 0.5583 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.3431, allocations: 3.938 kB / 0.5583 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.3432, allocations: 28 kB / 0.5584 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.3432, allocations: 25.31 kB / 0.5584 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.3445, allocations: 0.6335 MB / 0.559 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/0.3488, allocations: 2.524 MB / 0.5615 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.3501, allocations: 0.5963 MB / 0.5621 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.3506, allocations: 222.9 kB / 0.5623 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.3506, allocations: 8.438 kB / 0.5623 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.3507, allocations: 39 kB / 0.5623 GB, free: 336 kB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.334e-06/0.3507, allocations: 0 / 0.5623 GB, free: 336 kB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.001628/0.3523, allocations: 0.7017 MB / 0.563 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/0.3524, allocations: 133 kB / 0.5631 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007663/0.3532, allocations: 0.4951 MB / 0.5636 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/0.3532, allocations: 41.7 kB / 0.5636 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.3535, allocations: 364.7 kB / 0.564 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.3537, allocations: 178.4 kB / 0.5642 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.3539, allocations: 106.3 kB / 0.5643 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.3541, allocations: 374.7 kB / 0.5646 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.3545, allocations: 215.4 kB / 0.5648 GB, free: 13.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.3551, allocations: 401.7 kB / 0.5652 GB, free: 13.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.3562, allocations: 0.5606 MB / 0.5658 GB, free: 12.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3562, allocations: 0 / 0.5658 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00179/0.358, allocations: 0.7694 MB / 0.5665 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.358, allocations: 8.406 kB / 0.5665 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.358, allocations: 8 kB / 0.5665 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004269/0.3584, allocations: 112.7 kB / 0.5666 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.359, allocations: 131.8 kB / 0.5668 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/0.3622, allocations: 2.282 MB / 0.569 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.3628, allocations: 75.58 kB / 0.5691 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.3628, allocations: 24 kB / 0.5691 GB, free: 9.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006958/0.3635, allocations: 365.3 kB / 0.5694 GB, free: 8.719 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005663/0.3641, allocations: 389.8 kB / 0.5698 GB, free: 8.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009571/0.3651, allocations: 0.5256 MB / 0.5703 GB, free: 7.691 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.3651, allocations: 7.984 kB / 0.5703 GB, free: 7.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001459/0.3665, allocations: 0.6914 MB / 0.571 GB, free: 6.984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3665, allocations: 8 kB / 0.571 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3666, allocations: 4.188 kB / 0.571 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003377/0.3669, allocations: 100.7 kB / 0.5711 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.3675, allocations: 136.1 kB / 0.5712 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.3701, allocations: 2.072 MB / 0.5733 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.3706, allocations: 79.62 kB / 0.5733 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.3706, allocations: 20 kB / 0.5734 GB, free: 4.469 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002571/0.3709, allocations: 208.1 kB / 0.5736 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.371, allocations: 63.62 kB / 0.5736 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.3723, allocations: 0.5569 MB / 0.5742 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3723, allocations: 4 kB / 0.5742 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3723, allocations: 3.938 kB / 0.5742 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3723, allocations: 3.984 kB / 0.5742 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.3746, allocations: 1.123 MB / 0.5753 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3746, allocations: 0 / 0.5753 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.3751, allocations: 107.9 kB / 0.5754 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.3752, allocations: 7.938 kB / 0.5754 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.3752, allocations: 15.92 kB / 0.5754 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.3752, allocations: 4 kB / 0.5754 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3752, allocations: 4 kB / 0.5754 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.377, allocations: 0.9026 MB / 0.5763 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.3772, allocations: 111.4 kB / 0.5764 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.3773, allocations: 15.94 kB / 0.5764 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.3777, allocations: 36.08 kB / 0.5764 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.3778, allocations: 40.3 kB / 0.5765 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.3779, allocations: 12.09 kB / 0.5765 GB, free: 1.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006992/0.3786, allocations: 362.8 kB / 0.5768 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3786, allocations: 0 / 0.5768 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001039/0.3796, allocations: 287.2 kB / 0.5771 GB, free: 0.5586 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.3798, allocations: 111.2 kB / 0.5772 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002332/0.3821, allocations: 1.053 MB / 0.5782 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3821, allocations: 0 / 0.5782 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005419/0.3826, allocations: 246.7 kB / 0.5785 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.3834, allocations: 134.5 kB / 0.5786 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.3864, allocations: 1.543 MB / 0.5801 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.3868, allocations: 346.7 kB / 0.5804 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.387, allocations: 47.42 kB / 0.5805 GB, free: 13.01 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.387, allocations: 0 / 0.5805 GB, free: 13.01 MB / 430.1 MB Notification: Performance of Templates: time 0.01596/0.403, allocations: 9.811 MB / 0.5901 GB, free: 3.207 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.805971961002797] Failed to read output from testmodel.py, exit status != 0: 0.41194188268855214 0.427303526 0.08672900800000001 Calling exit ...