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.001152/0.001152, allocations: 179.4 kB / 8.351 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.733/1.733, allocations: 194.3 MB / 203.1 MB, free: 12.96 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.002075/0.002076, allocations: 124.7 kB / 248.1 MB, free: 15.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1777/0.1777, allocations: 37.92 MB / 330.9 MB, free: 2.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.789e-05, allocations: 0 / 390.5 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3547, allocations: 53.22 MB / 443.7 MB, free: 17.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4442/0.799, allocations: 98.59 MB / 0.5296 GB, free: 90.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.7994, allocations: 85.12 kB / 0.5297 GB, free: 90.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06502/0.8644, allocations: 27.22 MB / 0.5562 GB, free: 72.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.8645, allocations: 0 / 0.5562 GB, free: 72.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.957e-05/0.8646, allocations: 23.94 kB / 0.5563 GB, free: 72.62 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.002086/0.8667, allocations: 0.9791 MB / 0.5572 GB, free: 71.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.8668, allocations: 8.031 kB / 0.5572 GB, free: 71.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.8683, allocations: 210.7 kB / 0.5574 GB, free: 71.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.8693, allocations: 0.5709 MB / 0.558 GB, free: 70.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.8694, allocations: 20 kB / 0.558 GB, free: 70.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-05/0.8695, allocations: 51.84 kB / 0.5581 GB, free: 70.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008788/0.8703, allocations: 0.5493 MB / 0.5586 GB, free: 70.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/0.8713, allocations: 0.6722 MB / 0.5592 GB, free: 69.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.8713, allocations: 0 / 0.5592 GB, free: 69.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.8714, allocations: 0 / 0.5592 GB, free: 69.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.279e-05/0.8715, allocations: 49.28 kB / 0.5593 GB, free: 69.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00362/0.8751, allocations: 2.745 MB / 0.562 GB, free: 66.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00096/0.8761, allocations: 0.8178 MB / 0.5628 GB, free: 65.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.8764, allocations: 251.3 kB / 0.563 GB, free: 65.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.009e-05/0.8765, allocations: 12.5 kB / 0.563 GB, free: 65.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.8765, allocations: 39.12 kB / 0.5631 GB, free: 65.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 3.416e-06/0.8765, allocations: 0 / 0.5631 GB, free: 65.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=62): time 0.002896/0.8794, allocations: 1.781 MB / 0.5648 GB, free: 63.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.8795, allocations: 115.4 kB / 0.5649 GB, free: 63.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.88, allocations: 373.4 kB / 0.5653 GB, free: 63.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.8801, allocations: 25.7 kB / 0.5653 GB, free: 62.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.8803, allocations: 344.2 kB / 0.5656 GB, free: 62.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.8804, allocations: 216.8 kB / 0.5658 GB, free: 62.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.8805, allocations: 0 / 0.5658 GB, free: 62.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8806, allocations: 366.8 kB / 0.5662 GB, free: 62.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.8809, allocations: 205.5 kB / 0.5664 GB, free: 61.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.8813, allocations: 315.5 kB / 0.5667 GB, free: 61.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.8816, allocations: 246.1 kB / 0.5669 GB, free: 61.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8817, allocations: 4 kB / 0.5669 GB, free: 61.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009379/0.8826, allocations: 0.6511 MB / 0.5675 GB, free: 60.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003065/0.8829, allocations: 1.14 MB / 0.5687 GB, free: 59.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.8829, allocations: 4 kB / 0.5687 GB, free: 59.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.8832, allocations: 64.7 kB / 0.5687 GB, free: 59.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.884, allocations: 175.8 kB / 0.5689 GB, free: 59.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.8853, allocations: 1.537 MB / 0.5704 GB, free: 57.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.8859, allocations: 47.94 kB / 0.5704 GB, free: 57.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.8859, allocations: 20 kB / 0.5705 GB, free: 57.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.886, allocations: 4.938 kB / 0.5705 GB, free: 57.41 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008602/0.8868, allocations: 0.5565 MB / 0.571 GB, free: 56.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.8868, allocations: 4 kB / 0.571 GB, free: 56.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.887, allocations: 57.19 kB / 0.5711 GB, free: 56.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.8876, allocations: 171.8 kB / 0.5712 GB, free: 56.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.8887, allocations: 1.545 MB / 0.5727 GB, free: 54.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.8892, allocations: 43.94 kB / 0.5728 GB, free: 54.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.8892, allocations: 20 kB / 0.5728 GB, free: 54.91 MB / 378.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 () * 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.0001698/0.8894, allocations: 124.8 kB / 0.5729 GB, free: 54.78 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008718/0.8903, allocations: 0.5616 MB / 0.5735 GB, free: 54.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.8904, allocations: 63.25 kB / 0.5735 GB, free: 54.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/0.8914, allocations: 0.6194 MB / 0.5741 GB, free: 53.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.8914, allocations: 4 kB / 0.5741 GB, free: 53.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8914, allocations: 4 kB / 0.5741 GB, free: 53.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.8914, allocations: 3.984 kB / 0.5741 GB, free: 53.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.8943, allocations: 1.853 MB / 0.576 GB, free: 51.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.8943, allocations: 16.16 kB / 0.576 GB, free: 51.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.8948, allocations: 131.8 kB / 0.5761 GB, free: 51.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/0.895, allocations: 68.83 kB / 0.5762 GB, free: 51.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.8951, allocations: 12 kB / 0.5762 GB, free: 51.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009627/0.8961, allocations: 1.517 MB / 0.5776 GB, free: 49.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.8961, allocations: 16 kB / 0.5777 GB, free: 49.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.8974, allocations: 1.387 MB / 0.579 GB, free: 48.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.8977, allocations: 192.3 kB / 0.5792 GB, free: 47.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.8978, allocations: 15.94 kB / 0.5792 GB, free: 47.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.8982, allocations: 47.95 kB / 0.5793 GB, free: 47.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.8984, allocations: 67.83 kB / 0.5793 GB, free: 47.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.8984, allocations: 23.98 kB / 0.5794 GB, free: 47.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003056/0.8987, allocations: 290.9 kB / 0.5796 GB, free: 47.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8987, allocations: 0 / 0.5796 GB, free: 47.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000991/0.8997, allocations: 216.8 kB / 0.5798 GB, free: 47.17 MB / 378.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 () * 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.001734/0.9015, allocations: 3.688 MB / 0.5834 GB, free: 43.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.9028, allocations: 1.039 MB / 0.5845 GB, free: 42.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.9028, allocations: 0.5 kB / 0.5845 GB, free: 42.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.9033, allocations: 429.7 kB / 0.5849 GB, free: 41.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/0.9041, allocations: 135.5 kB / 0.585 GB, free: 41.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.9064, allocations: 1.371 MB / 0.5863 GB, free: 40.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.9069, allocations: 0.9905 MB / 0.5873 GB, free: 39.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006202/0.9075, allocations: 170.7 kB / 0.5875 GB, free: 38.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.9078, allocations: 259.3 kB / 0.5877 GB, free: 38.72 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.9079, allocations: 0 / 0.5877 GB, free: 38.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.9408, allocations: 13.27 MB / 0.6007 GB, free: 25.44 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.9411, allocations: 147 kB / 0.6008 GB, free: 25.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.318, allocations: 0 / 0.6008 GB, free: 25.24 MB / 378.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)