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.001183/0.001183, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.001506/0.001506, allocations: 191 kB / 18.63 MB, free: 4.367 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.465/1.465, 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.1808/0.1808, allocations: 37.99 MB / 309.8 MB, free: 5.965 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.001494/0.001494, allocations: 67.91 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3669, allocations: 55.25 MB / 432 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003386/0.3703, allocations: 1.4 MB / 433.4 MB, free: 18.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005082/0.3709, allocations: 279.6 kB / 433.7 MB, free: 17.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.371, allocations: 4 kB / 433.7 MB, free: 17.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.3712, allocations: 27.8 kB / 433.7 MB, free: 17.78 MB / 318.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.0001949/0.3714, allocations: 35.83 kB / 433.8 MB, free: 17.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.3716, allocations: 55.86 kB / 433.8 MB, free: 17.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.3718, allocations: 55.89 kB / 433.9 MB, free: 17.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.551e-05/0.3719, allocations: 4 kB / 433.9 MB, free: 17.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.3721, allocations: 27.84 kB / 433.9 MB, free: 17.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.251e-05/0.3722, allocations: 27.86 kB / 433.9 MB, free: 17.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.3722, allocations: 4 kB / 433.9 MB, free: 17.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3723, allocations: 47.97 kB / 434 MB, free: 17.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.3724, allocations: 15.92 kB / 434 MB, free: 17.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.749e-05/0.3724, allocations: 27.86 kB / 434 MB, free: 17.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.3727, allocations: 87.72 kB / 434.1 MB, free: 17.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3727, allocations: 0 / 434.1 MB, free: 17.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3727, allocations: 0 / 434.1 MB, free: 17.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3727, allocations: 0 / 434.1 MB, free: 17.39 MB / 318.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.0005299/0.3732, allocations: 384.8 kB / 434.5 MB, free: 16.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3733, allocations: 15.89 kB / 434.5 MB, free: 16.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.3733, allocations: 8.844 kB / 434.5 MB, free: 16.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.3736, allocations: 184.3 kB / 434.7 MB, free: 16.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3736, allocations: 8.375 kB / 434.7 MB, free: 16.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.3736, allocations: 384 / 434.7 MB, free: 16.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3738, allocations: 67.47 kB / 434.8 MB, free: 16.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3738, allocations: 0 / 434.8 MB, free: 16.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3738, allocations: 0 / 434.8 MB, free: 16.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3738, allocations: 8 kB / 434.8 MB, free: 16.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.271e-05/0.3739, allocations: 15.98 kB / 434.8 MB, free: 16.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.3743, allocations: 284.8 kB / 435.1 MB, free: 16.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.3744, allocations: 38.5 kB / 435.1 MB, free: 16.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.3745, allocations: 12.92 kB / 435.1 MB, free: 16.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.3745, allocations: 3.984 kB / 435.1 MB, free: 16.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.3746, allocations: 34.56 kB / 435.2 MB, free: 16.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3746, allocations: 4 kB / 435.2 MB, free: 16.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001905/0.3748, allocations: 61.52 kB / 435.2 MB, free: 16.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.3748, allocations: 77.11 kB / 435.3 MB, free: 16.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.375, allocations: 141.8 kB / 435.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.375, allocations: 25.7 kB / 435.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.375, allocations: 96.12 kB / 435.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.3751, allocations: 7.812 kB / 435.6 MB, free: 15.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.3751, allocations: 17.72 kB / 435.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.3752, allocations: 326.8 kB / 435.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.3752, allocations: 3.938 kB / 435.9 MB, free: 15.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/0.3752, allocations: 21.72 kB / 435.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.439e-05/0.3753, allocations: 24.84 kB / 435.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3753, allocations: 0 / 435.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.774e-05/0.3753, allocations: 57.56 kB / 436 MB, free: 15.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3754, allocations: 4 kB / 436 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3754, allocations: 4.031 kB / 436 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3754, allocations: 0 / 436 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.3755, allocations: 4 kB / 436 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3755, allocations: 0 / 436 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.3755, allocations: 7.906 kB / 436 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3755, allocations: 0 / 436 MB, free: 15.25 MB / 318.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.81e-05/0.3756, allocations: 125.7 kB / 436.1 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.3756, allocations: 4 kB / 436.1 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.354e-05/0.3757, allocations: 7.906 kB / 436.2 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3757, allocations: 8 kB / 436.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3757, allocations: 0 / 436.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3757, allocations: 0 / 436.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.3759, allocations: 177.6 kB / 436.3 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3759, allocations: 0 / 436.3 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.3759, allocations: 4 kB / 436.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3759, allocations: 0 / 436.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.3759, allocations: 0 / 436.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3759, allocations: 0 / 436.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3759, allocations: 0 / 436.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.932e-05/0.376, allocations: 155.3 kB / 436.5 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.3761, allocations: 89 kB / 436.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3761, allocations: 4 kB / 436.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/0.3762, allocations: 0 / 436.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.3762, allocations: 4 kB / 436.6 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.3762, allocations: 0 / 436.6 MB, free: 14.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.588e-05/0.3763, allocations: 111.8 kB / 436.7 MB, free: 14.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3763, allocations: 0 / 436.7 MB, free: 14.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.3765, allocations: 20 kB / 436.7 MB, free: 14.45 MB / 318.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.0008769/0.3774, allocations: 391.1 kB / 437.1 MB, free: 14.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.3775, allocations: 23.92 kB / 437.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3775, allocations: 0 / 437.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.54e-05/0.3776, allocations: 8 kB / 437.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.378, allocations: 19.89 kB / 437.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.3783, allocations: 148.9 kB / 437.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.3785, allocations: 0.6924 MB / 438 MB, free: 13.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.779e-05/0.3786, allocations: 11.98 kB / 438 MB, free: 13.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.3787, allocations: 11.44 kB / 438 MB, free: 13.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3787, allocations: 0 / 438 MB, free: 13.16 MB / 318.1 MB Notification: Performance of Templates: time 0.003959/0.3826, allocations: 1.174 MB / 439.2 MB, free: 11.99 MB / 318.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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)