Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",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.001343/0.001343, allocations: 175.2 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.7/1.7, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001077/0.001077, allocations: 86.7 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.178/0.178, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.346e-05, allocations: 4 kB / 417.8 MB, free: 29.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1255, allocations: 56.32 MB / 474.1 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.5807, allocations: 87.08 MB / 0.5481 GB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001679/0.5825, allocations: 0.669 MB / 0.5487 GB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005394/0.5879, allocations: 2.415 MB / 0.5511 GB, free: 10.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5879, allocations: 0 / 0.5511 GB, free: 10.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.5879, allocations: 2.094 kB / 0.5511 GB, free: 10.26 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002866/0.5882, allocations: 371.5 kB / 0.5514 GB, free: 9.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5883, allocations: 7.688 kB / 0.5514 GB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.5883, allocations: 34.44 kB / 0.5515 GB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.5883, allocations: 11.75 kB / 0.5515 GB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.5886, allocations: 193.3 kB / 0.5517 GB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.5886, allocations: 7.828 kB / 0.5517 GB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.5886, allocations: 0 / 0.5517 GB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.5887, allocations: 62.72 kB / 0.5517 GB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.5887, allocations: 3.938 kB / 0.5517 GB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5887, allocations: 7.406 kB / 0.5517 GB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5888, allocations: 0 / 0.5517 GB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.5888, allocations: 15.12 kB / 0.5518 GB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.5891, allocations: 278.4 kB / 0.552 GB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.672e-05/0.5892, allocations: 37.55 kB / 0.5521 GB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.5892, allocations: 12.02 kB / 0.5521 GB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.5893, allocations: 0 / 0.5521 GB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.5893, allocations: 42.48 kB / 0.5521 GB, free: 9.184 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.5893, allocations: 0 / 0.5521 GB, free: 9.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001609/0.5895, allocations: 44.64 kB / 0.5522 GB, free: 9.148 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.5895, allocations: 88.98 kB / 0.5522 GB, free: 9.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.5897, allocations: 132.1 kB / 0.5524 GB, free: 8.949 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.5897, allocations: 25.7 kB / 0.5524 GB, free: 8.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.5897, allocations: 95.58 kB / 0.5525 GB, free: 8.832 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.5897, allocations: 15.64 kB / 0.5525 GB, free: 8.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.5897, allocations: 7.188 kB / 0.5525 GB, free: 8.816 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.5898, allocations: 314.8 kB / 0.5528 GB, free: 8.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.5898, allocations: 7.719 kB / 0.5528 GB, free: 8.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.5898, allocations: 21.45 kB / 0.5528 GB, free: 8.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.087e-05/0.5899, allocations: 11.8 kB / 0.5528 GB, free: 8.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5899, allocations: 0 / 0.5528 GB, free: 8.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.227e-05/0.5899, allocations: 48.8 kB / 0.5529 GB, free: 8.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.59, allocations: 7.719 kB / 0.5529 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.59, allocations: 0 / 0.5529 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.59, allocations: 4.031 kB / 0.5529 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.5901, allocations: 3.844 kB / 0.5529 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.5901, allocations: 0 / 0.5529 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.5901, allocations: 11.73 kB / 0.5529 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.5901, allocations: 0 / 0.5529 GB, free: 8.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.048e-05/0.5902, allocations: 105 kB / 0.553 GB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.5902, allocations: 7.75 kB / 0.553 GB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.5903, allocations: 55.69 kB / 0.5531 GB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.5903, allocations: 4 kB / 0.5531 GB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5903, allocations: 0 / 0.5531 GB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5903, allocations: 0 / 0.5531 GB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.5905, allocations: 179.2 kB / 0.5533 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5905, allocations: 0 / 0.5533 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.5905, allocations: 7.688 kB / 0.5533 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.5905, allocations: 0 / 0.5533 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.5906, allocations: 0 / 0.5533 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5906, allocations: 0 / 0.5533 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5906, allocations: 3.938 kB / 0.5533 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.665e-05/0.5907, allocations: 150.5 kB / 0.5534 GB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.5907, allocations: 92.66 kB / 0.5535 GB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.5907, allocations: 0 / 0.5535 GB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.051e-05/0.5908, allocations: 0 / 0.5535 GB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.5908, allocations: 11.84 kB / 0.5535 GB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.5908, allocations: 0 / 0.5535 GB, free: 7.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.065e-05/0.5909, allocations: 109 kB / 0.5536 GB, free: 7.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5909, allocations: 0 / 0.5536 GB, free: 7.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.5911, allocations: 31.05 kB / 0.5536 GB, free: 7.715 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0009172/0.5921, allocations: 0.9349 MB / 0.5546 GB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.995e-05/0.5922, allocations: 15.03 kB / 0.5546 GB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5922, allocations: 0 / 0.5546 GB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.5922, allocations: 15.64 kB / 0.5546 GB, free: 6.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.5924, allocations: 6.781 kB / 0.5546 GB, free: 6.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.5928, allocations: 154.8 kB / 0.5547 GB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.593, allocations: 0.6883 MB / 0.5554 GB, free: 6.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.72e-05/0.593, allocations: 19.91 kB / 0.5554 GB, free: 6.016 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.5931, allocations: 28.11 kB / 0.5555 GB, free: 6.004 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5931, allocations: 0 / 0.5555 GB, free: 6.004 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.6097, allocations: 2.128 MB / 0.5575 GB, free: 4.797 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.6099, allocations: 181.7 kB / 0.5577 GB, free: 4.574 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.285, allocations: 8.062 kB / 0.5577 GB, free: 4.566 MB / 362.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat does not exist to compare? outputFormat=mat