Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 194.5 kB / 16.53 MB, free: 6.691 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7585/0.7585, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 73.17 kB / 0.5018 GB, free: 8.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1645, allocations: 80.2 MB / 0.5801 GB, free: 8.75 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.003518/0.1681, allocations: 1.437 MB / 0.5815 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004785/0.1686, allocations: 196.2 kB / 0.5817 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.1686, allocations: 0 / 0.5817 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.1687, allocations: 0 / 0.5817 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.1687, allocations: 7.938 kB / 0.5817 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.169, allocations: 31.84 kB / 0.5817 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.985e-05/0.1691, allocations: 27.91 kB / 0.5817 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.1692, allocations: 12 kB / 0.5818 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.848e-05/0.1692, allocations: 4 kB / 0.5818 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.1693, allocations: 15.92 kB / 0.5818 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1693, allocations: 0 / 0.5818 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1694, allocations: 35.97 kB / 0.5818 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.1694, allocations: 7.984 kB / 0.5818 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.1695, allocations: 3.938 kB / 0.5818 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1696, allocations: 47.88 kB / 0.5819 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1696, allocations: 0 / 0.5819 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1696, allocations: 0 / 0.5819 GB, free: 6.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1696, allocations: 0 / 0.5819 GB, free: 6.91 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.0004678/0.1701, allocations: 351.6 kB / 0.5822 GB, free: 6.516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1701, allocations: 8.031 kB / 0.5822 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.1701, allocations: 4.938 kB / 0.5822 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1702, allocations: 168.3 kB / 0.5824 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1703, allocations: 4.375 kB / 0.5824 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1703, allocations: 384 / 0.5824 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1705, allocations: 52 kB / 0.5824 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1705, allocations: 4.188 kB / 0.5824 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1705, allocations: 3.938 kB / 0.5824 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1705, allocations: 0 / 0.5824 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.1707, allocations: 31.97 kB / 0.5825 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.171, allocations: 248.9 kB / 0.5827 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.1711, allocations: 42.5 kB / 0.5827 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/0.1712, allocations: 32.83 kB / 0.5828 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.98e-05/0.1713, allocations: 77.11 kB / 0.5828 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.1713, allocations: 30.56 kB / 0.5829 GB, free: 5.691 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1713, allocations: 0 / 0.5829 GB, free: 5.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003402/0.1717, allocations: 89.58 kB / 0.583 GB, free: 5.598 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.1717, allocations: 55.41 kB / 0.583 GB, free: 5.531 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.1718, allocations: 101.8 kB / 0.5831 GB, free: 5.422 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1718, allocations: 25.7 kB / 0.5831 GB, free: 5.391 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.1718, allocations: 88.14 kB / 0.5832 GB, free: 5.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.1719, allocations: 7.891 kB / 0.5832 GB, free: 5.293 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.1719, allocations: 9.719 kB / 0.5832 GB, free: 5.277 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.172, allocations: 319 kB / 0.5835 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.1721, allocations: 19.97 kB / 0.5836 GB, free: 4.938 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/0.1722, allocations: 11.98 kB / 0.5836 GB, free: 4.926 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1723, allocations: 40.83 kB / 0.5836 GB, free: 4.883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1723, allocations: 0 / 0.5836 GB, free: 4.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000192/0.1725, allocations: 81.53 kB / 0.5837 GB, free: 4.797 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1725, allocations: 4 kB / 0.5837 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1726, allocations: 0 / 0.5837 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1726, allocations: 0 / 0.5837 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.483e-05/0.1727, allocations: 11.98 kB / 0.5837 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.1727, allocations: 0 / 0.5837 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.1727, allocations: 4 kB / 0.5837 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1727, allocations: 3.984 kB / 0.5837 GB, free: 4.773 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 (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 6.486e-05/0.1728, allocations: 121.8 kB / 0.5838 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.1728, allocations: 3.906 kB / 0.5838 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.1731, allocations: 72.72 kB / 0.5839 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1731, allocations: 0 / 0.5839 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1731, allocations: 0 / 0.5839 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1731, allocations: 3.984 kB / 0.5839 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1733, allocations: 165.8 kB / 0.5841 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1733, allocations: 8.031 kB / 0.5841 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.1733, allocations: 12 kB / 0.5841 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1734, allocations: 0 / 0.5841 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1734, allocations: 3.984 kB / 0.5841 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1734, allocations: 3.938 kB / 0.5841 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1734, allocations: 0 / 0.5841 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.1736, allocations: 163.5 kB / 0.5842 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.1736, allocations: 81.11 kB / 0.5843 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1737, allocations: 0 / 0.5843 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.1737, allocations: 8 kB / 0.5843 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.1738, allocations: 7.922 kB / 0.5843 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1738, allocations: 0 / 0.5843 GB, free: 4.027 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.243e-05/0.1738, allocations: 79.28 kB / 0.5844 GB, free: 3.949 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1738, allocations: 0 / 0.5844 GB, free: 3.949 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.1741, allocations: 16 kB / 0.5844 GB, free: 3.934 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 (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.0001476/0.1742, allocations: 111.3 kB / 0.5845 GB, free: 3.816 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1744, allocations: 31.97 kB / 0.5846 GB, free: 3.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1744, allocations: 0 / 0.5846 GB, free: 3.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.1745, allocations: 23.97 kB / 0.5846 GB, free: 3.762 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1748, allocations: 8.062 kB / 0.5846 GB, free: 3.754 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.1751, allocations: 121.3 kB / 0.5847 GB, free: 3.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.1753, allocations: 0.6729 MB / 0.5854 GB, free: 2.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.334e-05/0.1753, allocations: 7.969 kB / 0.5854 GB, free: 2.902 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.1754, allocations: 7.438 kB / 0.5854 GB, free: 2.895 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1754, allocations: 3.938 kB / 0.5854 GB, free: 2.891 MB / 494.1 MB Notification: Performance of Templates: time 0.002556/0.1779, allocations: 0.5733 MB / 0.5859 GB, free: 2.324 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)