Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.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.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_PMeterTest",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.0009972/0.0009972, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.3 MB / 214.1 MB, free: 14.07 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009349/0.0009351, allocations: 85.23 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1806/0.1806, allocations: 38 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.207e-05, allocations: 0 / 410.7 MB, free: 46.88 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1419, allocations: 56.33 MB / 467 MB, free: 6.48 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4585/0.6005, allocations: 94.6 MB / 0.5484 GB, free: 204 kB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/0.601, allocations: 85.17 kB / 0.5485 GB, free: 120 kB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03531/0.6363, allocations: 14.51 MB / 0.5627 GB, free: 1.453 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6364, allocations: 4 kB / 0.5627 GB, free: 1.449 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.6364, allocations: 4 kB / 0.5627 GB, free: 1.445 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007055/0.6371, allocations: 490.2 kB / 0.5632 GB, free: 0.9219 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6372, allocations: 8.031 kB / 0.5632 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.6383, allocations: 115.6 kB / 0.5633 GB, free: 0.8008 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.6387, allocations: 275.1 kB / 0.5635 GB, free: 500 kB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.6387, allocations: 8 kB / 0.5635 GB, free: 492 kB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.6388, allocations: 8 kB / 0.5636 GB, free: 484 kB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003484/0.6391, allocations: 204.3 kB / 0.5638 GB, free: 280 kB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.6396, allocations: 282.4 kB / 0.564 GB, free: 15.97 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6396, allocations: 0 / 0.564 GB, free: 15.97 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.6396, allocations: 0 / 0.564 GB, free: 15.97 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.6397, allocations: 19.98 kB / 0.564 GB, free: 15.95 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.6415, allocations: 1.295 MB / 0.5653 GB, free: 14.57 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.6419, allocations: 206.3 kB / 0.5655 GB, free: 14.33 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.642, allocations: 49.77 kB / 0.5655 GB, free: 14.28 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.642, allocations: 7.938 kB / 0.5656 GB, free: 14.27 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.6421, allocations: 34.56 kB / 0.5656 GB, free: 14.23 MB / 411.1 MB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.6421, allocations: 0 / 0.5656 GB, free: 14.23 MB / 411.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002855/0.6424, allocations: 114.7 kB / 0.5657 GB, free: 14.11 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.6425, allocations: 81.11 kB / 0.5658 GB, free: 14.01 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.6426, allocations: 159.2 kB / 0.5659 GB, free: 13.85 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.6427, allocations: 29.64 kB / 0.566 GB, free: 13.81 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.6428, allocations: 171.7 kB / 0.5661 GB, free: 13.64 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.6429, allocations: 39.45 kB / 0.5662 GB, free: 13.6 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.6429, allocations: 0 / 0.5662 GB, free: 13.6 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.643, allocations: 326.8 kB / 0.5665 GB, free: 13.27 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.146e-05/0.6431, allocations: 35.98 kB / 0.5665 GB, free: 13.24 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.6432, allocations: 124.9 kB / 0.5666 GB, free: 13.07 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.914e-05/0.6433, allocations: 67.89 kB / 0.5667 GB, free: 13 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6433, allocations: 0 / 0.5667 GB, free: 13 MB / 411.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002668/0.6436, allocations: 193.1 kB / 0.5669 GB, free: 12.81 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.6436, allocations: 4 kB / 0.5669 GB, free: 12.8 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.6437, allocations: 7.984 kB / 0.5669 GB, free: 12.8 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.6437, allocations: 8 kB / 0.5669 GB, free: 12.79 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.6439, allocations: 47.91 kB / 0.5669 GB, free: 12.74 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.6439, allocations: 7.938 kB / 0.5669 GB, free: 12.73 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.644, allocations: 16.28 kB / 0.567 GB, free: 12.72 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.644, allocations: 16 kB / 0.567 GB, free: 12.7 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.902e-05/0.6441, allocations: 112.9 kB / 0.5671 GB, free: 12.59 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000184/0.6443, allocations: 121.4 kB / 0.5672 GB, free: 12.46 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.6444, allocations: 19.75 kB / 0.5672 GB, free: 12.44 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.6446, allocations: 120.8 kB / 0.5673 GB, free: 12.32 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6446, allocations: 0 / 0.5673 GB, free: 12.32 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6446, allocations: 0 / 0.5673 GB, free: 12.32 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.6446, allocations: 11.97 kB / 0.5673 GB, free: 12.31 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005942/0.6452, allocations: 474 kB / 0.5678 GB, free: 11.79 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6453, allocations: 0 / 0.5678 GB, free: 11.79 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.6454, allocations: 23.98 kB / 0.5678 GB, free: 11.77 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6454, allocations: 0 / 0.5678 GB, free: 11.77 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.6454, allocations: 8.125 kB / 0.5678 GB, free: 11.76 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6454, allocations: 0 / 0.5678 GB, free: 11.76 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.6454, allocations: 7.938 kB / 0.5678 GB, free: 11.75 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.6457, allocations: 309.5 kB / 0.5681 GB, free: 11.39 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.6458, allocations: 92.91 kB / 0.5682 GB, free: 11.28 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.6458, allocations: 4 kB / 0.5682 GB, free: 11.27 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.646, allocations: 0 / 0.5682 GB, free: 11.27 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.646, allocations: 23.92 kB / 0.5682 GB, free: 11.25 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.646, allocations: 4.062 kB / 0.5682 GB, free: 11.25 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.6461, allocations: 131.1 kB / 0.5684 GB, free: 11.12 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6461, allocations: 0 / 0.5684 GB, free: 11.12 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0003526/0.6465, allocations: 55.84 kB / 0.5684 GB, free: 11.06 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (13): * Single equations (assignments): 12 * 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.0007582/0.6473, allocations: 1.192 MB / 0.5696 GB, free: 9.812 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.6475, allocations: 103.8 kB / 0.5697 GB, free: 9.711 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6475, allocations: 0 / 0.5697 GB, free: 9.711 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 7.674e-05/0.6476, allocations: 51.86 kB / 0.5697 GB, free: 9.66 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.6479, allocations: 29.39 kB / 0.5698 GB, free: 9.633 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007692/0.6486, allocations: 339.1 kB / 0.5701 GB, free: 9.25 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.649, allocations: 0.7631 MB / 0.5708 GB, free: 8.461 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.6492, allocations: 41.77 kB / 0.5709 GB, free: 8.418 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.6493, allocations: 59.42 kB / 0.5709 GB, free: 8.359 MB / 411.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6493, allocations: 0 / 0.5709 GB, free: 8.359 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.6737, allocations: 2.637 MB / 0.5735 GB, free: 5.723 MB / 411.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.674, allocations: 141.9 kB / 0.5736 GB, free: 5.527 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.328, allocations: 7.938 kB / 0.5736 GB, free: 5.52 MB / 411.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat does not exist to compare? outputFormat=mat