Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001384/0.001384, allocations: 180 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.273/1.273, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00161/0.00161, allocations: 119.9 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1577/0.1577, allocations: 37.99 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 8 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08404/0.08445, allocations: 53.24 MB / 457.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3222/0.4067, allocations: 97.53 MB / 0.5417 GB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.407, allocations: 88.14 kB / 0.5417 GB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05534/0.4623, allocations: 21.76 MB / 0.563 GB, free: 11.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4624, allocations: 0 / 0.563 GB, free: 11.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.416e-05/0.4625, allocations: 20 kB / 0.563 GB, free: 11.47 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002581/0.465, allocations: 1.033 MB / 0.564 GB, free: 10.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4651, allocations: 15.95 kB / 0.564 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000247/0.4654, allocations: 107 kB / 0.5641 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.4665, allocations: 170.8 kB / 0.5643 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.4677, allocations: 0.5755 MB / 0.5649 GB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.4678, allocations: 43.19 kB / 0.5649 GB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.4679, allocations: 69.3 kB / 0.565 GB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.4691, allocations: 0.7245 MB / 0.5657 GB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.4691, allocations: 0 / 0.5657 GB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.4692, allocations: 21.44 kB / 0.5657 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.4693, allocations: 25.31 kB / 0.5657 GB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.4705, allocations: 0.6503 MB / 0.5664 GB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/0.4742, allocations: 2.553 MB / 0.5688 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.4757, allocations: 0.7596 MB / 0.5696 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.4758, allocations: 11.69 kB / 0.5696 GB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.4758, allocations: 34.5 kB / 0.5696 GB, free: 5.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 1.934e-06/0.4758, allocations: 4 kB / 0.5696 GB, free: 5.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.0016/0.4774, allocations: 0.7624 MB / 0.5704 GB, free: 5.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.4775, allocations: 107.2 kB / 0.5705 GB, free: 5.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006633/0.4782, allocations: 484.6 kB / 0.5709 GB, free: 4.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.4782, allocations: 40.92 kB / 0.571 GB, free: 4.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.4784, allocations: 322.4 kB / 0.5713 GB, free: 4.496 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.4786, allocations: 173.4 kB / 0.5715 GB, free: 4.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.4786, allocations: 12.38 kB / 0.5715 GB, free: 4.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4787, allocations: 371.1 kB / 0.5718 GB, free: 4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.4792, allocations: 229.3 kB / 0.572 GB, free: 3.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.4798, allocations: 332.4 kB / 0.5724 GB, free: 3.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/0.4803, allocations: 256.7 kB / 0.5726 GB, free: 3.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.4803, allocations: 11.92 kB / 0.5726 GB, free: 3.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00156/0.4819, allocations: 0.782 MB / 0.5734 GB, free: 2.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003749/0.4823, allocations: 1.059 MB / 0.5744 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4823, allocations: 0 / 0.5744 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/0.4827, allocations: 135.3 kB / 0.5745 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.4833, allocations: 139.2 kB / 0.5747 GB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006107/0.4839, allocations: 0.7248 MB / 0.5754 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.4844, allocations: 91.02 kB / 0.5755 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.4844, allocations: 15.88 kB / 0.5755 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.4844, allocations: 4 kB / 0.5755 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001157/0.4856, allocations: 0.6159 MB / 0.5761 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4856, allocations: 7.984 kB / 0.5761 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.4858, allocations: 88.08 kB / 0.5762 GB, free: 128 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.4864, allocations: 148.2 kB / 0.5763 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.4882, allocations: 1.943 MB / 0.5782 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.4886, allocations: 80.55 kB / 0.5783 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.4887, allocations: 19.88 kB / 0.5783 GB, free: 14.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * 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 initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.000377/0.4891, allocations: 299.3 kB / 0.5786 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.4892, allocations: 63.25 kB / 0.5787 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.4904, allocations: 0.6086 MB / 0.5793 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.4904, allocations: 4 kB / 0.5793 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.4904, allocations: 288 / 0.5793 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.4904, allocations: 3.984 kB / 0.5793 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.4924, allocations: 1.314 MB / 0.5805 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4924, allocations: 3.938 kB / 0.5805 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.493, allocations: 131.4 kB / 0.5807 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.493, allocations: 0 / 0.5807 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.4931, allocations: 14.73 kB / 0.5807 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.4931, allocations: 4 kB / 0.5807 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4931, allocations: 0 / 0.5807 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.4947, allocations: 0.9801 MB / 0.5816 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.495, allocations: 194.6 kB / 0.5818 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.4951, allocations: 11.12 kB / 0.5818 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.4955, allocations: 50.95 kB / 0.5819 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.4956, allocations: 40.09 kB / 0.5819 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.4956, allocations: 15.31 kB / 0.5819 GB, free: 11.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005415/0.4961, allocations: 390 kB / 0.5823 GB, free: 10.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4962, allocations: 4 kB / 0.5823 GB, free: 10.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007928/0.497, allocations: 261.2 kB / 0.5826 GB, free: 10.65 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002081/0.499, allocations: 1.605 MB / 0.5841 GB, free: 9.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.5011, allocations: 0.98 MB / 0.5851 GB, free: 8.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5011, allocations: 0 / 0.5851 GB, free: 8.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.5016, allocations: 282.4 kB / 0.5854 GB, free: 7.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.5023, allocations: 114.9 kB / 0.5855 GB, free: 7.848 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007832/0.5101, allocations: 6.077 MB / 0.5914 GB, free: 1.648 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.5107, allocations: 0.9418 MB / 0.5923 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004527/0.5111, allocations: 116.5 kB / 0.5924 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/0.5115, allocations: 235.4 kB / 0.5927 GB, free: 340 kB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5115, allocations: 0 / 0.5927 GB, free: 340 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.5413, allocations: 12.88 MB / 0.6052 GB, free: 3.465 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.5416, allocations: 218.4 kB / 0.6054 GB, free: 3.215 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.077/2.619, allocations: 3.938 kB / 0.6055 GB, free: 3.211 MB / 410.7 MB (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest2_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest2.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1)