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.001048/0.001048, allocations: 180.1 kB / 16.38 MB, free: 5.762 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.175/1.175, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007884/0.0007884, allocations: 91.84 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1576/0.1576, allocations: 38.07 MB / 357.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003094, allocations: 12 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2304, allocations: 56.32 MB / 480.4 MB, free: 9.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.3444, allocations: 95.37 MB / 0.5623 GB, free: 7.047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.3447, allocations: 87.95 kB / 0.5624 GB, free: 6.961 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03366/0.3784, allocations: 14.67 MB / 0.5767 GB, free: 8.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3784, allocations: 0 / 0.5767 GB, free: 8.113 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.3784, allocations: 4 kB / 0.5767 GB, free: 8.109 MB / 410.7 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.0007034/0.3791, allocations: 0.5027 MB / 0.5772 GB, free: 7.559 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3792, allocations: 8.031 kB / 0.5772 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.518e-05/0.3793, allocations: 54.48 kB / 0.5772 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008906/0.3801, allocations: 127.5 kB / 0.5774 GB, free: 7.363 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.3806, allocations: 259.2 kB / 0.5776 GB, free: 7.066 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3806, allocations: 16 kB / 0.5776 GB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.3806, allocations: 16 kB / 0.5776 GB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.3811, allocations: 323.7 kB / 0.578 GB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3811, allocations: 0 / 0.578 GB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.3812, allocations: 8 kB / 0.578 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.3812, allocations: 12 kB / 0.578 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.3816, allocations: 295.7 kB / 0.5783 GB, free: 6.387 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.3832, allocations: 1.285 MB / 0.5795 GB, free: 5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.3835, allocations: 202.5 kB / 0.5797 GB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3835, allocations: 4 kB / 0.5797 GB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.3836, allocations: 34.56 kB / 0.5797 GB, free: 4.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.3836, allocations: 0 / 0.5797 GB, free: 4.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002767/0.3839, allocations: 137.5 kB / 0.5799 GB, free: 4.578 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3839, allocations: 85.05 kB / 0.58 GB, free: 4.477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.3841, allocations: 187 kB / 0.5801 GB, free: 4.289 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.3841, allocations: 25.83 kB / 0.5802 GB, free: 4.258 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.3842, allocations: 175.5 kB / 0.5803 GB, free: 4.082 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.3842, allocations: 35.53 kB / 0.5804 GB, free: 4.047 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-06/0.3843, allocations: 8 kB / 0.5804 GB, free: 4.039 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3844, allocations: 326.8 kB / 0.5807 GB, free: 3.711 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.3844, allocations: 35.97 kB / 0.5807 GB, free: 3.676 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3846, allocations: 132.7 kB / 0.5808 GB, free: 3.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.3847, allocations: 67.88 kB / 0.5809 GB, free: 3.434 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3847, allocations: 0 / 0.5809 GB, free: 3.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002765/0.385, allocations: 213.5 kB / 0.5811 GB, free: 3.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.385, allocations: 8 kB / 0.5811 GB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.385, allocations: 4 kB / 0.5811 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.385, allocations: 4 kB / 0.5811 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.3852, allocations: 47.92 kB / 0.5812 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3852, allocations: 7.984 kB / 0.5812 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.3853, allocations: 19.84 kB / 0.5812 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.3853, allocations: 16.31 kB / 0.5812 GB, free: 3.113 MB / 410.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0001296/0.3855, allocations: 161.7 kB / 0.5814 GB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.3855, allocations: 15.81 kB / 0.5814 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.3857, allocations: 119 kB / 0.5815 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3857, allocations: 0 / 0.5815 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3858, allocations: 0 / 0.5815 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3858, allocations: 0 / 0.5815 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007074/0.3865, allocations: 0.5835 MB / 0.5821 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3865, allocations: 4 kB / 0.5821 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.3866, allocations: 16.31 kB / 0.5821 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.3866, allocations: 11.98 kB / 0.5821 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3866, allocations: 4 kB / 0.5821 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3866, allocations: 3.938 kB / 0.5821 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.3866, allocations: 7.953 kB / 0.5821 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.387, allocations: 400 kB / 0.5825 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.3871, allocations: 96.92 kB / 0.5826 GB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.3871, allocations: 7.984 kB / 0.5826 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3872, allocations: 4 kB / 0.5826 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.3872, allocations: 19.89 kB / 0.5826 GB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.3873, allocations: 7.984 kB / 0.5826 GB, free: 1.445 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.3874, allocations: 149.5 kB / 0.5828 GB, free: 1.301 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3874, allocations: 0 / 0.5828 GB, free: 1.301 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.3877, allocations: 55.84 kB / 0.5828 GB, free: 1.246 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * 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 (11): * Single equations (assignments): 10 * 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.0008151/0.3886, allocations: 1.628 MB / 0.5844 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3888, allocations: 108.7 kB / 0.5845 GB, free: 15.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3888, allocations: 4.125 kB / 0.5845 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.3889, allocations: 48.03 kB / 0.5846 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.3891, allocations: 40.03 kB / 0.5846 GB, free: 15.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.3914, allocations: 3.303 MB / 0.5878 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.3918, allocations: 0.7596 MB / 0.5886 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.3919, allocations: 41.5 kB / 0.5886 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.392, allocations: 55.42 kB / 0.5887 GB, free: 10.99 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.392, allocations: 0 / 0.5887 GB, free: 10.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.4057, allocations: 3.004 MB / 0.5916 GB, free: 8.039 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.4059, allocations: 180.7 kB / 0.5918 GB, free: 7.797 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/1.921, allocations: 0 / 0.5918 GB, free: 7.797 MB / 426.7 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