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.001082/0.001082, allocations: 111.2 kB / 17.71 MB, free: 5.254 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.001058/0.001058, allocations: 180.8 kB / 18.64 MB, free: 4.336 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.232/1.232, allocations: 205.1 MB / 224.5 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.163/0.163, allocations: 37.97 MB / 309.8 MB, free: 5.973 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.001498/0.001498, allocations: 79.83 kB / 432.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08983, allocations: 55.23 MB / 487.7 MB, free: 8.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002737/0.09261, allocations: 1.4 MB / 489.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004742/0.09311, allocations: 279.5 kB / 489.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.09316, allocations: 0 / 489.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.09337, allocations: 23.91 kB / 489.4 MB, free: 6.68 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.0001796/0.09356, allocations: 35.78 kB / 489.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.09376, allocations: 72.34 kB / 489.5 MB, free: 6.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.09389, allocations: 47.91 kB / 489.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.09394, allocations: 11.84 kB / 489.6 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.09408, allocations: 35.78 kB / 489.6 MB, free: 6.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.09415, allocations: 19.92 kB / 489.6 MB, free: 6.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.09417, allocations: 0 / 489.6 MB, free: 6.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.291e-05/0.09426, allocations: 51.95 kB / 489.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.09433, allocations: 19.92 kB / 489.7 MB, free: 6.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.09436, allocations: 19.88 kB / 489.7 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.09454, allocations: 91.7 kB / 489.8 MB, free: 6.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.09455, allocations: 4 kB / 489.8 MB, free: 6.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09456, allocations: 0 / 489.8 MB, free: 6.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.09457, allocations: 0 / 489.8 MB, free: 6.277 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.000399/0.09497, allocations: 379.2 kB / 490.2 MB, free: 5.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.09501, allocations: 15.89 kB / 490.2 MB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.09505, allocations: 4.844 kB / 490.2 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.09525, allocations: 188.3 kB / 490.4 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-06/0.09527, allocations: 384 / 490.4 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.09528, allocations: 4.375 kB / 490.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.09541, allocations: 75.45 kB / 490.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.09542, allocations: 0 / 490.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.09544, allocations: 0 / 490.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.09544, allocations: 0 / 490.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.093e-05/0.0955, allocations: 19.98 kB / 490.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.09584, allocations: 276.8 kB / 490.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.995e-05/0.09594, allocations: 42.5 kB / 490.8 MB, free: 5.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.09597, allocations: 12.92 kB / 490.8 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.09599, allocations: 4 kB / 490.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.09602, allocations: 30.56 kB / 490.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.09602, allocations: 0 / 490.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001555/0.09618, allocations: 49.69 kB / 490.9 MB, free: 5.023 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.09625, allocations: 85.05 kB / 491 MB, free: 4.922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.09639, allocations: 145.8 kB / 491.1 MB, free: 4.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.09641, allocations: 29.7 kB / 491.1 MB, free: 4.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.09647, allocations: 99.92 kB / 491.2 MB, free: 4.633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.09649, allocations: 7.906 kB / 491.2 MB, free: 4.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.09653, allocations: 21.7 kB / 491.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.09664, allocations: 318.7 kB / 491.6 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.09667, allocations: 8 kB / 491.6 MB, free: 4.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.0967, allocations: 25.88 kB / 491.6 MB, free: 4.238 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/0.09674, allocations: 20.86 kB / 491.6 MB, free: 4.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.09675, allocations: 0 / 491.6 MB, free: 4.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.562e-05/0.09683, allocations: 57.53 kB / 491.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.09685, allocations: 4 kB / 491.7 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.09686, allocations: 4 kB / 491.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.09688, allocations: 0 / 491.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.295e-05/0.09694, allocations: 7.984 kB / 491.7 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.09695, allocations: 0 / 491.7 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.09697, allocations: 0 / 491.7 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.09698, allocations: 4.031 kB / 491.7 MB, free: 4.133 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 7.027e-05/0.09706, allocations: 121.8 kB / 491.8 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.09709, allocations: 3.906 kB / 491.8 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.09714, allocations: 15.89 kB / 491.8 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.09715, allocations: 0 / 491.8 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.09716, allocations: 0 / 491.8 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.09716, allocations: 0 / 491.8 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.09732, allocations: 177.6 kB / 492 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.09733, allocations: 0 / 492 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.09736, allocations: 4 kB / 492 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.09738, allocations: 8 kB / 492 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.09739, allocations: 3.984 kB / 492 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.0974, allocations: 0 / 492 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.0974, allocations: 0 / 492 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.09752, allocations: 155.3 kB / 492.2 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.09757, allocations: 77.11 kB / 492.3 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.09759, allocations: 4 kB / 492.3 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.063e-05/0.09765, allocations: 0 / 492.3 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.09767, allocations: 4 kB / 492.3 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.09767, allocations: 0 / 492.3 MB, free: 3.473 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.406e-05/0.09776, allocations: 115.2 kB / 492.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09777, allocations: 0 / 492.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.09803, allocations: 16 kB / 492.4 MB, free: 3.344 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.0008017/0.09884, allocations: 401.6 kB / 492.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.409e-05/0.09894, allocations: 19.92 kB / 492.8 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.09895, allocations: 0 / 492.8 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.09897, allocations: 12 kB / 492.8 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.0003147/0.09929, allocations: 15.98 kB / 492.8 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.09962, allocations: 174.9 kB / 493 MB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.09988, allocations: 0.6885 MB / 493.7 MB, free: 1.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.09993, allocations: 15.42 kB / 493.7 MB, free: 1.961 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09994, allocations: 0 / 493.7 MB, free: 1.961 MB / 366.1 MB Notification: Performance of Templates: time 0.002731/0.1027, allocations: 1.415 MB / 495.1 MB, free: 0.543 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)