Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 2.066/2.066, allocations: 194.9 MB / 211.2 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.683e-05, allocations: 3.906 kB / 258.8 MB, free: 8.707 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3221, allocations: 44.5 MB / 303.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003479/0.3257, allocations: 1.881 MB / 305.2 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3271, allocations: 0.5159 MB / 305.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.3274, allocations: 11.41 kB / 305.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.475e-05/0.3275, allocations: 22.31 kB / 305.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.3277, allocations: 72.16 kB / 305.8 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.328, allocations: 49.98 kB / 305.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.3283, allocations: 131.1 kB / 306 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.3285, allocations: 57.27 kB / 306 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.3287, allocations: 65.12 kB / 306.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.3289, allocations: 87.11 kB / 306.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.089e-05/0.329, allocations: 8.656 kB / 306.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.329, allocations: 7.625 kB / 306.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.3291, allocations: 33.72 kB / 306.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.3292, allocations: 20.97 kB / 306.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.3295, allocations: 180 kB / 306.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3295, allocations: 1.219 kB / 306.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3296, allocations: 0 / 306.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.3296, allocations: 0 / 306.4 MB, free: 10.32 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001031/0.3306, allocations: 488 kB / 306.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3307, allocations: 8.938 kB / 306.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.3308, allocations: 29.17 kB / 306.9 MB, free: 9.855 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.3311, allocations: 226.5 kB / 307.1 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.3312, allocations: 16.22 kB / 307.2 MB, free: 9.605 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.3313, allocations: 21.5 kB / 307.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/0.3319, allocations: 223.2 kB / 307.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.332, allocations: 4.906 kB / 307.4 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.332, allocations: 6.094 kB / 307.4 MB, free: 9.438 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.332, allocations: 9.156 kB / 307.4 MB, free: 9.434 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/0.3326, allocations: 154.2 kB / 307.6 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.3345, allocations: 0.7919 MB / 308.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/0.3351, allocations: 205 kB / 308.6 MB, free: 8.227 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.3352, allocations: 4 kB / 308.6 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.3352, allocations: 38.5 kB / 308.6 MB, free: 8.176 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 2.796e-06/0.3353, allocations: 0 / 308.6 MB, free: 8.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.002485/0.3378, allocations: 0.8892 MB / 309.5 MB, free: 7.195 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.3379, allocations: 89.09 kB / 309.6 MB, free: 7.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.3381, allocations: 157.5 kB / 309.7 MB, free: 6.926 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.3381, allocations: 29.7 kB / 309.8 MB, free: 6.891 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3383, allocations: 194.8 kB / 310 MB, free: 6.699 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.3384, allocations: 98.55 kB / 310.1 MB, free: 6.602 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.3384, allocations: 8 kB / 310.1 MB, free: 6.594 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3386, allocations: 322.8 kB / 310.4 MB, free: 6.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.3389, allocations: 71.97 kB / 310.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.3392, allocations: 108.2 kB / 310.6 MB, free: 6.078 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.3395, allocations: 87.88 kB / 310.6 MB, free: 5.992 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3395, allocations: 3.938 kB / 310.6 MB, free: 5.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007992/0.3404, allocations: 241.8 kB / 310.9 MB, free: 5.746 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3404, allocations: 8 kB / 310.9 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3404, allocations: 0 / 310.9 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.3404, allocations: 4 kB / 310.9 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.341, allocations: 63.91 kB / 311 MB, free: 5.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.341, allocations: 7.938 kB / 311 MB, free: 5.664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.3412, allocations: 15.98 kB / 311 MB, free: 5.648 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.3413, allocations: 4 kB / 311 MB, free: 5.645 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 0.0001922/0.3415, allocations: 137.9 kB / 311.1 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/0.3416, allocations: 27.61 kB / 311.1 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.825e-05/0.3417, allocations: 29.86 kB / 311.2 MB, free: 5.441 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.3417, allocations: 4 kB / 311.2 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3417, allocations: 0 / 311.2 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3417, allocations: 0 / 311.2 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.3431, allocations: 0.5876 MB / 311.8 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3431, allocations: 0 / 311.8 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.3436, allocations: 59.97 kB / 311.8 MB, free: 4.727 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.3437, allocations: 7.984 kB / 311.8 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.3437, allocations: 4 kB / 311.8 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/0.3438, allocations: 8.031 kB / 311.8 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3438, allocations: 7.938 kB / 311.8 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3449, allocations: 0.5391 MB / 312.4 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3451, allocations: 89.02 kB / 312.5 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.3451, allocations: 15.98 kB / 312.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.3454, allocations: 15.98 kB / 312.5 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.3455, allocations: 23.91 kB / 312.5 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.3456, allocations: 8 kB / 312.5 MB, free: 3.941 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.3457, allocations: 123.2 kB / 312.7 MB, free: 3.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3457, allocations: 0 / 312.7 MB, free: 3.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004713/0.3462, allocations: 52 kB / 312.7 MB, free: 3.77 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001736/0.3464, allocations: 119.2 kB / 312.8 MB, free: 3.641 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007051/0.3471, allocations: 190.4 kB / 313 MB, free: 3.457 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3472, allocations: 0 / 313 MB, free: 3.457 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.3475, allocations: 102.2 kB / 313.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.3481, allocations: 36.06 kB / 313.1 MB, free: 3.324 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.3501, allocations: 0.8467 MB / 314 MB, free: 2.438 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.3506, allocations: 0.7523 MB / 314.7 MB, free: 1.66 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.3507, allocations: 19.44 kB / 314.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3507, allocations: 0 / 314.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of Templates: time 0.007122/0.3579, allocations: 2.533 MB / 317.3 MB, free: 15.11 MB / 266.7 MB