Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00085/0.0008499, allocations: 100.2 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.0009842/0.0009845, 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.175/1.175, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8706/0.8706, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002964, allocations: 12 kB / 0.5068 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1625, allocations: 82.31 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006261/0.1632, allocations: 315.1 kB / 0.5875 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002967/0.1635, allocations: 155.6 kB / 0.5877 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.1635, allocations: 0 / 0.5877 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.1636, allocations: 7.875 kB / 0.5877 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.975e-05/0.1636, allocations: 0 / 0.5877 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.1638, allocations: 21.73 kB / 0.5877 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.023e-05/0.1638, allocations: 7.984 kB / 0.5877 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.1639, allocations: 3.984 kB / 0.5877 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.769e-05/0.1639, allocations: 11.94 kB / 0.5877 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.164, allocations: 4 kB / 0.5877 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.164, allocations: 0 / 0.5877 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.936e-05/0.1641, allocations: 31.97 kB / 0.5877 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.1641, allocations: 15.91 kB / 0.5878 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.1641, allocations: 25.7 kB / 0.5878 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.921e-05/0.1642, allocations: 15.98 kB / 0.5878 GB, free: 2.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1642, allocations: 0 / 0.5878 GB, free: 2.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1642, allocations: 0 / 0.5878 GB, free: 2.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1642, allocations: 0 / 0.5878 GB, free: 2.484 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.0003308/0.1645, allocations: 326 kB / 0.5881 GB, free: 2.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1646, allocations: 11.97 kB / 0.5881 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.1646, allocations: 11.89 kB / 0.5881 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1647, allocations: 171 kB / 0.5883 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1647, allocations: 0 / 0.5883 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.1648, allocations: 8 kB / 0.5883 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.1649, allocations: 37.69 kB / 0.5883 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1649, allocations: 0 / 0.5883 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1649, allocations: 4 kB / 0.5883 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1649, allocations: 3.984 kB / 0.5883 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.108e-05/0.165, allocations: 15.98 kB / 0.5884 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.1651, allocations: 161.8 kB / 0.5885 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.955e-05/0.1652, allocations: 50.56 kB / 0.5886 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.502e-05/0.1653, allocations: 81.11 kB / 0.5886 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.1653, allocations: 30.56 kB / 0.5887 GB, free: 1.414 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1653, allocations: 0 / 0.5887 GB, free: 1.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.00113/0.1665, allocations: 0.4889 MB / 0.5891 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1665, allocations: 59.34 kB / 0.5892 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.1666, allocations: 89.86 kB / 0.5893 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1666, allocations: 33.64 kB / 0.5893 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.1666, allocations: 84.14 kB / 0.5894 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.1667, allocations: 19.64 kB / 0.5894 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.1667, allocations: 4 kB / 0.5894 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.1668, allocations: 314.8 kB / 0.5897 GB, free: 224 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.1668, allocations: 8 kB / 0.5897 GB, free: 216 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.1668, allocations: 20.11 kB / 0.5897 GB, free: 196 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.23e-05/0.1669, allocations: 19.89 kB / 0.5898 GB, free: 176 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.1669, allocations: 0 / 0.5898 GB, free: 176 kB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.498e-05/0.167, allocations: 77.58 kB / 0.5898 GB, free: 92 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.167, allocations: 4 kB / 0.5898 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.167, allocations: 0 / 0.5898 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.167, allocations: 0 / 0.5898 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.1671, allocations: 19.92 kB / 0.5899 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1671, allocations: 0 / 0.5899 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.1671, allocations: 0 / 0.5899 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.1672, allocations: 8 kB / 0.5899 GB, free: 60 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.242e-05/0.1673, allocations: 113.8 kB / 0.59 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.1673, allocations: 4 kB / 0.59 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.1674, allocations: 81.58 kB / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1674, allocations: 0 / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.1674, allocations: 7.984 kB / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1675, allocations: 0 / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.1676, allocations: 161.7 kB / 0.5902 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1676, allocations: 7.953 kB / 0.5902 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.317e-05/0.1677, allocations: 15.98 kB / 0.5902 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1677, allocations: 0 / 0.5902 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1677, allocations: 4 kB / 0.5903 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1677, allocations: 0 / 0.5903 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1677, allocations: 0 / 0.5903 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.1679, allocations: 113.3 kB / 0.5904 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.1679, allocations: 85.09 kB / 0.5904 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1679, allocations: 8.062 kB / 0.5904 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.168, allocations: 0 / 0.5904 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.168, allocations: 7.984 kB / 0.5905 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.168, allocations: 4 kB / 0.5905 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.168, allocations: 75.28 kB / 0.5905 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.168, allocations: 0 / 0.5905 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001985/0.1682, allocations: 28 kB / 0.5906 GB, free: 15.25 MB / 0.4981 GB 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 (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.0001911/0.1684, allocations: 127.3 kB / 0.5907 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.783e-05/0.1685, allocations: 51.92 kB / 0.5907 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1686, allocations: 3.938 kB / 0.5907 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.1686, allocations: 23.98 kB / 0.5908 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.154e-05/0.1687, allocations: 0 / 0.5908 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.1689, allocations: 148.9 kB / 0.5909 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.1692, allocations: 0.6887 MB / 0.5916 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.1692, allocations: 8.188 kB / 0.5916 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.1692, allocations: 7.438 kB / 0.5916 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1692, allocations: 4 kB / 0.5916 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.00259/0.1718, allocations: 0.8255 MB / 0.5924 GB, free: 13.32 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: