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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 94.66 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 182.1 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.2 MB / 241.1 MB, free: 5.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2927/0.2927, allocations: 38.08 MB / 330.3 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 8 kB / 400.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2893, allocations: 59.16 MB / 459.2 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.00675/0.2961, allocations: 5.594 MB / 464.8 MB, free: 26.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004856/0.301, allocations: 2.685 MB / 467.5 MB, free: 24.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005778/0.3016, allocations: 34.72 kB / 467.5 MB, free: 24.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.3021, allocations: 120.8 kB / 467.7 MB, free: 24.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.3033, allocations: 406.1 kB / 468 MB, free: 24.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3046, allocations: 429.1 kB / 468.5 MB, free: 23.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.3056, allocations: 0.6492 MB / 469.1 MB, free: 23.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.307, allocations: 0.7062 MB / 469.8 MB, free: 23.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007013/0.3077, allocations: 342.5 kB / 470.2 MB, free: 22.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.3083, allocations: 311.2 kB / 470.5 MB, free: 22.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.3084, allocations: 27.69 kB / 470.5 MB, free: 22.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008247/0.3093, allocations: 255.6 kB / 470.7 MB, free: 22.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.3095, allocations: 176.8 kB / 470.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.3097, allocations: 166.8 kB / 471.1 MB, free: 22.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.311, allocations: 0.9002 MB / 472 MB, free: 22.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.311, allocations: 1.219 kB / 472 MB, free: 22.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.311, allocations: 0 / 472 MB, free: 22.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.311, allocations: 0 / 472 MB, free: 22.27 MB / 350.1 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.002715/0.3138, allocations: 1.071 MB / 473 MB, free: 21.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.3138, allocations: 9.625 kB / 473.1 MB, free: 21.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/0.314, allocations: 113.3 kB / 473.2 MB, free: 21.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/0.3163, allocations: 218 kB / 473.4 MB, free: 21.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.3177, allocations: 0.5859 MB / 474 MB, free: 21.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.3178, allocations: 55.16 kB / 474 MB, free: 20.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.3179, allocations: 69.38 kB / 474.1 MB, free: 20.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.3203, allocations: 0.8813 MB / 475 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.3203, allocations: 5.594 kB / 475 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.746e-05/0.3204, allocations: 26.48 kB / 475 MB, free: 20.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.973e-05/0.3205, allocations: 40 kB / 475 MB, free: 20.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.3222, allocations: 0.795 MB / 475.8 MB, free: 20.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.3262, allocations: 3.28 MB / 479.1 MB, free: 17.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.3276, allocations: 0.9992 MB / 480.1 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.623e-05/0.3277, allocations: 6.781 kB / 480.1 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3277, allocations: 42.83 kB / 480.2 MB, free: 16.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=59): time 3.096e-06/0.3277, allocations: 4 kB / 480.2 MB, free: 16.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.00429/0.332, allocations: 2.603 MB / 482.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.3321, allocations: 114.5 kB / 482.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.3327, allocations: 0.5761 MB / 483.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.3328, allocations: 44.08 kB / 483.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.333, allocations: 359.9 kB / 483.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.3331, allocations: 227 kB / 484.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.3331, allocations: 18.38 kB / 484.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.012e-05/0.3332, allocations: 379.8 kB / 484.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.3337, allocations: 275.5 kB / 484.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.3343, allocations: 426 kB / 485.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.3348, allocations: 326.5 kB / 485.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3348, allocations: 0 / 485.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001283/0.3361, allocations: 0.854 MB / 486.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.3364, allocations: 1.488 MB / 487.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3364, allocations: 4 kB / 487.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/0.3366, allocations: 60.81 kB / 487.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.3373, allocations: 179.8 kB / 488 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.3384, allocations: 1.698 MB / 489.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.3389, allocations: 67.94 kB / 489.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.3389, allocations: 20 kB / 489.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.3389, allocations: 4 kB / 489.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001132/0.3401, allocations: 0.7401 MB / 490.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3401, allocations: 4 kB / 490.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.3403, allocations: 56.81 kB / 490.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/0.3409, allocations: 176 kB / 490.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009813/0.3419, allocations: 1.692 MB / 492.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.3423, allocations: 55.97 kB / 492.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.3423, allocations: 35.92 kB / 492.6 MB, free: 5.641 MB / 350.1 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.0003048/0.3426, allocations: 313 kB / 492.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.688e-05/0.3427, allocations: 71.06 kB / 493 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.344, allocations: 0.8074 MB / 493.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3441, allocations: 8 kB / 493.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.3441, allocations: 3.938 kB / 493.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3441, allocations: 3.984 kB / 493.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/0.3473, allocations: 2.178 MB / 496 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3473, allocations: 16.03 kB / 496 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.3478, allocations: 135.8 kB / 496.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.348, allocations: 60.75 kB / 496.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.348, allocations: 31.94 kB / 496.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000924/0.3489, allocations: 1.646 MB / 497.8 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.349, allocations: 11.94 kB / 497.9 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.3512, allocations: 1.654 MB / 499.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.3515, allocations: 208.2 kB / 499.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.387e-05/0.3516, allocations: 23.98 kB / 499.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.3521, allocations: 51.95 kB / 499.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.3522, allocations: 71.75 kB / 499.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/0.3523, allocations: 28 kB / 499.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005675/0.3529, allocations: 415 kB / 0.4886 GB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3529, allocations: 4 kB / 0.4886 GB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001063/0.3539, allocations: 248 kB / 0.4888 GB, free: 13.1 MB / 366.1 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.003238/0.3572, allocations: 4.007 MB / 0.4927 GB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.3594, allocations: 1.282 MB / 0.494 GB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.3594, allocations: 4 kB / 0.494 GB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000876/0.3603, allocations: 0.5077 MB / 0.4945 GB, free: 7.051 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/0.3611, allocations: 163.5 kB / 0.4946 GB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009639/0.3708, allocations: 7.317 MB / 0.5018 GB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.3714, allocations: 1.002 MB / 0.5028 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005747/0.372, allocations: 144.8 kB / 0.5029 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.3724, allocations: 279.3 kB / 0.5032 GB, free: 13.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.143e-06/0.3724, allocations: 7.938 kB / 0.5032 GB, free: 13.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.3993, allocations: 14.45 MB / 0.5173 GB, free: 15.68 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.3996, allocations: 221.3 kB / 0.5175 GB, free: 15.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.294, allocations: 0 / 0.5175 GB, free: 15.44 MB / 398.1 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) Environment - environmentSimulation: 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