Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001497/0.001497, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9121/0.9121, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 63.19 kB / 0.5047 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 80.92 MB / 0.5837 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00171/0.1665, allocations: 0.6504 MB / 0.5844 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003896/0.1669, allocations: 171.5 kB / 0.5845 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.285e-05/0.1669, allocations: 0 / 0.5845 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.167, allocations: 3.938 kB / 0.5845 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.699e-05/0.167, allocations: 4 kB / 0.5845 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.1672, allocations: 23.98 kB / 0.5845 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.188e-05/0.1673, allocations: 15.98 kB / 0.5846 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.1673, allocations: 4 kB / 0.5846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.815e-05/0.1673, allocations: 7.984 kB / 0.5846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.1674, allocations: 15.92 kB / 0.5846 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1674, allocations: 0 / 0.5846 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.383e-05/0.1675, allocations: 35.97 kB / 0.5846 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.1675, allocations: 0 / 0.5846 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.1676, allocations: 11.92 kB / 0.5846 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.57e-05/0.1676, allocations: 23.95 kB / 0.5847 GB, free: 4.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1677, allocations: 7.938 kB / 0.5847 GB, free: 4.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1677, allocations: 3.938 kB / 0.5847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1677, allocations: 0 / 0.5847 GB, free: 4.012 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003504/0.168, allocations: 331.6 kB / 0.585 GB, free: 3.637 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1681, allocations: 8.031 kB / 0.585 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.1681, allocations: 12.84 kB / 0.585 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1682, allocations: 160.4 kB / 0.5852 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.1682, allocations: 384 / 0.5852 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1682, allocations: 4.375 kB / 0.5852 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.316e-05/0.1683, allocations: 38.25 kB / 0.5852 GB, free: 3.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.1684, allocations: 4.188 kB / 0.5852 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1684, allocations: 11.92 kB / 0.5852 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1684, allocations: 0 / 0.5852 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.172e-05/0.1684, allocations: 11.94 kB / 0.5852 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.1686, allocations: 169.9 kB / 0.5854 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.342e-05/0.1687, allocations: 42.56 kB / 0.5854 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.1687, allocations: 24.97 kB / 0.5855 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.144e-05/0.1688, allocations: 77.11 kB / 0.5855 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1689, allocations: 38.5 kB / 0.5856 GB, free: 2.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.1689, allocations: 0 / 0.5856 GB, free: 2.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001186/0.1701, allocations: 496.2 kB / 0.586 GB, free: 2.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.1701, allocations: 51.41 kB / 0.5861 GB, free: 2.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/0.1702, allocations: 89.86 kB / 0.5862 GB, free: 2.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1702, allocations: 25.7 kB / 0.5862 GB, free: 2.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.1702, allocations: 84.14 kB / 0.5863 GB, free: 2.078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1703, allocations: 23.64 kB / 0.5863 GB, free: 2.055 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.1703, allocations: 21.72 kB / 0.5863 GB, free: 2.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.1704, allocations: 319 kB / 0.5866 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.1704, allocations: 19.97 kB / 0.5866 GB, free: 1.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/0.1705, allocations: 8 kB / 0.5866 GB, free: 1.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.165e-05/0.1705, allocations: 36.84 kB / 0.5867 GB, free: 1.641 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1705, allocations: 0 / 0.5867 GB, free: 1.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001017/0.1706, allocations: 73.53 kB / 0.5868 GB, free: 1.562 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1707, allocations: 14.59 kB / 0.5868 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1707, allocations: 3.938 kB / 0.5868 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.1707, allocations: 0 / 0.5868 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.1708, allocations: 16 kB / 0.5868 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1708, allocations: 3.984 kB / 0.5868 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.1708, allocations: 0 / 0.5868 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.1708, allocations: 4 kB / 0.5868 GB, free: 1.523 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 (8): * Single equations (assignments): 8 * 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.139e-05/0.1709, allocations: 109.8 kB / 0.5869 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.1709, allocations: 7.938 kB / 0.5869 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.1711, allocations: 85.88 kB / 0.587 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1711, allocations: 0 / 0.587 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1711, allocations: 8 kB / 0.587 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1711, allocations: 0 / 0.587 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.1712, allocations: 165.6 kB / 0.5872 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1712, allocations: 3.984 kB / 0.5872 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.1713, allocations: 12 kB / 0.5872 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1713, allocations: 3.938 kB / 0.5872 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1714, allocations: 4 kB / 0.5872 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1714, allocations: 192 / 0.5872 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1714, allocations: 7.938 kB / 0.5872 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1715, allocations: 121 kB / 0.5873 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.1716, allocations: 85.03 kB / 0.5874 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1716, allocations: 4 kB / 0.5874 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.535e-05/0.1717, allocations: 4.031 kB / 0.5874 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.1717, allocations: 0 / 0.5874 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1717, allocations: 4 kB / 0.5874 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.915e-05/0.1717, allocations: 79.27 kB / 0.5875 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1717, allocations: 0 / 0.5875 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000208/0.1719, allocations: 36.16 kB / 0.5875 GB, free: 0.6914 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001968/0.1721, allocations: 131.2 kB / 0.5876 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.749e-05/0.1722, allocations: 39.92 kB / 0.5877 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1723, allocations: 0 / 0.5877 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.062e-05/0.1723, allocations: 16 kB / 0.5877 GB, free: 0.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.1724, allocations: 14.94 kB / 0.5877 GB, free: 500 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.1727, allocations: 160.7 kB / 0.5878 GB, free: 316 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.173, allocations: 0.6809 MB / 0.5885 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.173, allocations: 7.984 kB / 0.5885 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.173, allocations: 11.44 kB / 0.5885 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.173, allocations: 0 / 0.5885 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.002702/0.1757, allocations: 0.8492 MB / 0.5894 GB, free: 14.77 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)