Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009279/0.000928, allocations: 99.86 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.001018/0.001018, 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.23/1.23, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8441/0.8441, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003981, allocations: 12 kB / 0.5068 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1649, allocations: 82.3 MB / 0.5872 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.00141/0.1663, allocations: 1.144 MB / 0.5883 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006184/0.1669, allocations: 440.2 kB / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.167, allocations: 0 / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.167, allocations: 4 kB / 0.5887 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.808e-05/0.1671, allocations: 7.984 kB / 0.5887 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.1672, allocations: 15.97 kB / 0.5887 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.958e-05/0.1673, allocations: 15.92 kB / 0.5888 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.109e-05/0.1674, allocations: 4 kB / 0.5888 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.1674, allocations: 11.98 kB / 0.5888 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.781e-05/0.1675, allocations: 7.938 kB / 0.5888 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.1675, allocations: 0 / 0.5888 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.512e-05/0.1675, allocations: 19.97 kB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.1676, allocations: 11.98 kB / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.1676, allocations: 29.7 kB / 0.5888 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.068e-05/0.1677, allocations: 15.97 kB / 0.5889 GB, free: 1.445 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.1677, allocations: 0 / 0.5889 GB, free: 1.445 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.1677, allocations: 4 kB / 0.5889 GB, free: 1.441 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1677, allocations: 3.938 kB / 0.5889 GB, free: 1.438 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.0003594/0.168, allocations: 343.5 kB / 0.5892 GB, free: 1.055 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1681, allocations: 15.97 kB / 0.5892 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.1681, allocations: 4 kB / 0.5892 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1682, allocations: 163 kB / 0.5894 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1683, allocations: 0 / 0.5894 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.1683, allocations: 0 / 0.5894 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1684, allocations: 57.67 kB / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1685, allocations: 0 / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1685, allocations: 7.984 kB / 0.5894 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1685, allocations: 0 / 0.5894 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.1686, allocations: 47.95 kB / 0.5895 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.1689, allocations: 256.8 kB / 0.5897 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.1691, allocations: 46.56 kB / 0.5898 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.1692, allocations: 77.11 kB / 0.5898 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1692, allocations: 38.61 kB / 0.5899 GB, free: 228 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1692, allocations: 0 / 0.5899 GB, free: 228 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003329/0.1696, allocations: 97.59 kB / 0.59 GB, free: 124 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.1696, allocations: 51.41 kB / 0.59 GB, free: 60 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.1697, allocations: 106 kB / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1697, allocations: 29.7 kB / 0.5902 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.1698, allocations: 84.08 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.1698, allocations: 11.91 kB / 0.5902 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.1698, allocations: 0 / 0.5902 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.1699, allocations: 318.8 kB / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.17, allocations: 19.98 kB / 0.5906 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.1701, allocations: 23.98 kB / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.597e-05/0.1701, allocations: 23.98 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1702, allocations: 0 / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.1704, allocations: 81.66 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1704, allocations: 4 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1704, allocations: 3.984 kB / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.1704, allocations: 0 / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.846e-05/0.1705, allocations: 11.98 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1705, allocations: 4 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.1705, allocations: 15.95 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1706, allocations: 0 / 0.5907 GB, free: 15.3 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.412e-05/0.1706, allocations: 121.7 kB / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.1707, allocations: 3.906 kB / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.1709, allocations: 81.03 kB / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1709, allocations: 0 / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1709, allocations: 4 kB / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1709, allocations: 0 / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.1711, allocations: 165.6 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1711, allocations: 3.938 kB / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.1711, allocations: 11.98 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1711, allocations: 4.031 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.1712, allocations: 4 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1712, allocations: 0 / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1712, allocations: 0 / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.1714, allocations: 175.5 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.1714, allocations: 77.11 kB / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.1715, allocations: 0 / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.1715, allocations: 11.98 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.1716, allocations: 4 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1716, allocations: 0 / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.1716, allocations: 79.28 kB / 0.5914 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1716, allocations: 0 / 0.5914 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002172/0.1718, allocations: 16.02 kB / 0.5915 GB, free: 14.45 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.000133/0.172, allocations: 103.2 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1722, allocations: 47.97 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1722, allocations: 4.062 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.1723, allocations: 23.97 kB / 0.5916 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.1725, allocations: 15.89 kB / 0.5916 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.1727, allocations: 116.1 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.173, allocations: 0.681 MB / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.173, allocations: 4 kB / 0.5924 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.173, allocations: 7.438 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.154e-06/0.173, allocations: 0 / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.002031/0.1751, allocations: 482.5 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) Environment - environmentSimulation: