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.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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000824/0.0008237, allocations: 90.3 kB / 16.65 MB, free: 6.602 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.001019/0.001019, allocations: 181.4 kB / 17.56 MB, free: 6.203 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.468/1.468, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1839/0.1839, allocations: 38.07 MB / 310.1 MB, free: 5.902 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.0004972/0.0004973, allocations: 12 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2302, allocations: 56.34 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005817/0.2361, allocations: 5.407 MB / 438.9 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.2399, allocations: 2.374 MB / 441.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.241, allocations: 35.81 kB / 441.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005537/0.2416, allocations: 99.19 kB / 441.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.2426, allocations: 298.6 kB / 441.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.2438, allocations: 470.2 kB / 442.2 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009519/0.2448, allocations: 1.131 MB / 443.3 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008205/0.2456, allocations: 0.7121 MB / 444 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.2459, allocations: 294.5 kB / 444.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.2462, allocations: 338.1 kB / 444.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.2463, allocations: 24 kB / 444.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.2468, allocations: 375.1 kB / 445 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2469, allocations: 155.3 kB / 445.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.2471, allocations: 339.6 kB / 445.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006195/0.2477, allocations: 1.008 MB / 446.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2477, allocations: 0 / 446.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2477, allocations: 0 / 446.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.2477, allocations: 0 / 446.5 MB, free: 5.57 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001486/0.2492, allocations: 0.9972 MB / 447.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.2493, allocations: 8.031 kB / 447.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007685/0.25, allocations: 159.8 kB / 447.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.2507, allocations: 0.589 MB / 448.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.2508, allocations: 45.69 kB / 448.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.161e-05/0.2509, allocations: 64.38 kB / 448.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.252, allocations: 0.7642 MB / 449.1 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.252, allocations: 0 / 449.1 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.252, allocations: 28 kB / 449.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.2521, allocations: 33.3 kB / 449.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009992/0.2531, allocations: 0.653 MB / 449.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/0.2566, allocations: 2.918 MB / 452.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.258, allocations: 0.7349 MB / 453.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/0.2584, allocations: 243 kB / 453.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.2585, allocations: 4.438 kB / 453.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.2585, allocations: 43 kB / 453.8 MB, free: 14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.194e-06/0.2586, allocations: 0 / 453.8 MB, free: 14 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001542/0.2601, allocations: 0.7366 MB / 454.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.2602, allocations: 107.2 kB / 454.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.261, allocations: 0.5938 MB / 455.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.261, allocations: 33.7 kB / 455.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.2613, allocations: 352.4 kB / 455.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.2614, allocations: 173.5 kB / 455.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.087e-05/0.2615, allocations: 57.72 kB / 455.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2617, allocations: 378.8 kB / 456.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.2622, allocations: 213 kB / 456.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.2627, allocations: 360.5 kB / 456.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009989/0.2637, allocations: 0.5685 MB / 457.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.2638, allocations: 7.938 kB / 457.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00176/0.2655, allocations: 0.8275 MB / 458.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.2657, allocations: 192 kB / 458.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2657, allocations: 3.938 kB / 458.3 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/0.2661, allocations: 120.9 kB / 458.4 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005478/0.2667, allocations: 139.7 kB / 458.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.2697, allocations: 2.256 MB / 460.8 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.2702, allocations: 87.34 kB / 460.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.2702, allocations: 24.06 kB / 461 MB, free: 6.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2702, allocations: 7.984 kB / 461 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/0.2716, allocations: 0.6237 MB / 461.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.2716, allocations: 4 kB / 461.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.2719, allocations: 101.2 kB / 461.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.2725, allocations: 135.8 kB / 461.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.2749, allocations: 2.026 MB / 463.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.2755, allocations: 75.67 kB / 463.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.2756, allocations: 27.92 kB / 463.9 MB, free: 3.309 MB / 334.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.0004508/0.276, allocations: 304.8 kB / 464.2 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.2762, allocations: 67.16 kB / 464.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.2775, allocations: 0.5928 MB / 464.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2775, allocations: 4 kB / 464.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2775, allocations: 0 / 464.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.2775, allocations: 3.984 kB / 464.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.2799, allocations: 1.334 MB / 466.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.2799, allocations: 0 / 466.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.2805, allocations: 119.8 kB / 466.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.2805, allocations: 4 kB / 466.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.2805, allocations: 12 kB / 466.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.2806, allocations: 4 kB / 466.4 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2806, allocations: 3.938 kB / 466.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.2823, allocations: 0.9402 MB / 467.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.2826, allocations: 192.5 kB / 467.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.2827, allocations: 12 kB / 467.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.2831, allocations: 43.95 kB / 467.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.2832, allocations: 36.33 kB / 467.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.2832, allocations: 15.94 kB / 467.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006827/0.2839, allocations: 431 kB / 468 MB, free: 15.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2839, allocations: 0 / 468 MB, free: 15.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000968/0.2849, allocations: 263.2 kB / 468.3 MB, free: 14.84 MB / 350.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.0002602/0.2852, allocations: 119.2 kB / 468.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002193/0.2874, allocations: 1.107 MB / 469.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2874, allocations: 0 / 469.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005154/0.2879, allocations: 266.5 kB / 469.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009141/0.2888, allocations: 146.8 kB / 469.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/0.2923, allocations: 1.881 MB / 471.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.293, allocations: 0.9458 MB / 472.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004864/0.2935, allocations: 116.6 kB / 472.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.2936, allocations: 47.44 kB / 472.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2936, allocations: 0 / 472.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Templates: time 0.01595/0.3096, allocations: 7.62 MB / 480.5 MB, free: 2.547 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: