Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 112.7 kB / 15.99 MB, free: 5.914 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.001134/0.001134, allocations: 192.1 kB / 16.91 MB, free: 5.758 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.4/1.4, allocations: 222.9 MB / 240.6 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9348/0.9348, allocations: 135.1 MB / 425.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 68.17 kB / 0.5055 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1637, allocations: 80.92 MB / 0.5845 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.00214/0.1659, allocations: 0.6293 MB / 0.5852 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002494/0.1662, allocations: 39.88 kB / 0.5852 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.209e-05/0.1662, allocations: 4 kB / 0.5852 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.1662, allocations: 0 / 0.5852 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.1663, allocations: 0 / 0.5852 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1666, allocations: 7.984 kB / 0.5852 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.721e-05/0.1666, allocations: 4 kB / 0.5852 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.1667, allocations: 0 / 0.5852 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.1667, allocations: 0 / 0.5852 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.1668, allocations: 7.984 kB / 0.5852 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.1668, allocations: 4 kB / 0.5852 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.1669, allocations: 23.92 kB / 0.5852 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.1669, allocations: 3.938 kB / 0.5852 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.1669, allocations: 7.922 kB / 0.5853 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.149e-05/0.167, allocations: 4 kB / 0.5853 GB, free: 4.137 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.167, allocations: 0 / 0.5853 GB, free: 4.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.167, allocations: 3.984 kB / 0.5853 GB, free: 4.133 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.167, allocations: 0 / 0.5853 GB, free: 4.133 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003504/0.1674, allocations: 311.6 kB / 0.5856 GB, free: 3.777 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1674, allocations: 16.03 kB / 0.5856 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.1675, allocations: 0.9375 kB / 0.5856 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1676, allocations: 164.4 kB / 0.5857 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1676, allocations: 4.375 kB / 0.5857 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.1676, allocations: 384 / 0.5857 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.49e-05/0.1677, allocations: 30.27 kB / 0.5858 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.1677, allocations: 192 / 0.5858 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1677, allocations: 3.938 kB / 0.5858 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1678, allocations: 0 / 0.5858 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.1678, allocations: 3.938 kB / 0.5858 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.1679, allocations: 153.7 kB / 0.5859 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.304e-05/0.168, allocations: 18.58 kB / 0.5859 GB, free: 3.289 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.168, allocations: 12.95 kB / 0.586 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.168, allocations: 0 / 0.586 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1681, allocations: 30.56 kB / 0.586 GB, free: 3.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.425e-06/0.1681, allocations: 3.984 kB / 0.586 GB, free: 3.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.1682, allocations: 45.58 kB / 0.586 GB, free: 3.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1683, allocations: 51.41 kB / 0.5861 GB, free: 3.117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.515e-05/0.1683, allocations: 89.86 kB / 0.5862 GB, free: 3.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1683, allocations: 25.7 kB / 0.5862 GB, free: 2.988 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.1684, allocations: 84.12 kB / 0.5863 GB, free: 2.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.1684, allocations: 7.906 kB / 0.5863 GB, free: 2.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.1685, allocations: 13.72 kB / 0.5863 GB, free: 2.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1686, allocations: 310.8 kB / 0.5866 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.1686, allocations: 8.062 kB / 0.5866 GB, free: 2.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-06/0.1686, allocations: 4 kB / 0.5866 GB, free: 2.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.778e-05/0.1686, allocations: 4.859 kB / 0.5866 GB, free: 2.543 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1686, allocations: 0 / 0.5866 GB, free: 2.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.422e-05/0.1687, allocations: 45.62 kB / 0.5866 GB, free: 2.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1687, allocations: 4 kB / 0.5866 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1687, allocations: 0 / 0.5866 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1688, allocations: 3.938 kB / 0.5867 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.1688, allocations: 4.094 kB / 0.5867 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1688, allocations: 4 kB / 0.5867 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.1689, allocations: 0 / 0.5867 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1689, allocations: 3.938 kB / 0.5867 GB, free: 2.473 MB / 494.1 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 (1): * Single equations (assignments): 1 * 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 7.011e-05/0.169, allocations: 109.8 kB / 0.5868 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.169, allocations: 0 / 0.5868 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.1691, allocations: 52.69 kB / 0.5868 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1691, allocations: 0 / 0.5868 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1691, allocations: 4 kB / 0.5868 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1691, allocations: 0 / 0.5868 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1692, allocations: 149.7 kB / 0.587 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1692, allocations: 0 / 0.587 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.1693, allocations: 4 kB / 0.587 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1693, allocations: 0 / 0.587 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1693, allocations: 3.938 kB / 0.587 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1693, allocations: 0 / 0.587 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1693, allocations: 0 / 0.587 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.188e-05/0.1694, allocations: 65.16 kB / 0.587 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.1694, allocations: 77.11 kB / 0.5871 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1694, allocations: 3.938 kB / 0.5871 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.1694, allocations: 0 / 0.5871 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.1695, allocations: 0 / 0.5871 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1695, allocations: 7.938 kB / 0.5871 GB, free: 1.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.911e-05/0.1695, allocations: 75.28 kB / 0.5872 GB, free: 1.828 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1695, allocations: 4.031 kB / 0.5872 GB, free: 1.824 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.1697, allocations: 4 kB / 0.5872 GB, free: 1.82 MB / 494.1 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 (1): * Single equations (assignments): 1 * 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.0001716/0.1699, allocations: 103.2 kB / 0.5873 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.36e-05/0.17, allocations: 7.938 kB / 0.5873 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.17, allocations: 0 / 0.5873 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.015e-05/0.17, allocations: 4 kB / 0.5873 GB, free: 1.695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.1702, allocations: 0 / 0.5873 GB, free: 1.695 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002206/0.1704, allocations: 110.8 kB / 0.5874 GB, free: 1.555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.1706, allocations: 0.6768 MB / 0.5881 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.1707, allocations: 7.438 kB / 0.5881 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of SimCode: time 1.053e-05/0.1707, allocations: 0 / 0.5881 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of Templates: time 0.001925/0.1726, allocations: 457.2 kB / 0.5885 GB, free: 408 kB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)