Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 180.5 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.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008636/0.0008635, allocations: 89.28 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1638/0.1638, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 8 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2724, allocations: 56.32 MB / 480.4 MB, free: 9.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.4065, allocations: 105.5 MB / 0.5722 GB, free: 12.92 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.4068, allocations: 91.95 kB / 0.5722 GB, free: 12.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06855/0.4753, allocations: 28.38 MB / 0.6 GB, free: 208 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4754, allocations: 0 / 0.6 GB, free: 208 kB / 426.7 MB Notification: Performance of Transformations before backend: time 6.672e-05/0.4755, allocations: 20 kB / 0.6 GB, free: 188 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00214/0.4776, allocations: 1.127 MB / 0.6011 GB, free: 15.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.4777, allocations: 8.031 kB / 0.6011 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.4778, allocations: 118.4 kB / 0.6012 GB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.4791, allocations: 210.7 kB / 0.6014 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.4803, allocations: 0.6401 MB / 0.602 GB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.4804, allocations: 49.31 kB / 0.6021 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.4805, allocations: 71.91 kB / 0.6021 GB, free: 13.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.4819, allocations: 0.8779 MB / 0.603 GB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.482, allocations: 3.953 kB / 0.603 GB, free: 12.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.482, allocations: 31.98 kB / 0.603 GB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.371e-05/0.4821, allocations: 41.28 kB / 0.6031 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.4835, allocations: 0.7897 MB / 0.6038 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004488/0.488, allocations: 3.276 MB / 0.607 GB, free: 8.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.4896, allocations: 0.988 MB / 0.608 GB, free: 7.609 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.216e-05/0.4897, allocations: 8.625 kB / 0.608 GB, free: 7.602 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.4897, allocations: 43.11 kB / 0.6081 GB, free: 7.551 MB / 442.7 MB Notification: Performance of pre-optimization done (n=59): time 3.477e-06/0.4898, allocations: 0 / 0.6081 GB, free: 7.551 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.00486/0.4946, allocations: 2.604 MB / 0.6106 GB, free: 4.844 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.4947, allocations: 111.4 kB / 0.6107 GB, free: 4.711 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.4955, allocations: 0.5189 MB / 0.6112 GB, free: 4.184 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/0.4955, allocations: 33.7 kB / 0.6112 GB, free: 4.145 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.4958, allocations: 368.2 kB / 0.6116 GB, free: 3.781 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.4959, allocations: 228.7 kB / 0.6118 GB, free: 3.555 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.496, allocations: 12 kB / 0.6118 GB, free: 3.543 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4961, allocations: 382.7 kB / 0.6122 GB, free: 3.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/0.4967, allocations: 281.8 kB / 0.6125 GB, free: 2.887 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.4973, allocations: 422.4 kB / 0.6129 GB, free: 2.418 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.4979, allocations: 329.1 kB / 0.6132 GB, free: 2.098 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4979, allocations: 0 / 0.6132 GB, free: 2.098 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001545/0.4994, allocations: 0.8502 MB / 0.614 GB, free: 1.238 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005045/0.5, allocations: 1.484 MB / 0.6155 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.5, allocations: 4 kB / 0.6155 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002858/0.5003, allocations: 68.81 kB / 0.6155 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/0.5011, allocations: 179.7 kB / 0.6157 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.5027, allocations: 1.653 MB / 0.6173 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.5033, allocations: 63.89 kB / 0.6174 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.5034, allocations: 24 kB / 0.6174 GB, free: 13.51 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.5034, allocations: 7.984 kB / 0.6174 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001375/0.5048, allocations: 0.7286 MB / 0.6181 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5048, allocations: 7.984 kB / 0.6181 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.505, allocations: 64.81 kB / 0.6182 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.5057, allocations: 175.8 kB / 0.6183 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.5072, allocations: 1.635 MB / 0.6199 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005406/0.5077, allocations: 55.95 kB / 0.62 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.5078, allocations: 27.94 kB / 0.62 GB, free: 10.68 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0004865/0.5083, allocations: 336.8 kB / 0.6203 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.5084, allocations: 75.06 kB / 0.6204 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.51, allocations: 0.7841 MB / 0.6212 GB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.51, allocations: 8 kB / 0.6212 GB, free: 9.457 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.51, allocations: 0 / 0.6212 GB, free: 9.457 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.51, allocations: 7.938 kB / 0.6212 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/0.5141, allocations: 2.191 MB / 0.6233 GB, free: 7.121 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5141, allocations: 4 kB / 0.6233 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.5147, allocations: 140.4 kB / 0.6235 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002213/0.5149, allocations: 56.81 kB / 0.6235 GB, free: 6.922 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.515, allocations: 27.98 kB / 0.6236 GB, free: 6.895 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.5166, allocations: 1.6 MB / 0.6251 GB, free: 5.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.5166, allocations: 7.938 kB / 0.6251 GB, free: 5.152 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.5191, allocations: 1.643 MB / 0.6267 GB, free: 3.254 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.5194, allocations: 204.1 kB / 0.6269 GB, free: 3.035 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.5195, allocations: 20 kB / 0.6269 GB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.52, allocations: 59.95 kB / 0.627 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.5202, allocations: 71.77 kB / 0.6271 GB, free: 2.887 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.5202, allocations: 31.92 kB / 0.6271 GB, free: 2.855 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006587/0.5209, allocations: 419 kB / 0.6275 GB, free: 2.453 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5209, allocations: 0 / 0.6275 GB, free: 2.453 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00106/0.522, allocations: 267.9 kB / 0.6278 GB, free: 2.191 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 61 * 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.003316/0.5253, allocations: 4.019 MB / 0.6317 GB, free: 13.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.5279, allocations: 1.267 MB / 0.6329 GB, free: 12.67 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5279, allocations: 3.938 kB / 0.6329 GB, free: 12.67 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009519/0.5288, allocations: 0.5154 MB / 0.6334 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008044/0.5297, allocations: 158.1 kB / 0.6336 GB, free: 11.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008767/0.5384, allocations: 7.353 MB / 0.6408 GB, free: 4.422 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.5391, allocations: 1.01 MB / 0.6417 GB, free: 3.387 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005706/0.5397, allocations: 140.9 kB / 0.6419 GB, free: 3.246 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.5401, allocations: 283.3 kB / 0.6421 GB, free: 2.969 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5401, allocations: 0 / 0.6421 GB, free: 2.969 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2281/0.7682, allocations: 14.55 MB / 0.6564 GB, free: 134.2 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/0.7684, allocations: 217 kB / 0.6566 GB, free: 133.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/2.962, allocations: 0 / 0.6566 GB, free: 133.9 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3_res.mat does not exist to compare? outputFormat=mat