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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 115.7 kB / 17.04 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 195 kB / 17.98 MB, free: 5.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.134/1.134, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1576/0.1576, allocations: 37.98 MB / 309.2 MB, free: 5.969 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 71.91 kB / 431.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07557/0.0769, allocations: 55.24 MB / 487 MB, free: 8.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002647/0.07958, allocations: 1.4 MB / 488.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004682/0.08007, allocations: 279.6 kB / 488.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.08013, allocations: 4 kB / 488.7 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.08032, allocations: 19.86 kB / 488.7 MB, free: 6.672 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.08051, allocations: 31.84 kB / 488.8 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.08072, allocations: 68.34 kB / 488.8 MB, free: 6.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.08084, allocations: 47.91 kB / 488.9 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.08088, allocations: 15.83 kB / 488.9 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.08103, allocations: 31.8 kB / 488.9 MB, free: 6.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.586e-05/0.0811, allocations: 15.92 kB / 488.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.08112, allocations: 4 kB / 488.9 MB, free: 6.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.08123, allocations: 59.95 kB / 489 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.08129, allocations: 23.86 kB / 489 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.08133, allocations: 15.88 kB / 489 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.0815, allocations: 87.77 kB / 489.1 MB, free: 6.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.08151, allocations: 4 kB / 489.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.08152, allocations: 0 / 489.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.08153, allocations: 0 / 489.1 MB, free: 6.273 MB / 366.1 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.0003583/0.08189, allocations: 375.2 kB / 489.5 MB, free: 5.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.08193, allocations: 15.89 kB / 489.5 MB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.08197, allocations: 8.844 kB / 489.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.08216, allocations: 188.3 kB / 489.7 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.08218, allocations: 384 / 489.7 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.08219, allocations: 12.25 kB / 489.7 MB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.08231, allocations: 67.52 kB / 489.8 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.08232, allocations: 0 / 489.8 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.08233, allocations: 0 / 489.8 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.08234, allocations: 0 / 489.8 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.918e-05/0.0824, allocations: 19.98 kB / 489.8 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.08271, allocations: 288.7 kB / 490.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.79e-05/0.0828, allocations: 38.56 kB / 490.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.08283, allocations: 8.922 kB / 490.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.08285, allocations: 4 kB / 490.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.08287, allocations: 34.56 kB / 490.2 MB, free: 5.066 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.08288, allocations: 4 kB / 490.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001532/0.08304, allocations: 57.62 kB / 490.2 MB, free: 5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.08309, allocations: 77.11 kB / 490.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.08322, allocations: 141.8 kB / 490.4 MB, free: 4.758 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.08324, allocations: 29.7 kB / 490.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.08329, allocations: 95.98 kB / 490.6 MB, free: 4.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.08331, allocations: 7.906 kB / 490.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.08334, allocations: 21.7 kB / 490.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.08344, allocations: 322.7 kB / 490.9 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.08346, allocations: 8 kB / 490.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.08349, allocations: 21.88 kB / 490.9 MB, free: 4.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.08353, allocations: 20.86 kB / 491 MB, free: 4.207 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.08354, allocations: 0 / 491 MB, free: 4.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.426e-05/0.08361, allocations: 53.53 kB / 491 MB, free: 4.148 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.08363, allocations: 4 kB / 491 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.08364, allocations: 4 kB / 491 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.08366, allocations: 32 / 491 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.758e-05/0.08371, allocations: 11.98 kB / 491 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.08372, allocations: 0 / 491 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.08375, allocations: 4 kB / 491 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.08376, allocations: 0 / 491 MB, free: 4.125 MB / 366.1 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 (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 prepare postOptimizeDAE: time 6.417e-05/0.08383, allocations: 117.8 kB / 491.2 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.08386, allocations: 3.906 kB / 491.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.0839, allocations: 15.89 kB / 491.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.08391, allocations: 0 / 491.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.08391, allocations: 0 / 491.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.08392, allocations: 4 kB / 491.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.08408, allocations: 173.6 kB / 491.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.08408, allocations: 0 / 491.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.08411, allocations: 7.938 kB / 491.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.08412, allocations: 4 kB / 491.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.08414, allocations: 7.922 kB / 491.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.08414, allocations: 0 / 491.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.08414, allocations: 0 / 491.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.08426, allocations: 155.4 kB / 491.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.08429, allocations: 77.11 kB / 491.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.08431, allocations: 0 / 491.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.08437, allocations: 4 kB / 491.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-06/0.08438, allocations: 0 / 491.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.08439, allocations: 0 / 491.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.987e-05/0.08447, allocations: 119.2 kB / 491.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.08448, allocations: 0 / 491.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.08473, allocations: 12 kB / 491.7 MB, free: 3.34 MB / 366.1 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.0007405/0.08548, allocations: 397.7 kB / 492.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.559e-05/0.08557, allocations: 19.92 kB / 492.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.08558, allocations: 0 / 492.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.0856, allocations: 12 kB / 492.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.08592, allocations: 15.98 kB / 492.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.08619, allocations: 149.1 kB / 492.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.0864, allocations: 0.6885 MB / 493 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.08646, allocations: 15.98 kB / 493 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.08649, allocations: 19.36 kB / 493 MB, free: 1.973 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.0865, allocations: 0 / 493 MB, free: 1.973 MB / 366.1 MB Notification: Performance of Templates: time 0.003146/0.08965, allocations: 1.168 MB / 494.2 MB, free: 0.8047 MB / 366.1 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)