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.00266/0.002666, allocations: 360 kB / 17.21 MB, free: 4.93 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.849/3.849, allocations: 388.9 MB / 406.8 MB, free: 11.91 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.003655/0.003655, allocations: 245.2 kB / 452.2 MB, free: 14.51 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.8758/0.8758, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006756/0.0006758, allocations: 16 kB / 0.6222 GB, free: 114.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09272, allocations: 53.23 MB / 0.6742 GB, free: 60.95 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001774/0.09454, allocations: 1.043 MB / 0.6752 GB, free: 59.91 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000489/0.09506, allocations: 212 kB / 0.6754 GB, free: 59.7 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.608e-05/0.09513, allocations: 4 kB / 0.6754 GB, free: 59.7 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.09532, allocations: 15.97 kB / 0.6755 GB, free: 59.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.09546, allocations: 19.92 kB / 0.6755 GB, free: 59.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.09558, allocations: 35.78 kB / 0.6755 GB, free: 59.62 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.09569, allocations: 39.91 kB / 0.6756 GB, free: 59.59 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.09575, allocations: 4 kB / 0.6756 GB, free: 59.58 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.09591, allocations: 23.86 kB / 0.6756 GB, free: 59.56 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.09599, allocations: 23.91 kB / 0.6756 GB, free: 59.54 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.09602, allocations: 4 kB / 0.6756 GB, free: 59.53 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.09614, allocations: 43.92 kB / 0.6756 GB, free: 59.49 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.0962, allocations: 7.984 kB / 0.6757 GB, free: 59.48 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.09624, allocations: 37.64 kB / 0.6757 GB, free: 59.44 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.0964, allocations: 63.89 kB / 0.6758 GB, free: 59.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.09641, allocations: 0 / 0.6758 GB, free: 59.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.09642, allocations: 0 / 0.6758 GB, free: 59.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.09644, allocations: 0 / 0.6758 GB, free: 59.38 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.0003464/0.09679, allocations: 389.1 kB / 0.6761 GB, free: 58.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.09684, allocations: 8.031 kB / 0.6761 GB, free: 58.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.09689, allocations: 11.91 kB / 0.6761 GB, free: 58.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.09708, allocations: 182.9 kB / 0.6763 GB, free: 58.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.09711, allocations: 4 kB / 0.6763 GB, free: 58.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.09713, allocations: 3.938 kB / 0.6763 GB, free: 58.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.09726, allocations: 63.39 kB / 0.6764 GB, free: 58.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.09729, allocations: 0 / 0.6764 GB, free: 58.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.09731, allocations: 4 kB / 0.6764 GB, free: 58.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.09732, allocations: 7.953 kB / 0.6764 GB, free: 58.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.831e-05/0.0974, allocations: 19.98 kB / 0.6764 GB, free: 58.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.09774, allocations: 284.8 kB / 0.6767 GB, free: 58.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.09786, allocations: 34.56 kB / 0.6767 GB, free: 58.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.0979, allocations: 12.92 kB / 0.6767 GB, free: 58.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.09794, allocations: 7.953 kB / 0.6767 GB, free: 58.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.09797, allocations: 34.56 kB / 0.6768 GB, free: 58.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.09798, allocations: 0 / 0.6768 GB, free: 58.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001934/0.09818, allocations: 57.62 kB / 0.6768 GB, free: 58.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.09822, allocations: 85.09 kB / 0.6769 GB, free: 57.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.09836, allocations: 125.8 kB / 0.677 GB, free: 57.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.09839, allocations: 29.7 kB / 0.6771 GB, free: 57.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.09844, allocations: 92.12 kB / 0.6771 GB, free: 57.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.09846, allocations: 11.84 kB / 0.6772 GB, free: 57.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.09848, allocations: 4 kB / 0.6772 GB, free: 57.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.09854, allocations: 322.8 kB / 0.6775 GB, free: 57.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.893e-05/0.09858, allocations: 4 kB / 0.6775 GB, free: 57.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.09863, allocations: 25.89 kB / 0.6775 GB, free: 57.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.972e-05/0.09869, allocations: 41.78 kB / 0.6775 GB, free: 57.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.0987, allocations: 0 / 0.6775 GB, free: 57.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001331/0.09884, allocations: 95.17 kB / 0.6776 GB, free: 57.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.09889, allocations: 33.66 kB / 0.6777 GB, free: 57.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.0989, allocations: 4.031 kB / 0.6777 GB, free: 57.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.09892, allocations: 4 kB / 0.6777 GB, free: 57.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.913e-05/0.099, allocations: 7.984 kB / 0.6777 GB, free: 57.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.09902, allocations: 0 / 0.6777 GB, free: 57.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.09906, allocations: 0 / 0.6777 GB, free: 57.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.09907, allocations: 4 kB / 0.6777 GB, free: 57.14 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.957e-05/0.09915, allocations: 113.8 kB / 0.6778 GB, free: 57.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.0992, allocations: 3.906 kB / 0.6778 GB, free: 57.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.09935, allocations: 73.47 kB / 0.6779 GB, free: 56.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.09937, allocations: 0 / 0.6779 GB, free: 56.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.09938, allocations: 4 kB / 0.6779 GB, free: 56.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.09942, allocations: 77.11 kB / 0.6779 GB, free: 56.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.09945, allocations: 0 / 0.6779 GB, free: 56.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.09952, allocations: 0 / 0.6779 GB, free: 56.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.09954, allocations: 7.984 kB / 0.6779 GB, free: 56.82 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001001/0.09965, allocations: 129 kB / 0.6781 GB, free: 56.69 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001268/0.09979, allocations: 230.6 kB / 0.6783 GB, free: 56.45 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.193e-05/0.09984, allocations: 11.98 kB / 0.6783 GB, free: 56.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.712e-05/0.09992, allocations: 103.3 kB / 0.6784 GB, free: 56.34 MB / 442.7 MB Notification: Performance of Backend: time 5.51e-07/0.09994, allocations: 0 / 0.6784 GB, free: 56.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.1013, allocations: 412.5 kB / 0.6788 GB, free: 55.97 MB / 442.7 MB Notification: Performance of SimCode: time 0.0004588/0.1018, allocations: 0.5936 MB / 0.6794 GB, free: 55.32 MB / 442.7 MB Notification: Performance of Templates: time 0.004437/0.1062, allocations: 1.189 MB / 0.6805 GB, free: 54.14 MB / 442.7 MB