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.001697/0.001697, allocations: 182 kB / 13.64 MB, free: 1.676 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.822/1.822, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001657/0.001657, allocations: 123.8 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1629/0.1629, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.314e-05/4.327e-05, allocations: 8 kB / 397.6 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3014, allocations: 53.21 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.7362, allocations: 97.24 MB / 0.5352 GB, free: 88.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/0.7366, allocations: 88.22 kB / 0.5353 GB, free: 88.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05268/0.7893, allocations: 21.55 MB / 0.5564 GB, free: 72.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7893, allocations: 0 / 0.5564 GB, free: 72.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.827e-05/0.7894, allocations: 16 kB / 0.5564 GB, free: 72.57 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.001449/0.7909, allocations: 0.9055 MB / 0.5573 GB, free: 71.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.7909, allocations: 8.031 kB / 0.5573 GB, free: 71.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.791, allocations: 98.45 kB / 0.5574 GB, free: 71.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008784/0.7919, allocations: 182.8 kB / 0.5576 GB, free: 71.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.7928, allocations: 0.5368 MB / 0.5581 GB, free: 70.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/0.7929, allocations: 49.3 kB / 0.5581 GB, free: 70.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.654e-05/0.793, allocations: 63.89 kB / 0.5582 GB, free: 70.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009375/0.7939, allocations: 0.6514 MB / 0.5588 GB, free: 69.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.794, allocations: 0 / 0.5588 GB, free: 69.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/0.794, allocations: 31.98 kB / 0.5588 GB, free: 69.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.7941, allocations: 29.23 kB / 0.5589 GB, free: 69.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007727/0.7948, allocations: 0.5401 MB / 0.5594 GB, free: 69.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.798, allocations: 2.531 MB / 0.5619 GB, free: 66.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008498/0.7989, allocations: 0.6039 MB / 0.5625 GB, free: 66.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.7991, allocations: 195.1 kB / 0.5627 GB, free: 65.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.7992, allocations: 12.42 kB / 0.5627 GB, free: 65.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.7992, allocations: 35 kB / 0.5627 GB, free: 65.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.104e-06/0.7992, allocations: 0 / 0.5627 GB, free: 65.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.0007008/0.8, allocations: 443.2 kB / 0.5631 GB, free: 65.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.8, allocations: 107.2 kB / 0.5632 GB, free: 65.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.8004, allocations: 453 kB / 0.5637 GB, free: 64.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.8005, allocations: 37.73 kB / 0.5637 GB, free: 64.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.8007, allocations: 325.2 kB / 0.564 GB, free: 64.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.8008, allocations: 173.5 kB / 0.5642 GB, free: 64.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.8008, allocations: 8 kB / 0.5642 GB, free: 64.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.8009, allocations: 374.8 kB / 0.5645 GB, free: 63.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.8012, allocations: 161.2 kB / 0.5647 GB, free: 63.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.8014, allocations: 273.1 kB / 0.5649 GB, free: 63.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.8017, allocations: 205.6 kB / 0.5651 GB, free: 63.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8017, allocations: 0 / 0.5651 GB, free: 63.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001057/0.8028, allocations: 0.6364 MB / 0.5658 GB, free: 62.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002631/0.8031, allocations: 1.057 MB / 0.5668 GB, free: 61.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.8031, allocations: 4 kB / 0.5668 GB, free: 61.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003756/0.8035, allocations: 96.81 kB / 0.5669 GB, free: 61.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.804, allocations: 135.8 kB / 0.567 GB, free: 61.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005034/0.8045, allocations: 0.6734 MB / 0.5677 GB, free: 60.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.805, allocations: 91.41 kB / 0.5678 GB, free: 60.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.805, allocations: 16 kB / 0.5678 GB, free: 60.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.805, allocations: 4 kB / 0.5678 GB, free: 60.39 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007869/0.8058, allocations: 0.5109 MB / 0.5683 GB, free: 59.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.8059, allocations: 11.97 kB / 0.5683 GB, free: 59.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002192/0.8061, allocations: 96.73 kB / 0.5684 GB, free: 59.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.8065, allocations: 119.9 kB / 0.5685 GB, free: 59.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.808, allocations: 1.928 MB / 0.5704 GB, free: 57.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.8085, allocations: 71.56 kB / 0.5705 GB, free: 57.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.8085, allocations: 20 kB / 0.5705 GB, free: 57.5 MB / 378.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 () * 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.0001614/0.8087, allocations: 144.5 kB / 0.5706 GB, free: 57.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.8088, allocations: 59.25 kB / 0.5707 GB, free: 57.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008989/0.8097, allocations: 490.4 kB / 0.5711 GB, free: 56.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.8097, allocations: 4 kB / 0.5711 GB, free: 56.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.8097, allocations: 0 / 0.5711 GB, free: 56.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.8097, allocations: 7.984 kB / 0.5711 GB, free: 56.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.8111, allocations: 1.173 MB / 0.5723 GB, free: 55.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.8112, allocations: 3.984 kB / 0.5723 GB, free: 55.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.8117, allocations: 115.9 kB / 0.5724 GB, free: 55.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.8117, allocations: 4 kB / 0.5724 GB, free: 55.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.8117, allocations: 12 kB / 0.5724 GB, free: 55.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.8117, allocations: 3.938 kB / 0.5724 GB, free: 55.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8118, allocations: 0 / 0.5724 GB, free: 55.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000893/0.8127, allocations: 0.7899 MB / 0.5732 GB, free: 54.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.8128, allocations: 180.2 kB / 0.5734 GB, free: 54.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/0.8129, allocations: 12 kB / 0.5734 GB, free: 54.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.8133, allocations: 43.95 kB / 0.5734 GB, free: 54.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.8134, allocations: 40.34 kB / 0.5735 GB, free: 54.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.8134, allocations: 19.98 kB / 0.5735 GB, free: 54.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003769/0.8138, allocations: 357.7 kB / 0.5738 GB, free: 53.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8138, allocations: 3.938 kB / 0.5738 GB, free: 53.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007652/0.8146, allocations: 259.2 kB / 0.5741 GB, free: 53.7 MB / 378.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 () * 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.001135/0.8157, allocations: 1.412 MB / 0.5754 GB, free: 52.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.8169, allocations: 0.811 MB / 0.5762 GB, free: 51.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.817, allocations: 0 / 0.5762 GB, free: 51.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.8172, allocations: 218.5 kB / 0.5764 GB, free: 51.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.8178, allocations: 110 kB / 0.5766 GB, free: 51.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.8201, allocations: 1.284 MB / 0.5778 GB, free: 49.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.8204, allocations: 0.9433 MB / 0.5787 GB, free: 48.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005812/0.821, allocations: 162.6 kB / 0.5789 GB, free: 48.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.8213, allocations: 227.4 kB / 0.5791 GB, free: 48.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.8213, allocations: 0 / 0.5791 GB, free: 48.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.8477, allocations: 13.56 MB / 0.5923 GB, free: 34.87 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.8479, allocations: 180.4 kB / 0.5925 GB, free: 34.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.124, allocations: 0 / 0.5925 GB, free: 34.64 MB / 378.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)