Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007718/0.0007718, allocations: 87.92 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009378/0.0009379, allocations: 177.8 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1721/0.1721, allocations: 38.04 MB / 310.1 MB, free: 5.926 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005652/0.0005651, allocations: 12.56 kB / 377.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2562, allocations: 56.33 MB / 433.5 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.005089/0.2613, allocations: 6.093 MB / 439.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004241/0.2656, allocations: 2.915 MB / 442.5 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.267, allocations: 39.75 kB / 442.5 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006332/0.2676, allocations: 111.1 kB / 442.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.2689, allocations: 430.2 kB / 443.1 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.2701, allocations: 0.5023 MB / 443.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.2716, allocations: 1.397 MB / 445 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.2728, allocations: 0.8489 MB / 445.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.2733, allocations: 350.2 kB / 446.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000416/0.2737, allocations: 417.9 kB / 446.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.2738, allocations: 28 kB / 446.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007644/0.2745, allocations: 0.5729 MB / 447.2 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.2747, allocations: 191.3 kB / 447.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.2749, allocations: 383.3 kB / 447.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008418/0.2758, allocations: 1.176 MB / 448.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2758, allocations: 4 kB / 448.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2758, allocations: 0 / 448.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.2758, allocations: 0 / 448.9 MB, free: 3.332 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001774/0.2776, allocations: 1.068 MB / 450 MB, free: 2.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.2777, allocations: 8.031 kB / 450 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.2788, allocations: 207.6 kB / 450.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007935/0.2797, allocations: 0.6125 MB / 450.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.2797, allocations: 49.69 kB / 450.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.2798, allocations: 68.28 kB / 450.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.2811, allocations: 0.9016 MB / 451.8 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.2811, allocations: 7.938 kB / 451.8 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/0.2812, allocations: 27.94 kB / 451.8 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.003e-05/0.2813, allocations: 41.3 kB / 451.9 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.2827, allocations: 0.8092 MB / 452.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004727/0.2875, allocations: 3.288 MB / 456 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.2892, allocations: 0.9877 MB / 457 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/0.2899, allocations: 323.3 kB / 457.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.565e-05/0.2899, allocations: 12.55 kB / 457.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.29, allocations: 39.12 kB / 457.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=59): time 5.56e-06/0.29, allocations: 0 / 457.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.005024/0.295, allocations: 2.615 MB / 460 MB, free: 7.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.2951, allocations: 115.4 kB / 460.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008057/0.2959, allocations: 0.5899 MB / 460.7 MB, free: 7.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.296, allocations: 37.7 kB / 460.7 MB, free: 7.047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.2963, allocations: 360.3 kB / 461 MB, free: 6.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.2964, allocations: 228.7 kB / 461.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.2965, allocations: 61.62 kB / 461.3 MB, free: 6.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2967, allocations: 390.8 kB / 461.7 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/0.2973, allocations: 273.8 kB / 462 MB, free: 5.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006892/0.298, allocations: 429.8 kB / 462.4 MB, free: 5.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.2993, allocations: 0.7318 MB / 463.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2993, allocations: 0 / 463.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001633/0.3009, allocations: 0.8579 MB / 464 MB, free: 3.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.3011, allocations: 201.4 kB / 464.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3011, allocations: 4 kB / 464.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/0.3013, allocations: 68.75 kB / 464.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/0.3021, allocations: 183.8 kB / 464.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.3037, allocations: 1.628 MB / 466.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.3043, allocations: 55.95 kB / 466.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.3044, allocations: 31.92 kB / 466.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.445e-06/0.3044, allocations: 7.281 kB / 466.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001477/0.3059, allocations: 0.7399 MB / 466.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3059, allocations: 0 / 466.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/0.3061, allocations: 69.25 kB / 467 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.3068, allocations: 171.8 kB / 467.1 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.3083, allocations: 1.627 MB / 468.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.3088, allocations: 51.95 kB / 468.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.3088, allocations: 27.98 kB / 468.8 MB, free: 14.44 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 79 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004558/0.3093, allocations: 328.8 kB / 469.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.3094, allocations: 79 kB / 469.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.3112, allocations: 0.7998 MB / 470 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3112, allocations: 4 kB / 470 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.3112, allocations: 11.98 kB / 470 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3112, allocations: 3.938 kB / 470 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004177/0.3154, allocations: 2.189 MB / 472.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.3154, allocations: 8 kB / 472.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/0.316, allocations: 140.3 kB / 472.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002223/0.3163, allocations: 56.81 kB / 472.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.3163, allocations: 23.98 kB / 472.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/0.3181, allocations: 1.584 MB / 474 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.3181, allocations: 8 kB / 474.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.3204, allocations: 1.364 MB / 475.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.3207, allocations: 208.1 kB / 475.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/0.3208, allocations: 23.94 kB / 475.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.3213, allocations: 51.95 kB / 475.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.3214, allocations: 75.73 kB / 475.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.3215, allocations: 24 kB / 475.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000693/0.3222, allocations: 423 kB / 476.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3222, allocations: 4 kB / 476.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00116/0.3234, allocations: 252 kB / 476.5 MB, free: 6.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001503/0.3235, allocations: 123 kB / 476.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002468/0.326, allocations: 1.286 MB / 477.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.326, allocations: 0 / 477.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009307/0.3269, allocations: 0.527 MB / 478.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.3284, allocations: 159.5 kB / 478.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.3316, allocations: 2.101 MB / 480.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/0.3322, allocations: 0.9861 MB / 481.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005426/0.3327, allocations: 144.9 kB / 481.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3329, allocations: 47.44 kB / 481.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3329, allocations: 0 / 481.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of Templates: time 0.01392/0.3468, allocations: 7.879 MB / 489.7 MB, free: 8.992 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) Environment - environmentSimulation: