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.002296/0.002297, allocations: 113.5 kB / 16.37 MB, free: 6.004 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.001933/0.001934, allocations: 196 kB / 17.31 MB, free: 5.613 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7994/0.7994, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3594, allocations: 80.18 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001688/0.3611, allocations: 0.5827 MB / 0.5821 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3622, allocations: 1.116 MB / 0.5832 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.3622, allocations: 0 / 0.5832 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.3623, allocations: 1.094 kB / 0.5832 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.3625, allocations: 18.83 kB / 0.5832 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.877e-06/0.3625, allocations: 1.406 kB / 0.5832 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.67e-05/0.3625, allocations: 10.25 kB / 0.5832 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.07e-05/0.3626, allocations: 9.484 kB / 0.5832 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.35e-05/0.3626, allocations: 1.562 kB / 0.5832 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.065e-05/0.3626, allocations: 4.094 kB / 0.5832 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.3627, allocations: 0 / 0.5832 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3628, allocations: 16.33 kB / 0.5832 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-06/0.3628, allocations: 7.922 kB / 0.5832 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.3628, allocations: 5.188 kB / 0.5832 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.629e-05/0.3629, allocations: 13.14 kB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3629, allocations: 1.312 kB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3629, allocations: 0 / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3629, allocations: 0.75 kB / 0.5833 GB, free: 26.14 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.0002428/0.3632, allocations: 320.8 kB / 0.5836 GB, free: 25.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3632, allocations: 10.09 kB / 0.5836 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.3632, allocations: 7.469 kB / 0.5836 GB, free: 25.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.58e-05/0.3633, allocations: 161.5 kB / 0.5837 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.3633, allocations: 384 / 0.5837 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.3633, allocations: 6.688 kB / 0.5837 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.701e-05/0.3634, allocations: 37.44 kB / 0.5838 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3635, allocations: 1.188 kB / 0.5838 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3635, allocations: 1.125 kB / 0.5838 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3635, allocations: 0 / 0.5838 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.3635, allocations: 8.562 kB / 0.5838 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.3636, allocations: 153 kB / 0.5839 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.3638, allocations: 35.64 kB / 0.584 GB, free: 25.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.3638, allocations: 7.984 kB / 0.584 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.364, allocations: 95.72 kB / 0.5841 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.364, allocations: 42.44 kB / 0.5841 GB, free: 25.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.364, allocations: 1.125 kB / 0.5841 GB, free: 25.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.004331/0.3683, allocations: 0.5676 MB / 0.5847 GB, free: 25.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.3684, allocations: 56.41 kB / 0.5847 GB, free: 24.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.45e-05/0.3684, allocations: 89.86 kB / 0.5848 GB, free: 24.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.3684, allocations: 26.98 kB / 0.5848 GB, free: 24.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.529e-05/0.3685, allocations: 81.3 kB / 0.5849 GB, free: 24.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.3685, allocations: 18.67 kB / 0.5849 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.3686, allocations: 21.8 kB / 0.5849 GB, free: 24.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.343e-05/0.3686, allocations: 318.2 kB / 0.5852 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005834/0.3692, allocations: 81.39 kB / 0.5853 GB, free: 24.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/0.3698, allocations: 102 kB / 0.5854 GB, free: 24.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.371, allocations: 189.9 kB / 0.5856 GB, free: 24.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.371, allocations: 0 / 0.5856 GB, free: 24.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001255/0.3723, allocations: 221.4 kB / 0.5858 GB, free: 24.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3723, allocations: 5.656 kB / 0.5858 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3723, allocations: 0 / 0.5858 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3723, allocations: 2.594 kB / 0.5858 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.3727, allocations: 50.03 kB / 0.5859 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3727, allocations: 1.531 kB / 0.5859 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.3731, allocations: 43.22 kB / 0.5859 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.3731, allocations: 1.562 kB / 0.5859 GB, free: 24.19 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 6.118e-05/0.3732, allocations: 112.3 kB / 0.586 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.3732, allocations: 4.938 kB / 0.586 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.3745, allocations: 238.6 kB / 0.5863 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3745, allocations: 1.438 kB / 0.5863 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3745, allocations: 4.062 kB / 0.5863 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3745, allocations: 1.25 kB / 0.5863 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.3759, allocations: 458 kB / 0.5867 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3759, allocations: 3.938 kB / 0.5867 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.3763, allocations: 49.84 kB / 0.5867 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3763, allocations: 0 / 0.5867 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3763, allocations: 5.047 kB / 0.5868 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3763, allocations: 1.094 kB / 0.5868 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3763, allocations: 0 / 0.5868 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3775, allocations: 310.4 kB / 0.587 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.3775, allocations: 86.39 kB / 0.5871 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.3775, allocations: 0 / 0.5871 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.3779, allocations: 38.89 kB / 0.5872 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.3779, allocations: 9.359 kB / 0.5872 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.3779, allocations: 1.656 kB / 0.5872 GB, free: 23.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.143e-05/0.3779, allocations: 75.28 kB / 0.5872 GB, free: 23.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3779, allocations: 0 / 0.5872 GB, free: 23.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.3782, allocations: 13.56 kB / 0.5873 GB, free: 23.2 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.0001397/0.3783, allocations: 104.2 kB / 0.5874 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.3796, allocations: 184.6 kB / 0.5875 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3796, allocations: 1.188 kB / 0.5875 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.3801, allocations: 95.42 kB / 0.5876 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.3804, allocations: 2.406 kB / 0.5876 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.3814, allocations: 203.2 kB / 0.5878 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.637e-05/0.3815, allocations: 0.6776 MB / 0.5885 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.3817, allocations: 28.25 kB / 0.5885 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.3818, allocations: 10.16 kB / 0.5885 GB, free: 22.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3818, allocations: 0 / 0.5885 GB, free: 22.18 MB / 446.1 MB Notification: Performance of Templates: time 0.002562/0.3843, allocations: 0.8149 MB / 0.5893 GB, free: 21.73 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)