Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 181.8 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.4 MB / 221.9 MB, free: 13.68 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 98.69 kB / 270.2 MB, free: 13.21 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2745/0.2745, allocations: 38.05 MB / 356.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004462, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 56.33 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5376/0.6526, allocations: 87.17 MB / 0.5529 GB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002232/0.6549, allocations: 0.8406 MB / 0.5538 GB, free: 10.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008592/0.6635, allocations: 2.426 MB / 0.5561 GB, free: 9.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.6636, allocations: 0 / 0.5561 GB, free: 9.066 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.6636, allocations: 0 / 0.5561 GB, free: 9.066 MB / 362.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.0003728/0.664, allocations: 378.8 kB / 0.5565 GB, free: 8.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.664, allocations: 12.02 kB / 0.5565 GB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.6641, allocations: 11.59 kB / 0.5565 GB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.6643, allocations: 187.7 kB / 0.5567 GB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.6644, allocations: 4 kB / 0.5567 GB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.6644, allocations: 0 / 0.5567 GB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.6645, allocations: 62.09 kB / 0.5567 GB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6645, allocations: 0 / 0.5567 GB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.6646, allocations: 7.312 kB / 0.5568 GB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.6646, allocations: 4 kB / 0.5568 GB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.345e-05/0.6647, allocations: 15.8 kB / 0.5568 GB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.665, allocations: 277.9 kB / 0.557 GB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.6651, allocations: 45.5 kB / 0.5571 GB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.6652, allocations: 0 / 0.5571 GB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.6652, allocations: 34.62 kB / 0.5571 GB, free: 7.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.6652, allocations: 0 / 0.5571 GB, free: 7.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002314/0.6655, allocations: 60.73 kB / 0.5572 GB, free: 7.875 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.6655, allocations: 77.11 kB / 0.5572 GB, free: 7.781 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.6657, allocations: 135.2 kB / 0.5574 GB, free: 7.652 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.6657, allocations: 29.08 kB / 0.5574 GB, free: 7.621 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.6658, allocations: 161.9 kB / 0.5576 GB, free: 7.465 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.6658, allocations: 18.3 kB / 0.5576 GB, free: 7.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.6658, allocations: 0 / 0.5576 GB, free: 7.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.873e-05/0.6659, allocations: 314.8 kB / 0.5579 GB, free: 7.137 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.6659, allocations: 7.5 kB / 0.5579 GB, free: 7.133 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.6659, allocations: 17.7 kB / 0.5579 GB, free: 7.109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.666, allocations: 10.72 kB / 0.5579 GB, free: 7.102 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.666, allocations: 4 kB / 0.5579 GB, free: 7.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.656e-05/0.6661, allocations: 45.12 kB / 0.558 GB, free: 7.051 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.6661, allocations: 4 kB / 0.558 GB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6661, allocations: 0 / 0.558 GB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.6662, allocations: 0 / 0.558 GB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.6662, allocations: 4 kB / 0.558 GB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6662, allocations: 3.984 kB / 0.558 GB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.6663, allocations: 4 kB / 0.558 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.6663, allocations: 7.891 kB / 0.558 GB, free: 7.027 MB / 362.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 (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 prepare postOptimizeDAE: time 7.475e-05/0.6664, allocations: 121.1 kB / 0.5581 GB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.6664, allocations: 7.906 kB / 0.5581 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.6666, allocations: 57.09 kB / 0.5582 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6666, allocations: 8 kB / 0.5582 GB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6666, allocations: 48 / 0.5582 GB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6666, allocations: 3.984 kB / 0.5582 GB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.6668, allocations: 175.3 kB / 0.5583 GB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.6668, allocations: 0 / 0.5583 GB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.6669, allocations: 7.984 kB / 0.5583 GB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6669, allocations: 4 kB / 0.5583 GB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.6669, allocations: 0 / 0.5583 GB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6669, allocations: 0 / 0.5583 GB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6669, allocations: 3.938 kB / 0.5584 GB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.667, allocations: 151.3 kB / 0.5585 GB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.6671, allocations: 81.11 kB / 0.5586 GB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.6671, allocations: 3.984 kB / 0.5586 GB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.6672, allocations: 0 / 0.5586 GB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.6672, allocations: 11.19 kB / 0.5586 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.6672, allocations: 0 / 0.5586 GB, free: 6.328 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.707e-05/0.6673, allocations: 110.9 kB / 0.5587 GB, free: 6.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.6674, allocations: 0 / 0.5587 GB, free: 6.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003204/0.6677, allocations: 31.78 kB / 0.5587 GB, free: 6.199 MB / 362.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 (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.001028/0.6687, allocations: 400.4 kB / 0.5591 GB, free: 5.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.6689, allocations: 15.19 kB / 0.5591 GB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6689, allocations: 0 / 0.5591 GB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.653e-05/0.6689, allocations: 15.92 kB / 0.5591 GB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.6692, allocations: 31.48 kB / 0.5592 GB, free: 5.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.6696, allocations: 179.6 kB / 0.5593 GB, free: 5.609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.6697, allocations: 0.6926 MB / 0.56 GB, free: 4.891 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.6698, allocations: 18.62 kB / 0.56 GB, free: 4.875 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6698, allocations: 4 kB / 0.56 GB, free: 4.871 MB / 362.7 MB Notification: Performance of Templates: time 0.00379/0.6736, allocations: 1.414 MB / 0.5614 GB, free: 3.461 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)