Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008991/0.0008992, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009853/0.0009853, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8432/0.8432, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003747, allocations: 16 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1644, allocations: 82.31 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001351/0.1657, allocations: 1.136 MB / 0.5883 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002289/0.166, allocations: 100.6 kB / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.166, allocations: 0 / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.1661, allocations: 0 / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.1661, allocations: 3.984 kB / 0.5884 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.1663, allocations: 11.98 kB / 0.5884 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.75e-05/0.1664, allocations: 19.92 kB / 0.5884 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.09e-05/0.1664, allocations: 11.98 kB / 0.5885 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.468e-05/0.1665, allocations: 11.92 kB / 0.5885 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.199e-05/0.1665, allocations: 11.94 kB / 0.5885 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.1665, allocations: 0 / 0.5885 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.937e-05/0.1666, allocations: 11.98 kB / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.1666, allocations: 7.984 kB / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.1667, allocations: 29.7 kB / 0.5885 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.026e-05/0.1667, allocations: 23.97 kB / 0.5885 GB, free: 1.738 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1667, allocations: 4 kB / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1668, allocations: 0 / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1668, allocations: 0 / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004105/0.1672, allocations: 339.5 kB / 0.5889 GB, free: 1.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1672, allocations: 12.03 kB / 0.5889 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.1673, allocations: 0 / 0.5889 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1674, allocations: 182.8 kB / 0.5891 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1674, allocations: 8 kB / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1674, allocations: 0 / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1676, allocations: 53.67 kB / 0.5891 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1676, allocations: 4 kB / 0.5891 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1676, allocations: 0 / 0.5891 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1676, allocations: 0 / 0.5891 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.1678, allocations: 51.95 kB / 0.5892 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.1681, allocations: 248.9 kB / 0.5894 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1682, allocations: 54.48 kB / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1683, allocations: 0 / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1683, allocations: 38.5 kB / 0.5895 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.1683, allocations: 0 / 0.5895 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003457/0.1686, allocations: 101.7 kB / 0.5896 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.1687, allocations: 59.34 kB / 0.5896 GB, free: 436 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/0.1688, allocations: 109.8 kB / 0.5898 GB, free: 316 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.1688, allocations: 25.7 kB / 0.5898 GB, free: 284 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.1688, allocations: 84.08 kB / 0.5899 GB, free: 196 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.1689, allocations: 8.031 kB / 0.5899 GB, free: 188 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.1689, allocations: 8 kB / 0.5899 GB, free: 180 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.169, allocations: 318.8 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.1691, allocations: 19.98 kB / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.1691, allocations: 23.98 kB / 0.5902 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.043e-05/0.1692, allocations: 32.03 kB / 0.5902 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1692, allocations: 0 / 0.5902 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.1694, allocations: 77.67 kB / 0.5903 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1695, allocations: 10.33 kB / 0.5903 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1695, allocations: 0 / 0.5903 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1695, allocations: 0 / 0.5903 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.1696, allocations: 8 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1696, allocations: 3.938 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.1696, allocations: 15.92 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.1696, allocations: 3.984 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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 6.78e-05/0.1697, allocations: 121.8 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.1697, allocations: 3.906 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.17, allocations: 85.17 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.17, allocations: 4.031 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.17, allocations: 0 / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.17, allocations: 0 / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.1701, allocations: 169.6 kB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1701, allocations: 0 / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.1702, allocations: 8 kB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1702, allocations: 0 / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.1702, allocations: 0 / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1702, allocations: 3.984 kB / 0.5907 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1702, allocations: 7.938 kB / 0.5907 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.1705, allocations: 179.5 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.1705, allocations: 81.02 kB / 0.591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1705, allocations: 32 / 0.591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.1706, allocations: 12 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.1706, allocations: 3.984 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1706, allocations: 0 / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.969e-05/0.1707, allocations: 87.53 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1707, allocations: 11.88 kB / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002049/0.1709, allocations: 4 kB / 0.5911 GB, free: 14.79 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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.0001262/0.171, allocations: 111.2 kB / 0.5912 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1712, allocations: 47.91 kB / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1713, allocations: 0 / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.789e-05/0.1714, allocations: 36.03 kB / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.1715, allocations: 3.953 kB / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.1718, allocations: 116.7 kB / 0.5914 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.172, allocations: 0.6809 MB / 0.5921 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.883e-05/0.172, allocations: 0 / 0.5921 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.172, allocations: 11.5 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.172, allocations: 0 / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.002065/0.1741, allocations: 448.3 kB / 0.5925 GB, free: 13.29 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: