Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.Tables.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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_master_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002406/0.002406, allocations: 356.2 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.478/3.478, allocations: 388.9 MB / 406.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00351/0.00351, allocations: 253.1 kB / 451.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6619/0.6619, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06621/0.06671, allocations: 53.23 MB / 0.6736 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001428/0.06818, allocations: 1.047 MB / 0.6746 GB, free: 59.78 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003845/0.06858, allocations: 211.9 kB / 0.6748 GB, free: 59.57 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.06863, allocations: 0 / 0.6748 GB, free: 59.57 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.0688, allocations: 15.98 kB / 0.6748 GB, free: 59.55 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.06893, allocations: 19.91 kB / 0.6749 GB, free: 59.54 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.372e-05/0.06904, allocations: 27.86 kB / 0.6749 GB, free: 59.51 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.615e-05/0.06914, allocations: 43.91 kB / 0.6749 GB, free: 59.46 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.06919, allocations: 7.969 kB / 0.6749 GB, free: 59.46 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.06932, allocations: 27.86 kB / 0.675 GB, free: 59.43 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.06938, allocations: 19.92 kB / 0.675 GB, free: 59.41 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.06941, allocations: 0 / 0.675 GB, free: 59.41 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.142e-05/0.06951, allocations: 43.91 kB / 0.675 GB, free: 59.37 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.06956, allocations: 15.98 kB / 0.675 GB, free: 59.35 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.0696, allocations: 41.58 kB / 0.6751 GB, free: 59.3 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.06973, allocations: 55.91 kB / 0.6751 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.95e-06/0.06975, allocations: 0 / 0.6751 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.71e-06/0.06976, allocations: 0 / 0.6751 GB, free: 59.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.06977, allocations: 0 / 0.6751 GB, free: 59.25 MB / 442.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.0002938/0.07008, allocations: 393.1 kB / 0.6755 GB, free: 58.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.07012, allocations: 8.828 kB / 0.6755 GB, free: 58.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.07017, allocations: 11.91 kB / 0.6755 GB, free: 58.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.07034, allocations: 179 kB / 0.6757 GB, free: 58.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.07037, allocations: 11.94 kB / 0.6757 GB, free: 58.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.07039, allocations: 4 kB / 0.6757 GB, free: 58.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.07051, allocations: 67.39 kB / 0.6758 GB, free: 58.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.747e-06/0.07053, allocations: 0 / 0.6758 GB, free: 58.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.355e-06/0.07055, allocations: 0 / 0.6758 GB, free: 58.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-06/0.07056, allocations: 3.953 kB / 0.6758 GB, free: 58.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.751e-05/0.07063, allocations: 19.98 kB / 0.6758 GB, free: 58.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.07094, allocations: 284.8 kB / 0.6761 GB, free: 58.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.172e-05/0.07105, allocations: 38.56 kB / 0.6761 GB, free: 58.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.07109, allocations: 8.922 kB / 0.6761 GB, free: 58.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.07112, allocations: 3.953 kB / 0.6761 GB, free: 58.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.07115, allocations: 34.56 kB / 0.6761 GB, free: 58.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 3.855e-06/0.07116, allocations: 4 kB / 0.6762 GB, free: 58.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001724/0.07134, allocations: 57.62 kB / 0.6762 GB, free: 57.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.07138, allocations: 81.09 kB / 0.6763 GB, free: 57.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.07152, allocations: 133.8 kB / 0.6764 GB, free: 57.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.07154, allocations: 25.7 kB / 0.6764 GB, free: 57.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.07159, allocations: 92.12 kB / 0.6765 GB, free: 57.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.07161, allocations: 7.844 kB / 0.6765 GB, free: 57.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-06/0.07163, allocations: 7.938 kB / 0.6765 GB, free: 57.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.07168, allocations: 318.8 kB / 0.6768 GB, free: 57.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.07172, allocations: 12 kB / 0.6769 GB, free: 57.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.07177, allocations: 21.7 kB / 0.6769 GB, free: 57.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.07182, allocations: 37.7 kB / 0.6769 GB, free: 57.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-06/0.07183, allocations: 0 / 0.6769 GB, free: 57.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001267/0.07197, allocations: 91.23 kB / 0.677 GB, free: 57.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.07201, allocations: 33.66 kB / 0.677 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-06/0.07202, allocations: 0 / 0.677 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.07204, allocations: 0 / 0.677 GB, free: 57.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.368e-05/0.0721, allocations: 7.984 kB / 0.677 GB, free: 57.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.735e-06/0.07212, allocations: 8.031 kB / 0.677 GB, free: 57.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.07216, allocations: 0 / 0.677 GB, free: 57.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.533e-06/0.07217, allocations: 0 / 0.677 GB, free: 57.02 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.07225, allocations: 121.8 kB / 0.6772 GB, free: 56.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.0723, allocations: 3.906 kB / 0.6772 GB, free: 56.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.07243, allocations: 69.8 kB / 0.6772 GB, free: 56.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.07245, allocations: 4.031 kB / 0.6772 GB, free: 56.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.07246, allocations: 0 / 0.6772 GB, free: 56.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.312e-06/0.07248, allocations: 8 kB / 0.6772 GB, free: 56.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.07264, allocations: 165.7 kB / 0.6774 GB, free: 56.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-06/0.07265, allocations: 0 / 0.6774 GB, free: 56.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.07269, allocations: 4 kB / 0.6774 GB, free: 56.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.059e-06/0.07271, allocations: 0 / 0.6774 GB, free: 56.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.07272, allocations: 4 kB / 0.6774 GB, free: 56.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.784e-06/0.07273, allocations: 3.953 kB / 0.6774 GB, free: 56.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.585e-06/0.07274, allocations: 0 / 0.6774 GB, free: 56.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.07286, allocations: 151.4 kB / 0.6776 GB, free: 56.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.0729, allocations: 81.11 kB / 0.6776 GB, free: 56.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.07293, allocations: 7.938 kB / 0.6776 GB, free: 56.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.07301, allocations: 0 / 0.6776 GB, free: 56.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.07303, allocations: 3.953 kB / 0.6776 GB, free: 56.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.288e-06/0.07305, allocations: 8 kB / 0.6777 GB, free: 56.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.219e-05/0.07313, allocations: 107.2 kB / 0.6778 GB, free: 56.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.6e-07/0.07314, allocations: 0 / 0.6778 GB, free: 56.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003152/0.07347, allocations: 20 kB / 0.6778 GB, free: 56.17 MB / 442.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.000924/0.0744, allocations: 315.9 kB / 0.6781 GB, free: 55.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.07453, allocations: 79.39 kB / 0.6782 GB, free: 55.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.367e-06/0.07455, allocations: 0 / 0.6782 GB, free: 55.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.485e-05/0.07458, allocations: 7.938 kB / 0.6782 GB, free: 55.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.07494, allocations: 15.97 kB / 0.6782 GB, free: 55.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.07523, allocations: 154.8 kB / 0.6783 GB, free: 55.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.07537, allocations: 0.6926 MB / 0.679 GB, free: 54.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.548e-05/0.07544, allocations: 15.98 kB / 0.679 GB, free: 54.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.07548, allocations: 15.44 kB / 0.679 GB, free: 54.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.267e-06/0.07549, allocations: 0 / 0.679 GB, free: 54.85 MB / 442.7 MB Notification: Performance of Templates: time 0.003532/0.07903, allocations: 1.017 MB / 0.68 GB, free: 53.84 MB / 442.7 MB