Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.001489/0.001489, allocations: 179.6 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.2+maint.om/package.mo): time 1.53/1.53, allocations: 194.5 MB / 211.6 MB, free: 2.969 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001685/0.001685, allocations: 119.5 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1783/0.1783, allocations: 37.99 MB / 340.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09093, allocations: 53.23 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2929/0.3839, allocations: 81.66 MB / 0.5261 GB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0015/0.3854, allocations: 0.8294 MB / 0.5269 GB, free: 11.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004303/0.3897, allocations: 1.873 MB / 0.5288 GB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3898, allocations: 0 / 0.5288 GB, free: 10.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3898, allocations: 5.969 kB / 0.5288 GB, free: 10.41 MB / 346.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.0003278/0.3901, allocations: 408.3 kB / 0.5292 GB, free: 9.969 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3902, allocations: 12.02 kB / 0.5292 GB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.3902, allocations: 34.5 kB / 0.5292 GB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.3903, allocations: 12.83 kB / 0.5292 GB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.3905, allocations: 191.7 kB / 0.5294 GB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.3905, allocations: 0 / 0.5294 GB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3905, allocations: 4 kB / 0.5294 GB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.3906, allocations: 61.34 kB / 0.5295 GB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3906, allocations: 9.109 kB / 0.5295 GB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3906, allocations: 0 / 0.5295 GB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3906, allocations: 3.953 kB / 0.5295 GB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.746e-05/0.3907, allocations: 19.23 kB / 0.5295 GB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.391, allocations: 277.1 kB / 0.5298 GB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.376e-05/0.3911, allocations: 44.44 kB / 0.5298 GB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3911, allocations: 0 / 0.5298 GB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.3911, allocations: 37.45 kB / 0.5298 GB, free: 9.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3911, allocations: 4 kB / 0.5298 GB, free: 9.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.000157/0.3913, allocations: 60.2 kB / 0.5299 GB, free: 9.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.3913, allocations: 77.11 kB / 0.53 GB, free: 9.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.3914, allocations: 116.4 kB / 0.5301 GB, free: 8.926 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.3914, allocations: 25.7 kB / 0.5301 GB, free: 8.895 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.3915, allocations: 102.3 kB / 0.5302 GB, free: 8.797 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.3915, allocations: 11.78 kB / 0.5302 GB, free: 8.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.3915, allocations: 0 / 0.5302 GB, free: 8.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.3916, allocations: 326.1 kB / 0.5305 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.3916, allocations: 11.19 kB / 0.5305 GB, free: 8.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.3916, allocations: 17.22 kB / 0.5306 GB, free: 8.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.3917, allocations: 41.12 kB / 0.5306 GB, free: 8.391 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3917, allocations: 0 / 0.5306 GB, free: 8.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.531e-05/0.3918, allocations: 85.86 kB / 0.5307 GB, free: 8.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.3918, allocations: 33.7 kB / 0.5307 GB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3918, allocations: 3.953 kB / 0.5307 GB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3918, allocations: 0 / 0.5307 GB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.65e-05/0.3919, allocations: 8.031 kB / 0.5307 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3919, allocations: 7.938 kB / 0.5307 GB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.3919, allocations: 7.984 kB / 0.5307 GB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3919, allocations: 0 / 0.5307 GB, free: 8.234 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 5.216e-05/0.392, allocations: 113 kB / 0.5308 GB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.392, allocations: 4 kB / 0.5309 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.3921, allocations: 64.48 kB / 0.5309 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3921, allocations: 3.953 kB / 0.5309 GB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3922, allocations: 4 kB / 0.5309 GB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3922, allocations: 0 / 0.5309 GB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.3923, allocations: 175.3 kB / 0.5311 GB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3923, allocations: 0 / 0.5311 GB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.3923, allocations: 4 kB / 0.5311 GB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3923, allocations: 0 / 0.5311 GB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3923, allocations: 3.938 kB / 0.5311 GB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3923, allocations: 0 / 0.5311 GB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3923, allocations: 3.953 kB / 0.5311 GB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.291e-05/0.3924, allocations: 154.5 kB / 0.5312 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.3925, allocations: 85.02 kB / 0.5313 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.3925, allocations: 0 / 0.5313 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-05/0.3925, allocations: 7.812 kB / 0.5313 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.3926, allocations: 3.953 kB / 0.5313 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.3926, allocations: 0 / 0.5313 GB, free: 7.543 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.027e-05/0.3926, allocations: 104.1 kB / 0.5314 GB, free: 7.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.3926, allocations: 0 / 0.5314 GB, free: 7.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.3929, allocations: 27.06 kB / 0.5315 GB, free: 7.422 MB / 346.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 () * Number of clocked 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.0007479/0.3936, allocations: 0.9043 MB / 0.5323 GB, free: 6.535 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.3937, allocations: 74.14 kB / 0.5324 GB, free: 6.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3938, allocations: 0 / 0.5324 GB, free: 6.457 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.731e-05/0.3938, allocations: 15.5 kB / 0.5324 GB, free: 6.445 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.394, allocations: 15.92 kB / 0.5324 GB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.3944, allocations: 375 kB / 0.5328 GB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.981e-05/0.3945, allocations: 0.6887 MB / 0.5335 GB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.901e-05/0.3945, allocations: 19.97 kB / 0.5335 GB, free: 5.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.3946, allocations: 22.92 kB / 0.5335 GB, free: 5.273 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3946, allocations: 0 / 0.5335 GB, free: 5.273 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.4081, allocations: 1.897 MB / 0.5354 GB, free: 3.375 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.4083, allocations: 199.8 kB / 0.5356 GB, free: 3.141 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.02, allocations: 7.938 kB / 0.5356 GB, free: 3.133 MB / 346.7 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)