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.001046/0.001046, allocations: 181.6 kB / 13.64 MB, free: 1.676 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.652/1.652, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001611/0.001611, allocations: 124.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1726/0.1726, allocations: 37.9 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.587e-05, allocations: 0 / 397.6 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3175, allocations: 53.22 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4446, allocations: 81.57 MB / 0.5199 GB, free: 11.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001686/0.4464, allocations: 0.6711 MB / 0.5206 GB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005001/0.4514, allocations: 1.853 MB / 0.5224 GB, free: 9.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4515, allocations: 0 / 0.5224 GB, free: 9.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.4515, allocations: 7.984 kB / 0.5224 GB, free: 9.246 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000408/0.4519, allocations: 396 kB / 0.5228 GB, free: 8.809 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.452, allocations: 8.031 kB / 0.5228 GB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.99e-05/0.452, allocations: 34.56 kB / 0.5228 GB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.4521, allocations: 15.86 kB / 0.5228 GB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.4523, allocations: 183 kB / 0.523 GB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4523, allocations: 0 / 0.523 GB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.4524, allocations: 4 kB / 0.523 GB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.4525, allocations: 59.41 kB / 0.5231 GB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4525, allocations: 4 kB / 0.5231 GB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4526, allocations: 4 kB / 0.5231 GB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4526, allocations: 7.891 kB / 0.5231 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.545e-05/0.4526, allocations: 16 kB / 0.5231 GB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.453, allocations: 280.9 kB / 0.5234 GB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.4531, allocations: 38.5 kB / 0.5234 GB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.4532, allocations: 21 kB / 0.5234 GB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.4532, allocations: 11.94 kB / 0.5235 GB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.4532, allocations: 30.56 kB / 0.5235 GB, free: 7.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4532, allocations: 0 / 0.5235 GB, free: 7.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001635/0.4534, allocations: 49.69 kB / 0.5235 GB, free: 7.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.4535, allocations: 77.11 kB / 0.5236 GB, free: 7.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.4536, allocations: 120.9 kB / 0.5237 GB, free: 7.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.4536, allocations: 25.7 kB / 0.5237 GB, free: 7.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.4537, allocations: 96.05 kB / 0.5238 GB, free: 7.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.4537, allocations: 15.83 kB / 0.5238 GB, free: 7.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.4537, allocations: 4 kB / 0.5239 GB, free: 7.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4539, allocations: 310.8 kB / 0.5241 GB, free: 7.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.4539, allocations: 11.94 kB / 0.5242 GB, free: 7.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.4539, allocations: 25.7 kB / 0.5242 GB, free: 7.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/0.454, allocations: 33.7 kB / 0.5242 GB, free: 7.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.454, allocations: 7.969 kB / 0.5242 GB, free: 7.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001178/0.4541, allocations: 87.3 kB / 0.5243 GB, free: 7.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.4542, allocations: 33.66 kB / 0.5243 GB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4542, allocations: 4 kB / 0.5243 GB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4542, allocations: 3.984 kB / 0.5243 GB, free: 7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.4543, allocations: 4 kB / 0.5244 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.4543, allocations: 0 / 0.5244 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.4543, allocations: 0 / 0.5244 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.4543, allocations: 4 kB / 0.5244 GB, free: 6.992 MB / 378.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 (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 7.71e-05/0.4544, allocations: 116.7 kB / 0.5245 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.4544, allocations: 7.906 kB / 0.5245 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.4546, allocations: 61.66 kB / 0.5245 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4546, allocations: 0 / 0.5245 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4546, allocations: 0 / 0.5245 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4546, allocations: 0 / 0.5245 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.4548, allocations: 169.7 kB / 0.5247 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4548, allocations: 0 / 0.5247 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/0.4548, allocations: 4 kB / 0.5247 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4548, allocations: 0 / 0.5247 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.4549, allocations: 0 / 0.5247 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.675e-05/0.4549, allocations: 11.95 kB / 0.5247 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4549, allocations: 0 / 0.5247 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.455, allocations: 151.5 kB / 0.5249 GB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.4551, allocations: 81.02 kB / 0.5249 GB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.4551, allocations: 8.281 kB / 0.5249 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/0.4552, allocations: 0 / 0.5249 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.4552, allocations: 7.891 kB / 0.5249 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.4552, allocations: 4 kB / 0.5249 GB, free: 6.285 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.208e-05/0.4553, allocations: 106.7 kB / 0.5251 GB, free: 6.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4553, allocations: 0 / 0.5251 GB, free: 6.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.4555, allocations: 31.92 kB / 0.5251 GB, free: 6.152 MB / 378.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.001064/0.4566, allocations: 0.8693 MB / 0.5259 GB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.4568, allocations: 75.41 kB / 0.526 GB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4568, allocations: 0 / 0.526 GB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.4568, allocations: 15.94 kB / 0.526 GB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.457, allocations: 11.94 kB / 0.526 GB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.4575, allocations: 142.5 kB / 0.5262 GB, free: 4.984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.4579, allocations: 0.6887 MB / 0.5268 GB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.065e-05/0.458, allocations: 15.98 kB / 0.5269 GB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.4581, allocations: 27.42 kB / 0.5269 GB, free: 4.227 MB / 378.7 MB Notification: Performance of SimCode: time 4.4e-07/0.4581, allocations: 0 / 0.5269 GB, free: 4.227 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.4808, allocations: 1.913 MB / 0.5287 GB, free: 2.312 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.4811, allocations: 182.1 kB / 0.5289 GB, free: 2.086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.178, allocations: 3.938 kB / 0.5289 GB, free: 2.082 MB / 378.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)