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/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.PowerPlantTest1,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest1",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.001036/0.001036, allocations: 179.6 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.305/1.305, allocations: 194.5 MB / 211.6 MB, free: 2.957 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.001654/0.001654, allocations: 120 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1579/0.1579, allocations: 38 MB / 340.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08275/0.08313, allocations: 53.23 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.3958, allocations: 97.32 MB / 0.5414 GB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.3961, allocations: 97.56 kB / 0.5415 GB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05428/0.4504, allocations: 21.61 MB / 0.5626 GB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4504, allocations: 0 / 0.5626 GB, free: 12.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.097e-05/0.4505, allocations: 23.94 kB / 0.5627 GB, free: 12.18 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.001877/0.4524, allocations: 1.011 MB / 0.5636 GB, free: 11.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4524, allocations: 20.02 kB / 0.5637 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.4526, allocations: 100.2 kB / 0.5638 GB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009268/0.4535, allocations: 170.8 kB / 0.5639 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.4546, allocations: 0.5673 MB / 0.5645 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.4547, allocations: 52.55 kB / 0.5645 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/0.4548, allocations: 62.69 kB / 0.5646 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.4559, allocations: 0.7006 MB / 0.5653 GB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.4559, allocations: 0 / 0.5653 GB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.456, allocations: 27.44 kB / 0.5653 GB, free: 9.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/0.4561, allocations: 37.03 kB / 0.5653 GB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.4571, allocations: 0.6053 MB / 0.5659 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003533/0.4606, allocations: 2.531 MB / 0.5684 GB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.462, allocations: 0.7182 MB / 0.5691 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.462, allocations: 8.484 kB / 0.5691 GB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.4621, allocations: 38.66 kB / 0.5691 GB, free: 6.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 1.974e-06/0.4621, allocations: 7.938 kB / 0.5691 GB, free: 6.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001408/0.4635, allocations: 0.697 MB / 0.5698 GB, free: 6.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.4636, allocations: 115.3 kB / 0.5699 GB, free: 6.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/0.4642, allocations: 482.1 kB / 0.5704 GB, free: 5.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.4643, allocations: 36.45 kB / 0.5704 GB, free: 5.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.4645, allocations: 326.8 kB / 0.5707 GB, free: 5.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.4647, allocations: 166 kB / 0.5709 GB, free: 5.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.4647, allocations: 10.88 kB / 0.5709 GB, free: 5.254 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4649, allocations: 374.3 kB / 0.5713 GB, free: 4.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.4653, allocations: 199.6 kB / 0.5715 GB, free: 4.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.4658, allocations: 321 kB / 0.5718 GB, free: 4.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.4662, allocations: 233.3 kB / 0.572 GB, free: 4.348 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4662, allocations: 7.891 kB / 0.572 GB, free: 4.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001477/0.4677, allocations: 0.7477 MB / 0.5727 GB, free: 3.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003959/0.4681, allocations: 1.048 MB / 0.5737 GB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4681, allocations: 0 / 0.5737 GB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004432/0.4686, allocations: 134.9 kB / 0.5739 GB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.4691, allocations: 123.6 kB / 0.574 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006193/0.4697, allocations: 0.7209 MB / 0.5747 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.4702, allocations: 86.52 kB / 0.5748 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.4702, allocations: 23.89 kB / 0.5748 GB, free: 1.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.4703, allocations: 4 kB / 0.5748 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00106/0.4713, allocations: 0.5723 MB / 0.5754 GB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4713, allocations: 7.953 kB / 0.5754 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.4716, allocations: 88.73 kB / 0.5755 GB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.4721, allocations: 131.5 kB / 0.5756 GB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.4739, allocations: 1.959 MB / 0.5775 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.4743, allocations: 66.94 kB / 0.5776 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.4743, allocations: 28.91 kB / 0.5776 GB, free: 15.21 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 (56): * Single equations (assignments): 55 * 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.0004024/0.4747, allocations: 292.1 kB / 0.5779 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/0.4749, allocations: 63.31 kB / 0.5779 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.4759, allocations: 0.5568 MB / 0.5785 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4759, allocations: 8 kB / 0.5785 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.4759, allocations: 0 / 0.5785 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4759, allocations: 0 / 0.5785 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.4777, allocations: 1.265 MB / 0.5797 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4777, allocations: 0 / 0.5797 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/0.4782, allocations: 110.6 kB / 0.5798 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4782, allocations: 0 / 0.5798 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.4783, allocations: 11.31 kB / 0.5798 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.4783, allocations: 11.98 kB / 0.5798 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4783, allocations: 0 / 0.5798 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.4798, allocations: 0.9163 MB / 0.5807 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.48, allocations: 187.8 kB / 0.5809 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.4801, allocations: 16.48 kB / 0.5809 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.4805, allocations: 41.47 kB / 0.581 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.4806, allocations: 41.02 kB / 0.581 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.4806, allocations: 11.06 kB / 0.581 GB, free: 12.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005804/0.4812, allocations: 386.8 kB / 0.5814 GB, free: 12.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4812, allocations: 0 / 0.5814 GB, free: 12.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008385/0.482, allocations: 261.2 kB / 0.5816 GB, free: 11.89 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 (49): * Single equations (assignments): 48 * 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.001769/0.4838, allocations: 1.54 MB / 0.5831 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.4855, allocations: 0.9168 MB / 0.584 GB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4855, allocations: 0.8125 kB / 0.584 GB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004609/0.486, allocations: 254.4 kB / 0.5843 GB, free: 9.141 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.4866, allocations: 110.4 kB / 0.5844 GB, free: 9.035 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007857/0.4945, allocations: 5.989 MB / 0.5902 GB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.4951, allocations: 0.9378 MB / 0.5912 GB, free: 1.957 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004927/0.4956, allocations: 116.5 kB / 0.5913 GB, free: 1.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/0.4959, allocations: 239.4 kB / 0.5915 GB, free: 1.605 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.4959, allocations: 0 / 0.5915 GB, free: 1.605 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.5241, allocations: 12.68 MB / 0.6039 GB, free: 4.93 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.5243, allocations: 214.3 kB / 0.6041 GB, free: 4.684 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.658, allocations: 3.938 kB / 0.6041 GB, free: 4.68 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest1.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1)