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/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.PowerPlantTest3,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3",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.001122/0.001122, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.263/1.263, allocations: 194.5 MB / 211.6 MB, free: 3.035 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.001514/0.001514, allocations: 114.8 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1631/0.1631, allocations: 38 MB / 340.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.000322, allocations: 8 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08355/0.08389, allocations: 53.24 MB / 457.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3347/0.4186, allocations: 99.35 MB / 0.5434 GB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.4189, allocations: 94.88 kB / 0.5435 GB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06731/0.4862, allocations: 27.49 MB / 0.5704 GB, free: 5.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4863, allocations: 7.938 kB / 0.5704 GB, free: 5.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.562e-05/0.4863, allocations: 16 kB / 0.5704 GB, free: 5.496 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002361/0.4887, allocations: 1.082 MB / 0.5714 GB, free: 4.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4888, allocations: 12.02 kB / 0.5714 GB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.4889, allocations: 112.5 kB / 0.5716 GB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.4903, allocations: 210.5 kB / 0.5718 GB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.4915, allocations: 0.6007 MB / 0.5723 GB, free: 3.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.4916, allocations: 56.25 kB / 0.5724 GB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.4917, allocations: 63 kB / 0.5725 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.4931, allocations: 0.8209 MB / 0.5733 GB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.4931, allocations: 7.125 kB / 0.5733 GB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.4932, allocations: 29.25 kB / 0.5733 GB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.556e-05/0.4933, allocations: 44.72 kB / 0.5733 GB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.4947, allocations: 0.7617 MB / 0.5741 GB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.499, allocations: 2.871 MB / 0.5769 GB, free: 12 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.5006, allocations: 0.9683 MB / 0.5778 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/0.5006, allocations: 12.61 kB / 0.5778 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.5007, allocations: 45.5 kB / 0.5779 GB, free: 15.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=58): time 2.254e-06/0.5007, allocations: 0 / 0.5779 GB, free: 15.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=62): time 0.004693/0.5054, allocations: 2.553 MB / 0.5804 GB, free: 13.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.5055, allocations: 107.4 kB / 0.5805 GB, free: 12.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.5062, allocations: 484.7 kB / 0.5809 GB, free: 12.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.5062, allocations: 39.77 kB / 0.581 GB, free: 12.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.5064, allocations: 341 kB / 0.5813 GB, free: 12.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.5066, allocations: 215.2 kB / 0.5815 GB, free: 12.08 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.5066, allocations: 14.25 kB / 0.5815 GB, free: 12.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5068, allocations: 379.6 kB / 0.5819 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/0.5074, allocations: 267.4 kB / 0.5821 GB, free: 11.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006148/0.508, allocations: 390.2 kB / 0.5825 GB, free: 11.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.5086, allocations: 314 kB / 0.5828 GB, free: 10.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5086, allocations: 0 / 0.5828 GB, free: 10.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00155/0.5102, allocations: 0.8151 MB / 0.5836 GB, free: 10.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004487/0.5106, allocations: 1.143 MB / 0.5847 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.5107, allocations: 4 kB / 0.5847 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.511, allocations: 56.81 kB / 0.5848 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000722/0.5117, allocations: 179.7 kB / 0.585 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.5133, allocations: 1.634 MB / 0.5865 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.5139, allocations: 64 kB / 0.5866 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.514, allocations: 24 kB / 0.5866 GB, free: 6.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.514, allocations: 4 kB / 0.5866 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001387/0.5154, allocations: 0.697 MB / 0.5873 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.5154, allocations: 4 kB / 0.5873 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.5156, allocations: 60.81 kB / 0.5874 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.5163, allocations: 172.1 kB / 0.5875 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.5179, allocations: 1.644 MB / 0.5891 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005281/0.5184, allocations: 63.95 kB / 0.5892 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.5185, allocations: 24 kB / 0.5892 GB, free: 3.918 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (75): * Single equations (assignments): 74 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004506/0.5189, allocations: 308.9 kB / 0.5895 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.519, allocations: 63.25 kB / 0.5896 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.5206, allocations: 0.7835 MB / 0.5904 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.5206, allocations: 8 kB / 0.5904 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.5206, allocations: 0 / 0.5904 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.5206, allocations: 3.984 kB / 0.5904 GB, free: 2.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.5244, allocations: 2.116 MB / 0.5924 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5244, allocations: 12.03 kB / 0.5924 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/0.525, allocations: 131.8 kB / 0.5926 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000202/0.5252, allocations: 60.94 kB / 0.5926 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/0.5253, allocations: 23.98 kB / 0.5926 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.5267, allocations: 1.596 MB / 0.5942 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.5267, allocations: 19.94 kB / 0.5942 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.529, allocations: 1.605 MB / 0.5958 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.5293, allocations: 200.2 kB / 0.596 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.5294, allocations: 23.94 kB / 0.596 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.5299, allocations: 59.91 kB / 0.5961 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.53, allocations: 67.81 kB / 0.5961 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.53, allocations: 27.94 kB / 0.5962 GB, free: 12.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005767/0.5306, allocations: 382.8 kB / 0.5965 GB, free: 11.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5306, allocations: 0 / 0.5965 GB, free: 11.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009672/0.5316, allocations: 252.8 kB / 0.5968 GB, free: 11.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (62): * Single equations (assignments): 60 * 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: 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00325/0.5349, allocations: 3.909 MB / 0.6006 GB, free: 7.527 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.5372, allocations: 1.243 MB / 0.6018 GB, free: 6.262 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.5372, allocations: 4.125 kB / 0.6018 GB, free: 6.258 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008659/0.538, allocations: 0.4958 MB / 0.6023 GB, free: 5.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007311/0.5388, allocations: 140.6 kB / 0.6024 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008566/0.5474, allocations: 6.499 MB / 0.6088 GB, free: 14.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.548, allocations: 0.9858 MB / 0.6097 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000547/0.5486, allocations: 144.6 kB / 0.6099 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/0.5489, allocations: 267.3 kB / 0.6101 GB, free: 13.49 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5489, allocations: 0 / 0.6101 GB, free: 13.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.5771, allocations: 13.76 MB / 0.6236 GB, free: 15.73 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.5774, allocations: 206.4 kB / 0.6238 GB, free: 15.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/2.719, allocations: 4 kB / 0.6238 GB, free: 15.49 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)