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: translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001886/0.001886, allocations: 189.5 kB / 17.27 MB, free: 4.5 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.192/1.192, allocations: 194.2 MB / 212.2 MB, free: 2.367 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.001757/0.001757, allocations: 122.6 kB / 256.6 MB, free: 4.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1657/0.1657, allocations: 37.95 MB / 338.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 71.88 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07946/0.08061, allocations: 52.17 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002422/0.08306, allocations: 1.42 MB / 455.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003333/0.08341, allocations: 227.8 kB / 455.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.08346, allocations: 4 kB / 455.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.08364, allocations: 23.91 kB / 455.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.637e-05/0.08375, allocations: 15.98 kB / 455.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.641e-05/0.08384, allocations: 31.91 kB / 455.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.328e-05/0.08394, allocations: 47.84 kB / 455.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.153e-05/0.08398, allocations: 4 kB / 455.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.08411, allocations: 35.84 kB / 455.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/0.08417, allocations: 11.92 kB / 455.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.08419, allocations: 4 kB / 455.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.773e-05/0.08427, allocations: 47.97 kB / 455.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.08432, allocations: 19.92 kB / 455.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.08436, allocations: 15.88 kB / 455.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.0845, allocations: 87.77 kB / 456 MB, free: 14.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.08451, allocations: 4 kB / 456 MB, free: 14.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.08451, allocations: 0 / 456 MB, free: 14.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.08453, allocations: 0 / 456 MB, free: 14.58 MB / 314.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.000352/0.08488, allocations: 397.3 kB / 456.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.08493, allocations: 8.031 kB / 456.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.08497, allocations: 8.844 kB / 456.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.08514, allocations: 192.1 kB / 456.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.08516, allocations: 384 / 456.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.08518, allocations: 4.375 kB / 456.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.08528, allocations: 67.53 kB / 456.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.0853, allocations: 0 / 456.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.08531, allocations: 4 kB / 456.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.08533, allocations: 3.938 kB / 456.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.08538, allocations: 19.98 kB / 456.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.08566, allocations: 280.8 kB / 456.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.211e-05/0.08575, allocations: 42.58 kB / 457 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.08578, allocations: 20.84 kB / 457 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.0858, allocations: 0 / 457 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.08582, allocations: 38.56 kB / 457 MB, free: 13.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.08583, allocations: 0 / 457 MB, free: 13.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001489/0.08598, allocations: 61.53 kB / 457.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.08602, allocations: 81.11 kB / 457.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.08613, allocations: 129.8 kB / 457.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.08614, allocations: 25.7 kB / 457.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.08618, allocations: 96.12 kB / 457.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.0862, allocations: 11.75 kB / 457.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.08623, allocations: 21.72 kB / 457.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.589e-05/0.08628, allocations: 318.8 kB / 457.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.08631, allocations: 8 kB / 457.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.08634, allocations: 25.72 kB / 457.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.527e-05/0.08639, allocations: 54.48 kB / 457.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.0864, allocations: 0 / 457.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.77e-05/0.08649, allocations: 87.7 kB / 457.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.08652, allocations: 33.7 kB / 458 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.08653, allocations: 0 / 458 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.08655, allocations: 0 / 458 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.887e-05/0.0866, allocations: 7.984 kB / 458 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.08661, allocations: 0 / 458 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.08664, allocations: 11.94 kB / 458 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.08665, allocations: 0 / 458 MB, free: 12.3 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.08671, allocations: 117.8 kB / 458.1 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.08674, allocations: 4 kB / 458.1 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.743e-05/0.08684, allocations: 65.52 kB / 458.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.08685, allocations: 0 / 458.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.08686, allocations: 0 / 458.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.08687, allocations: 0 / 458.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.08701, allocations: 173.6 kB / 458.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.08702, allocations: 4 kB / 458.3 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.08705, allocations: 7.938 kB / 458.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.08706, allocations: 0 / 458.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.08707, allocations: 3.984 kB / 458.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.08707, allocations: 0 / 458.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.08708, allocations: 4 kB / 458.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.08729, allocations: 0.7043 MB / 459.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.08732, allocations: 89.05 kB / 459.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.08734, allocations: 0 / 459.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.754e-05/0.08739, allocations: 3.938 kB / 459.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.08741, allocations: 7.984 kB / 459.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.08742, allocations: 0 / 459.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.876e-05/0.08747, allocations: 103.3 kB / 459.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08748, allocations: 0 / 459.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.0878, allocations: 16 kB / 459.3 MB, free: 10.86 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/0.08881, allocations: 328.2 kB / 459.6 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.08893, allocations: 75.39 kB / 459.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.08894, allocations: 3.938 kB / 459.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.08896, allocations: 12 kB / 459.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.08926, allocations: 7.984 kB / 459.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.08955, allocations: 277.3 kB / 460 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.265e-05/0.08965, allocations: 0.6848 MB / 460.6 MB, free: 9.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.438e-05/0.0897, allocations: 11.98 kB / 460.7 MB, free: 9.418 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.08973, allocations: 15.42 kB / 460.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.08974, allocations: 0 / 460.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of Templates: time 0.002586/0.09233, allocations: 1.048 MB / 461.7 MB, free: 8.355 MB / 314.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.makefile (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 & ./PowerSystems_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)