Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001706/0.001706, allocations: 104.4 kB / 16.41 MB, free: 6.398 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.001763/0.001763, allocations: 195.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8161/0.8161, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 64.44 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1798, allocations: 80.93 MB / 0.6653 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003267/0.1831, allocations: 1.418 MB / 0.6667 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003447/0.1835, allocations: 96.59 kB / 0.6668 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.1836, allocations: 0 / 0.6668 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.567e-05/0.1836, allocations: 3.938 kB / 0.6668 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.1837, allocations: 7.922 kB / 0.6668 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1839, allocations: 23.91 kB / 0.6668 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.555e-05/0.184, allocations: 23.92 kB / 0.6668 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.1841, allocations: 4 kB / 0.6668 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.1842, allocations: 12 kB / 0.6669 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.1842, allocations: 15.92 kB / 0.6669 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1843, allocations: 0 / 0.6669 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1844, allocations: 23.98 kB / 0.6669 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.1844, allocations: 3.984 kB / 0.6669 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.1845, allocations: 11.92 kB / 0.6669 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.1846, allocations: 39.83 kB / 0.667 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1846, allocations: 0 / 0.667 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1846, allocations: 0 / 0.667 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1846, allocations: 4 kB / 0.667 GB, free: 4.184 MB / 0.4981 GB 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.0005152/0.1852, allocations: 351.2 kB / 0.6673 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1852, allocations: 13.11 kB / 0.6673 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.1853, allocations: 0.9375 kB / 0.6673 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.1854, allocations: 168.4 kB / 0.6675 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.1854, allocations: 384 / 0.6675 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1855, allocations: 384 / 0.6675 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.1857, allocations: 50.23 kB / 0.6675 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1857, allocations: 192 / 0.6675 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1857, allocations: 7.938 kB / 0.6675 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1858, allocations: 4 kB / 0.6675 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.186, allocations: 43.89 kB / 0.6676 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.1864, allocations: 252.9 kB / 0.6678 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1866, allocations: 50.48 kB / 0.6679 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.1868, allocations: 28.89 kB / 0.6679 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.1868, allocations: 0 / 0.6679 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.1869, allocations: 30.56 kB / 0.6679 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.1869, allocations: 0 / 0.6679 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005142/0.1874, allocations: 93.67 kB / 0.668 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.1874, allocations: 51.41 kB / 0.668 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1876, allocations: 105.8 kB / 0.6682 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1876, allocations: 29.7 kB / 0.6682 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.1877, allocations: 84.14 kB / 0.6683 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.1877, allocations: 7.844 kB / 0.6683 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.1877, allocations: 13.72 kB / 0.6683 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1879, allocations: 318.8 kB / 0.6686 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.188, allocations: 20.02 kB / 0.6686 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1882, allocations: 15.98 kB / 0.6686 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.1884, allocations: 48.75 kB / 0.6687 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1884, allocations: 0 / 0.6687 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003038/0.1887, allocations: 77.59 kB / 0.6687 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1888, allocations: 9.406 kB / 0.6687 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1888, allocations: 0 / 0.6687 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1888, allocations: 0 / 0.6687 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1889, allocations: 7.984 kB / 0.6688 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1889, allocations: 0 / 0.6688 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.189, allocations: 8 kB / 0.6688 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.189, allocations: 7.938 kB / 0.6688 GB, free: 2.098 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.399e-05/0.1892, allocations: 117.8 kB / 0.6689 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.1892, allocations: 7.906 kB / 0.6689 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.1895, allocations: 77.12 kB / 0.669 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1896, allocations: 0 / 0.669 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1896, allocations: 0 / 0.669 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1896, allocations: 0 / 0.669 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.1898, allocations: 169.8 kB / 0.6691 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.1899, allocations: 0 / 0.6691 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.19, allocations: 16.02 kB / 0.6691 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.19, allocations: 4 kB / 0.6691 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.19, allocations: 0 / 0.6691 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.19, allocations: 0 / 0.6691 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.19, allocations: 0 / 0.6691 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.1904, allocations: 171.4 kB / 0.6693 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.1904, allocations: 81.14 kB / 0.6694 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1905, allocations: 0 / 0.6694 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.1906, allocations: 7.984 kB / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.1907, allocations: 0 / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1907, allocations: 8 kB / 0.6694 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.1907, allocations: 83.27 kB / 0.6695 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1907, allocations: 0 / 0.6695 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004237/0.1912, allocations: 12 kB / 0.6695 GB, free: 1.258 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 (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.0001656/0.1914, allocations: 100.6 kB / 0.6696 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002988/0.1917, allocations: 43.95 kB / 0.6696 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1917, allocations: 4 kB / 0.6696 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.1918, allocations: 19.92 kB / 0.6697 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.1923, allocations: 11.92 kB / 0.6697 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.1926, allocations: 147.2 kB / 0.6698 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.193, allocations: 0.6768 MB / 0.6705 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.193, allocations: 11.42 kB / 0.6705 GB, free: 184 kB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.193, allocations: 0 / 0.6705 GB, free: 184 kB / 0.4981 GB Notification: Performance of Templates: time 0.002634/0.1957, allocations: 0.6644 MB / 0.6711 GB, free: 15.51 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)