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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.00113/0.00113, allocations: 102.4 kB / 16.27 MB, free: 5.973 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.001163/0.001163, allocations: 192 kB / 17.2 MB, free: 5.598 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8753/0.8753, allocations: 132.2 MB / 423.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 67.89 kB / 0.5024 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3471, allocations: 80.19 MB / 0.5808 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001582/0.3487, allocations: 0.5705 MB / 0.5813 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3498, allocations: 1.113 MB / 0.5824 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.3498, allocations: 1.25 kB / 0.5824 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.3499, allocations: 0 / 0.5824 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.3501, allocations: 22.81 kB / 0.5824 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.536e-06/0.3501, allocations: 1.969 kB / 0.5824 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.525e-05/0.3501, allocations: 2.281 kB / 0.5824 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.3502, allocations: 1.344 kB / 0.5824 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.489e-05/0.3502, allocations: 1.125 kB / 0.5824 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.09e-05/0.3502, allocations: 12.98 kB / 0.5824 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.3502, allocations: 1.375 kB / 0.5824 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.3503, allocations: 20.36 kB / 0.5825 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.3504, allocations: 5.359 kB / 0.5825 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.3504, allocations: 0 / 0.5825 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.974e-05/0.3504, allocations: 18.64 kB / 0.5825 GB, free: 25.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3505, allocations: 0 / 0.5825 GB, free: 25.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3505, allocations: 0 / 0.5825 GB, free: 25.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3505, allocations: 1.469 kB / 0.5825 GB, free: 25.84 MB / 446.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.0001996/0.3507, allocations: 325.6 kB / 0.5828 GB, free: 25.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3507, allocations: 9.281 kB / 0.5828 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.3508, allocations: 1.438 kB / 0.5828 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.034e-05/0.3508, allocations: 162.3 kB / 0.583 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3508, allocations: 2.375 kB / 0.583 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3509, allocations: 5.781 kB / 0.583 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.925e-05/0.3509, allocations: 41.84 kB / 0.583 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.351, allocations: 0.9688 kB / 0.583 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.351, allocations: 0 / 0.583 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.351, allocations: 3 kB / 0.583 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.26e-05/0.351, allocations: 11.17 kB / 0.583 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.175e-05/0.3511, allocations: 152.4 kB / 0.5832 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.3513, allocations: 38.2 kB / 0.5832 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.3513, allocations: 7.953 kB / 0.5832 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.3514, allocations: 80.42 kB / 0.5833 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.3515, allocations: 35.75 kB / 0.5833 GB, free: 24.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.3515, allocations: 0 / 0.5833 GB, free: 24.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.004421/0.3559, allocations: 0.5755 MB / 0.5839 GB, free: 24.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.3559, allocations: 56.48 kB / 0.5839 GB, free: 24.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.633e-05/0.356, allocations: 93.86 kB / 0.584 GB, free: 24.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.356, allocations: 25.7 kB / 0.5841 GB, free: 24.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.618e-06/0.356, allocations: 85.73 kB / 0.5841 GB, free: 24.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.356, allocations: 17.97 kB / 0.5842 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.3561, allocations: 22.55 kB / 0.5842 GB, free: 24.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.876e-05/0.3561, allocations: 313.8 kB / 0.5845 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/0.3568, allocations: 84.45 kB / 0.5846 GB, free: 24.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.3574, allocations: 98.69 kB / 0.5847 GB, free: 24.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.3587, allocations: 189.9 kB / 0.5848 GB, free: 23.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3587, allocations: 8.594 kB / 0.5848 GB, free: 23.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001299/0.36, allocations: 215.5 kB / 0.585 GB, free: 23.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.36, allocations: 7.062 kB / 0.5851 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.36, allocations: 0 / 0.5851 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.3601, allocations: 3.281 kB / 0.5851 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.3605, allocations: 50.16 kB / 0.5851 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3605, allocations: 4.312 kB / 0.5851 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.3609, allocations: 37.77 kB / 0.5851 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.3609, allocations: 6.797 kB / 0.5852 GB, free: 23.87 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.452e-05/0.361, allocations: 108 kB / 0.5853 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.361, allocations: 5.031 kB / 0.5853 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.3625, allocations: 241.8 kB / 0.5855 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3625, allocations: 1.188 kB / 0.5855 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3625, allocations: 0 / 0.5855 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3626, allocations: 1.344 kB / 0.5855 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.3641, allocations: 450 kB / 0.5859 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3641, allocations: 5.5 kB / 0.5859 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/0.3645, allocations: 48.53 kB / 0.586 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3645, allocations: 4 kB / 0.586 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3645, allocations: 5.219 kB / 0.586 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3645, allocations: 9.391 kB / 0.586 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3646, allocations: 0 / 0.586 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.3659, allocations: 301.2 kB / 0.5863 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.3659, allocations: 86.28 kB / 0.5864 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.3659, allocations: 1.094 kB / 0.5864 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.3663, allocations: 38.7 kB / 0.5864 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.3663, allocations: 1.188 kB / 0.5864 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3663, allocations: 9.422 kB / 0.5864 GB, free: 22.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.254e-05/0.3664, allocations: 76.78 kB / 0.5865 GB, free: 22.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3664, allocations: 0 / 0.5865 GB, free: 22.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.3666, allocations: 8.719 kB / 0.5865 GB, free: 22.88 MB / 446.1 MB 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 (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.0001423/0.3668, allocations: 111.7 kB / 0.5866 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.3681, allocations: 181.4 kB / 0.5868 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3681, allocations: 4.188 kB / 0.5868 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006315/0.3688, allocations: 88.33 kB / 0.5869 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.369, allocations: 9.188 kB / 0.5869 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.3702, allocations: 234 kB / 0.5871 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.194e-05/0.3703, allocations: 0.6771 MB / 0.5878 GB, free: 21.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.3704, allocations: 13.97 kB / 0.5878 GB, free: 21.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3704, allocations: 0.9688 kB / 0.5878 GB, free: 21.84 MB / 446.1 MB Notification: Performance of Templates: time 0.002526/0.3729, allocations: 1.113 MB / 0.5889 GB, free: 21.24 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (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)