Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008537/0.0008537, 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.0009527/0.0009524, 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.235/1.235, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8657/0.8657, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003234, allocations: 12 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1501, allocations: 82.31 MB / 0.5872 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007526/0.1509, allocations: 311.1 kB / 0.5875 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1522, allocations: 1.073 MB / 0.5886 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.1522, allocations: 0 / 0.5886 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.058e-05/0.1522, allocations: 0 / 0.5886 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.1525, allocations: 23.91 kB / 0.5886 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.344e-06/0.1525, allocations: 0 / 0.5886 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.366e-05/0.1525, allocations: 0 / 0.5886 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.1526, allocations: 4 kB / 0.5886 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.269e-05/0.1526, allocations: 0 / 0.5886 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.467e-05/0.1526, allocations: 3.938 kB / 0.5886 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.1526, allocations: 0 / 0.5886 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.295e-05/0.1527, allocations: 23.91 kB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.467e-06/0.1527, allocations: 4 kB / 0.5886 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.1528, allocations: 25.7 kB / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.68e-05/0.1528, allocations: 11.98 kB / 0.5886 GB, free: 1.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.1528, allocations: 0 / 0.5886 GB, free: 1.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1528, allocations: 4 kB / 0.5887 GB, free: 1.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1528, allocations: 0 / 0.5887 GB, free: 1.645 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.000243/0.1531, allocations: 311.4 kB / 0.5889 GB, free: 1.293 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1531, allocations: 12.09 kB / 0.589 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.1532, allocations: 0 / 0.589 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.763e-05/0.1532, allocations: 163 kB / 0.5891 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1533, allocations: 11.88 kB / 0.5891 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1533, allocations: 7.906 kB / 0.5891 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.658e-05/0.1534, allocations: 33.69 kB / 0.5892 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1534, allocations: 4 kB / 0.5892 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1534, allocations: 0 / 0.5892 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1534, allocations: 0 / 0.5892 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.1535, allocations: 4 kB / 0.5892 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.1536, allocations: 157.6 kB / 0.5893 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1538, allocations: 38.55 kB / 0.5894 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.1539, allocations: 81.11 kB / 0.5894 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1539, allocations: 34.56 kB / 0.5895 GB, free: 0.625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.154, allocations: 0 / 0.5895 GB, free: 0.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.003968/0.1579, allocations: 0.5719 MB / 0.59 GB, free: 48 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.158, allocations: 51.41 kB / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.66e-05/0.158, allocations: 89.86 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1581, allocations: 29.7 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.1581, allocations: 80.14 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.1582, allocations: 19.8 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.1582, allocations: 0 / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.1583, allocations: 310.8 kB / 0.5906 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.1589, allocations: 83.95 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.1594, allocations: 102.5 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000561/0.16, allocations: 87.89 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.16, allocations: 3.953 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001157/0.1612, allocations: 217.5 kB / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1612, allocations: 4 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1612, allocations: 192 / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1612, allocations: 4 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.1616, allocations: 52.42 kB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.1616, allocations: 7.984 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.162, allocations: 43.97 kB / 0.5912 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.162, allocations: 7.938 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 7.245e-05/0.1621, allocations: 105.8 kB / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.1621, allocations: 7.953 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.1634, allocations: 241 kB / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1634, allocations: 3.984 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1634, allocations: 3.938 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1634, allocations: 3.984 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.1648, allocations: 450.5 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1648, allocations: 4 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.1652, allocations: 51.91 kB / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1652, allocations: 4 kB / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1652, allocations: 0 / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1652, allocations: 0 / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1652, allocations: 0 / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.1664, allocations: 303.4 kB / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.1665, allocations: 81.02 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.1665, allocations: 0 / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.1669, allocations: 44.17 kB / 0.5924 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.1669, allocations: 3.984 kB / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1669, allocations: 12 kB / 0.5924 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.541e-05/0.1669, allocations: 75.28 kB / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1669, allocations: 0 / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000236/0.1672, allocations: 12 kB / 0.5925 GB, free: 13.34 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 (5): * Single equations (assignments): 5 * 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.0001663/0.1674, allocations: 106.6 kB / 0.5926 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.1685, allocations: 183.9 kB / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1685, allocations: 4.188 kB / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.1691, allocations: 87.89 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.1692, allocations: 3.953 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1702, allocations: 222.6 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.1705, allocations: 0.6809 MB / 0.5938 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.1707, allocations: 35.92 kB / 0.5938 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.1708, allocations: 11.44 kB / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1708, allocations: 0 / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.00252/0.1733, allocations: 0.7697 MB / 0.5946 GB, free: 11.2 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) Environment - environmentSimulation: