Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.PowerPlantTest2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest2",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.000833/0.000833, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.0009528/0.0009529, allocations: 184.2 kB / 17.2 MB, free: 6.34 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.271/1.271, allocations: 223.2 MB / 241.1 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2768/0.2768, allocations: 38.07 MB / 330.3 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 15.98 kB / 400.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 59.15 MB / 459.2 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.004747/0.3029, allocations: 5.04 MB / 464.2 MB, free: 26.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.306, allocations: 2.204 MB / 466.5 MB, free: 25.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005168/0.3065, allocations: 32 kB / 466.5 MB, free: 25.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005229/0.3071, allocations: 97.78 kB / 466.6 MB, free: 25.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009548/0.308, allocations: 319.1 kB / 466.9 MB, free: 24.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.3091, allocations: 391.1 kB / 467.3 MB, free: 24.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008927/0.31, allocations: 0.585 MB / 467.9 MB, free: 24.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.3111, allocations: 0.6264 MB / 468.5 MB, free: 23.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004417/0.3116, allocations: 297.6 kB / 468.8 MB, free: 23.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.312, allocations: 275.2 kB / 469 MB, free: 23.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/0.312, allocations: 24.5 kB / 469.1 MB, free: 23.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.3124, allocations: 159.9 kB / 469.2 MB, free: 23.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.3126, allocations: 143.2 kB / 469.4 MB, free: 23.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.3127, allocations: 155 kB / 469.5 MB, free: 23.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009369/0.3137, allocations: 0.7817 MB / 470.3 MB, free: 23.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3137, allocations: 3.938 kB / 470.3 MB, free: 23.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3137, allocations: 0 / 470.3 MB, free: 23.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3137, allocations: 0 / 470.3 MB, free: 23.24 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001768/0.3155, allocations: 1.018 MB / 471.3 MB, free: 22.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3155, allocations: 13.41 kB / 471.3 MB, free: 22.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.3157, allocations: 102 kB / 471.4 MB, free: 22.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008693/0.3165, allocations: 173.3 kB / 471.6 MB, free: 22.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/0.3174, allocations: 0.5571 MB / 472.2 MB, free: 22.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.3175, allocations: 46.48 kB / 472.2 MB, free: 22.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3176, allocations: 61.44 kB / 472.3 MB, free: 21.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.319, allocations: 0.776 MB / 473 MB, free: 21.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.319, allocations: 2.562 kB / 473 MB, free: 21.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.3191, allocations: 25.41 kB / 473.1 MB, free: 21.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.3191, allocations: 32.72 kB / 473.1 MB, free: 21.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.3206, allocations: 0.6812 MB / 473.8 MB, free: 21.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004381/0.325, allocations: 2.948 MB / 476.7 MB, free: 19.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.3267, allocations: 0.7943 MB / 477.5 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.3267, allocations: 14.28 kB / 477.5 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.3268, allocations: 37.53 kB / 477.6 MB, free: 18.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.136e-06/0.3268, allocations: 0 / 477.6 MB, free: 18.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.001824/0.3286, allocations: 0.7928 MB / 478.4 MB, free: 18.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.3287, allocations: 116.8 kB / 478.5 MB, free: 18.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007199/0.3294, allocations: 0.5713 MB / 479 MB, free: 17.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.3294, allocations: 36.83 kB / 479.1 MB, free: 17.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.3297, allocations: 357 kB / 479.4 MB, free: 17.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3298, allocations: 186.2 kB / 479.6 MB, free: 17.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.3298, allocations: 10.34 kB / 479.6 MB, free: 17.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.33, allocations: 379.4 kB / 480 MB, free: 17.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.3305, allocations: 231.8 kB / 480.2 MB, free: 16.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/0.3311, allocations: 372.2 kB / 480.6 MB, free: 16.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006095/0.3317, allocations: 273.5 kB / 480.9 MB, free: 16.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3317, allocations: 1.375 kB / 480.9 MB, free: 16.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001984/0.3337, allocations: 0.8694 MB / 481.7 MB, free: 16.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003168/0.334, allocations: 1.401 MB / 483.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3341, allocations: 4.094 kB / 483.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/0.3345, allocations: 135.8 kB / 483.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006011/0.3352, allocations: 148.6 kB / 483.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.3377, allocations: 2.297 MB / 485.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005433/0.3383, allocations: 96.95 kB / 485.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.3384, allocations: 20.69 kB / 485.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/0.3384, allocations: 3.969 kB / 485.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/0.3396, allocations: 0.6731 MB / 486.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3396, allocations: 8.094 kB / 486.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/0.3398, allocations: 96.8 kB / 486.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.3403, allocations: 139.8 kB / 486.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.3418, allocations: 2.054 MB / 488.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.3423, allocations: 91.28 kB / 488.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.3423, allocations: 20 kB / 488.9 MB, free: 9.355 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 60 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003689/0.3427, allocations: 305 kB / 489.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.3428, allocations: 63.25 kB / 489.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.3439, allocations: 0.6239 MB / 489.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3439, allocations: 4 kB / 489.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3439, allocations: 0 / 489.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3439, allocations: 15.88 kB / 489.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.3457, allocations: 1.376 MB / 491.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3457, allocations: 0 / 491.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.3463, allocations: 123.8 kB / 491.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3463, allocations: 8 kB / 491.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.3463, allocations: 19.94 kB / 491.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3463, allocations: 4 kB / 491.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3463, allocations: 0 / 491.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.3478, allocations: 1.005 MB / 492.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.348, allocations: 196.1 kB / 492.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/0.348, allocations: 15.95 kB / 492.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.3484, allocations: 47.95 kB / 492.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.3485, allocations: 48.39 kB / 492.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.3485, allocations: 15.98 kB / 492.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004572/0.349, allocations: 415 kB / 493.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.349, allocations: 112 / 493.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007949/0.3498, allocations: 271.3 kB / 493.4 MB, free: 4.719 MB / 350.1 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 (51): * Single equations (assignments): 50 * 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.001618/0.3514, allocations: 1.641 MB / 495.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.3532, allocations: 1.168 MB / 496.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3532, allocations: 4 kB / 496.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004643/0.3537, allocations: 290.5 kB / 496.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.3543, allocations: 114.3 kB / 496.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008381/0.3627, allocations: 6.94 MB / 0.4918 GB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.3633, allocations: 0.9654 MB / 0.4927 GB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004558/0.3637, allocations: 128.6 kB / 0.4928 GB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.3641, allocations: 251.3 kB / 0.4931 GB, free: 9.012 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3641, allocations: 0 / 0.4931 GB, free: 9.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.393, allocations: 14.05 MB / 0.5068 GB, free: 11.19 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.3933, allocations: 227.9 kB / 0.507 GB, free: 10.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.261, allocations: 0 / 0.507 GB, free: 10.94 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest2_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest2.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2_res.mat does not exist to compare? outputFormat=mat