Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001218/0.001218, allocations: 106 kB / 16.37 MB, free: 6.48 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.001041/0.001041, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8492/0.8492, allocations: 135.1 MB / 426.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 0.5068 GB, free: 7.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3705, allocations: 80.9 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002493/0.373, allocations: 1.43 MB / 0.5872 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000687/0.3737, allocations: 468.7 kB / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.3738, allocations: 1.875 kB / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.3738, allocations: 8.656 kB / 0.5876 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.075e-05/0.3739, allocations: 11.91 kB / 0.5876 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.3741, allocations: 20.02 kB / 0.5876 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.3742, allocations: 25.86 kB / 0.5877 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3743, allocations: 4.219 kB / 0.5877 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.775e-05/0.3744, allocations: 16.19 kB / 0.5877 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.3745, allocations: 16.61 kB / 0.5877 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.3745, allocations: 1.312 kB / 0.5877 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.3746, allocations: 22.78 kB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.3746, allocations: 3.984 kB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.3746, allocations: 12.19 kB / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.3747, allocations: 33.39 kB / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3747, allocations: 1.562 kB / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3747, allocations: 0 / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3748, allocations: 0 / 0.5878 GB, free: 24.02 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.0004133/0.3752, allocations: 343.5 kB / 0.5881 GB, free: 23.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3752, allocations: 10.08 kB / 0.5881 GB, free: 23.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.3753, allocations: 4.625 kB / 0.5881 GB, free: 23.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.358e-05/0.3754, allocations: 178.7 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3754, allocations: 384 / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.3754, allocations: 1.875 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3756, allocations: 55.3 kB / 0.5883 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3756, allocations: 0 / 0.5883 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3756, allocations: 0 / 0.5883 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3756, allocations: 5.531 kB / 0.5883 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.3758, allocations: 30.94 kB / 0.5884 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.3761, allocations: 254.8 kB / 0.5886 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.3762, allocations: 44.5 kB / 0.5887 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.004e-05/0.3763, allocations: 25.3 kB / 0.5887 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.3764, allocations: 79.55 kB / 0.5888 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.3764, allocations: 40.41 kB / 0.5888 GB, free: 22.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3764, allocations: 0 / 0.5888 GB, free: 22.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003236/0.3768, allocations: 80.05 kB / 0.5889 GB, free: 22.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.3768, allocations: 56.25 kB / 0.5889 GB, free: 22.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.634e-05/0.3769, allocations: 103.8 kB / 0.589 GB, free: 22.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.3769, allocations: 27.61 kB / 0.5891 GB, free: 22.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.3769, allocations: 86.2 kB / 0.5891 GB, free: 22.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.3769, allocations: 3.906 kB / 0.5891 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.377, allocations: 13.25 kB / 0.5892 GB, free: 22.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.377, allocations: 321.1 kB / 0.5895 GB, free: 22.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.3771, allocations: 15.2 kB / 0.5895 GB, free: 22.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.3772, allocations: 17.92 kB / 0.5895 GB, free: 22.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.3773, allocations: 41.52 kB / 0.5895 GB, free: 22.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3773, allocations: 0 / 0.5895 GB, free: 22.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001645/0.3775, allocations: 73.88 kB / 0.5896 GB, free: 22.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3775, allocations: 4.562 kB / 0.5896 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3775, allocations: 0.9375 kB / 0.5896 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3775, allocations: 4.688 kB / 0.5896 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.3776, allocations: 11.23 kB / 0.5896 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3776, allocations: 0 / 0.5896 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.3777, allocations: 8.297 kB / 0.5896 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.3777, allocations: 6.094 kB / 0.5896 GB, free: 22.11 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.3777, allocations: 113.2 kB / 0.5897 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.3778, allocations: 5.109 kB / 0.5898 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.378, allocations: 75.12 kB / 0.5898 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.378, allocations: 0 / 0.5898 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.378, allocations: 1.156 kB / 0.5898 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.378, allocations: 0 / 0.5898 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.3781, allocations: 162.6 kB / 0.59 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3781, allocations: 0 / 0.59 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.222e-05/0.3782, allocations: 14.52 kB / 0.59 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3782, allocations: 0.8125 kB / 0.59 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3782, allocations: 5.844 kB / 0.59 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3782, allocations: 5.844 kB / 0.59 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3782, allocations: 0 / 0.59 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.3784, allocations: 164.6 kB / 0.5902 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.3784, allocations: 83.8 kB / 0.5902 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.3784, allocations: 1.219 kB / 0.5902 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.3785, allocations: 6.953 kB / 0.5902 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.3785, allocations: 1.406 kB / 0.5902 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3785, allocations: 2.906 kB / 0.5903 GB, free: 21.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.291e-05/0.3786, allocations: 83.09 kB / 0.5903 GB, free: 21.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3786, allocations: 0 / 0.5903 GB, free: 21.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.3788, allocations: 10.81 kB / 0.5903 GB, free: 21.39 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 (2): * Single equations (assignments): 2 * 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.0001084/0.3789, allocations: 106.5 kB / 0.5904 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.3791, allocations: 33.97 kB / 0.5905 GB, free: 21.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3791, allocations: 0.75 kB / 0.5905 GB, free: 21.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.604e-05/0.3792, allocations: 24.09 kB / 0.5905 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.3795, allocations: 11.22 kB / 0.5905 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.3797, allocations: 100.8 kB / 0.5906 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.992e-05/0.3798, allocations: 0.6784 MB / 0.5913 GB, free: 20.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.292e-05/0.3799, allocations: 1.562 kB / 0.5913 GB, free: 20.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.3799, allocations: 8.781 kB / 0.5913 GB, free: 20.45 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3799, allocations: 0 / 0.5913 GB, free: 20.45 MB / 446.1 MB Notification: Performance of Templates: time 0.002542/0.3824, allocations: 0.5662 MB / 0.5918 GB, free: 20.15 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)