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.001456/0.001456, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.85/1.85, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009193/0.0009193, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.188/0.188, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.226e-05/4.288e-05, allocations: 4 kB / 417.8 MB, free: 29.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 56.32 MB / 474.1 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4968/0.6316, allocations: 95.27 MB / 0.5561 GB, free: 7.539 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.6319, allocations: 89.19 kB / 0.5562 GB, free: 7.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03251/0.6644, allocations: 14.58 MB / 0.5704 GB, free: 11.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6645, allocations: 0 / 0.5704 GB, free: 11.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.6645, allocations: 11.94 kB / 0.5704 GB, free: 11.53 MB / 378.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.000948/0.6655, allocations: 486.8 kB / 0.5709 GB, free: 11.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.6656, allocations: 12.03 kB / 0.5709 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.6657, allocations: 51.98 kB / 0.5709 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.6668, allocations: 127.5 kB / 0.571 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.6673, allocations: 269.1 kB / 0.5713 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.6674, allocations: 15 kB / 0.5713 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.6674, allocations: 17.61 kB / 0.5713 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.668, allocations: 311.1 kB / 0.5716 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.668, allocations: 0 / 0.5716 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.668, allocations: 11.62 kB / 0.5716 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.6681, allocations: 19.98 kB / 0.5717 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.6686, allocations: 287.6 kB / 0.5719 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.6705, allocations: 1.283 MB / 0.5732 GB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.6709, allocations: 193.8 kB / 0.5734 GB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.671, allocations: 41.41 kB / 0.5734 GB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.671, allocations: 3.984 kB / 0.5734 GB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.671, allocations: 42.42 kB / 0.5735 GB, free: 8.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.236e-06/0.6711, allocations: 3.984 kB / 0.5735 GB, free: 8.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000291/0.6714, allocations: 104.8 kB / 0.5736 GB, free: 8.438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.6714, allocations: 81.11 kB / 0.5736 GB, free: 8.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.6716, allocations: 198.1 kB / 0.5738 GB, free: 8.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.6717, allocations: 25.7 kB / 0.5739 GB, free: 8.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.6718, allocations: 170.1 kB / 0.574 GB, free: 7.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.6719, allocations: 39.34 kB / 0.5741 GB, free: 7.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-06/0.6719, allocations: 3.812 kB / 0.5741 GB, free: 7.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.672, allocations: 330.6 kB / 0.5744 GB, free: 7.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.6721, allocations: 35.5 kB / 0.5744 GB, free: 7.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.6723, allocations: 131.8 kB / 0.5745 GB, free: 7.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.6724, allocations: 62.28 kB / 0.5746 GB, free: 7.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6724, allocations: 4 kB / 0.5746 GB, free: 7.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000341/0.6727, allocations: 211.2 kB / 0.5748 GB, free: 7.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.6728, allocations: 8 kB / 0.5748 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.6728, allocations: 7.984 kB / 0.5748 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.6728, allocations: 4 kB / 0.5748 GB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.673, allocations: 43.92 kB / 0.5749 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.673, allocations: 7.984 kB / 0.5749 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.6732, allocations: 27.5 kB / 0.5749 GB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.6732, allocations: 8.375 kB / 0.5749 GB, free: 7.105 MB / 378.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 () * 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 9.925e-05/0.6733, allocations: 128.4 kB / 0.575 GB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.6734, allocations: 15.81 kB / 0.575 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.6736, allocations: 114 kB / 0.5751 GB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6736, allocations: 0 / 0.5751 GB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6736, allocations: 7.984 kB / 0.5752 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.6737, allocations: 0 / 0.5752 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008085/0.6745, allocations: 0.5653 MB / 0.5757 GB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6745, allocations: 0 / 0.5757 GB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.6746, allocations: 20.3 kB / 0.5757 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.6746, allocations: 8 kB / 0.5757 GB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.6746, allocations: 4 kB / 0.5757 GB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.6746, allocations: 7.938 kB / 0.5757 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.6747, allocations: 7.953 kB / 0.5757 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.6751, allocations: 398.8 kB / 0.5761 GB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/0.6752, allocations: 100.8 kB / 0.5762 GB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.6752, allocations: 15.81 kB / 0.5762 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.6753, allocations: 8 kB / 0.5762 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.6754, allocations: 19.81 kB / 0.5763 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.6754, allocations: 4 kB / 0.5763 GB, free: 5.613 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.6756, allocations: 152.5 kB / 0.5764 GB, free: 5.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6756, allocations: 0 / 0.5764 GB, free: 5.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.6759, allocations: 55.72 kB / 0.5765 GB, free: 5.434 MB / 378.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 () * 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.001024/0.677, allocations: 1.623 MB / 0.5781 GB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.6772, allocations: 107.6 kB / 0.5782 GB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.6772, allocations: 0 / 0.5782 GB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.53e-05/0.6773, allocations: 51.98 kB / 0.5782 GB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.6777, allocations: 24.95 kB / 0.5782 GB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009051/0.6786, allocations: 391 kB / 0.5786 GB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.6791, allocations: 0.7671 MB / 0.5794 GB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.6792, allocations: 37.52 kB / 0.5794 GB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.14e-05/0.6793, allocations: 57.73 kB / 0.5794 GB, free: 2.363 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6793, allocations: 0 / 0.5794 GB, free: 2.363 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.6974, allocations: 3.001 MB / 0.5824 GB, free: 15.41 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/0.6977, allocations: 157.8 kB / 0.5825 GB, free: 15.18 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.411, allocations: 4 kB / 0.5825 GB, free: 15.18 MB / 394.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