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-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.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.0008776/0.0008775, allocations: 100 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.0008841/0.0008842, allocations: 177.3 kB / 15.94 MB, free: 228 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.197/1.197, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8426/0.8426, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 12 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 82.31 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.001604/0.1617, allocations: 1.132 MB / 0.5883 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003407/0.1621, allocations: 196.3 kB / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.1621, allocations: 0 / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.1622, allocations: 0 / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.1622, allocations: 3.984 kB / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.1624, allocations: 23.92 kB / 0.5885 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.1625, allocations: 15.97 kB / 0.5885 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.991e-05/0.1625, allocations: 4 kB / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.605e-05/0.1626, allocations: 7.984 kB / 0.5885 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.1626, allocations: 11.94 kB / 0.5886 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.1627, allocations: 4 kB / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-05/0.1627, allocations: 23.97 kB / 0.5886 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.1628, allocations: 11.98 kB / 0.5886 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.1628, allocations: 33.58 kB / 0.5886 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.203e-05/0.1629, allocations: 27.95 kB / 0.5886 GB, free: 1.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.1629, allocations: 0 / 0.5886 GB, free: 1.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1629, allocations: 0 / 0.5886 GB, free: 1.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.1629, allocations: 0 / 0.5886 GB, free: 1.609 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.0003743/0.1633, allocations: 347.5 kB / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.1633, allocations: 8.031 kB / 0.589 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.1633, allocations: 3.984 kB / 0.589 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1635, allocations: 175 kB / 0.5892 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1635, allocations: 0 / 0.5892 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1635, allocations: 0 / 0.5892 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1637, allocations: 53.67 kB / 0.5892 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.1637, allocations: 4 kB / 0.5892 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1637, allocations: 0 / 0.5892 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1637, allocations: 4 kB / 0.5892 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.1639, allocations: 43.91 kB / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.1641, allocations: 256.8 kB / 0.5895 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1643, allocations: 42.55 kB / 0.5895 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.223e-05/0.1644, allocations: 85.16 kB / 0.5896 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.1644, allocations: 30.56 kB / 0.5897 GB, free: 408 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1644, allocations: 4 kB / 0.5897 GB, free: 404 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003275/0.1647, allocations: 101.6 kB / 0.5898 GB, free: 296 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1648, allocations: 55.53 kB / 0.5898 GB, free: 228 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.1648, allocations: 101.9 kB / 0.5899 GB, free: 116 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1649, allocations: 25.7 kB / 0.5899 GB, free: 84 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.1649, allocations: 92.12 kB / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.165, allocations: 3.906 kB / 0.59 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.165, allocations: 0 / 0.59 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.1651, allocations: 314.8 kB / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.1651, allocations: 27.98 kB / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/0.1652, allocations: 19.97 kB / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.656e-05/0.1653, allocations: 23.98 kB / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1653, allocations: 0 / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001895/0.1655, allocations: 81.61 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1655, allocations: 11.98 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1655, allocations: 0 / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1656, allocations: 0 / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.987e-05/0.1656, allocations: 12.03 kB / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1656, allocations: 0 / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.1657, allocations: 11.98 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1657, allocations: 0 / 0.5905 GB, free: 15.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.316e-05/0.1658, allocations: 116.4 kB / 0.5906 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.1658, allocations: 4 kB / 0.5906 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.166, allocations: 96.61 kB / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1661, allocations: 0 / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1661, allocations: 0 / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1661, allocations: 0 / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.1662, allocations: 161.6 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1662, allocations: 0 / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.1663, allocations: 16.02 kB / 0.5909 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1663, allocations: 3.938 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.1663, allocations: 4 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1663, allocations: 3.984 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1663, allocations: 0 / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.1665, allocations: 175.5 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.1666, allocations: 81.11 kB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1666, allocations: 0 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.1667, allocations: 7.984 kB / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.1667, allocations: 4 kB / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.1667, allocations: 0 / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.598e-05/0.1668, allocations: 91.48 kB / 0.5912 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1668, allocations: 0 / 0.5912 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002192/0.167, allocations: 16 kB / 0.5912 GB, free: 14.61 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 (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.0001322/0.1671, allocations: 107.2 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.1673, allocations: 47.95 kB / 0.5914 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.1673, allocations: 0 / 0.5914 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.1674, allocations: 23.98 kB / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.1676, allocations: 7.953 kB / 0.5914 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.1678, allocations: 120.7 kB / 0.5915 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.168, allocations: 0.677 MB / 0.5922 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.176e-05/0.1681, allocations: 4 kB / 0.5922 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.1681, allocations: 7.438 kB / 0.5922 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1681, allocations: 0 / 0.5922 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.002173/0.1703, allocations: 0.4891 MB / 0.5927 GB, free: 13.08 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: