Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.651/1.651, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.574e-05, allocations: 0 / 225 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2139, allocations: 38.76 MB / 263.7 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.3162, allocations: 66.51 MB / 330.3 MB, free: 7.273 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.3165, allocations: 59.97 kB / 330.3 MB, free: 7.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01655/0.3331, allocations: 4.079 MB / 334.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.3331, allocations: 0 / 334.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.3332, allocations: 4 kB / 334.4 MB, free: 3.117 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007596/0.3339, allocations: 478.3 kB / 334.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.334, allocations: 8.031 kB / 334.9 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.158e-05/0.3341, allocations: 35.72 kB / 334.9 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.3344, allocations: 239.3 kB / 335.1 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.3345, allocations: 16.56 kB / 335.2 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-05/0.3345, allocations: 27.91 kB / 335.2 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/0.3351, allocations: 230.4 kB / 335.4 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.3351, allocations: 0 / 335.4 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.3352, allocations: 12 kB / 335.4 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3352, allocations: 4 kB / 335.4 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.3356, allocations: 155.9 kB / 335.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.3371, allocations: 0.8088 MB / 336.4 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006655/0.3378, allocations: 275.6 kB / 336.7 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.3381, allocations: 126.6 kB / 336.8 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.3382, allocations: 11.98 kB / 336.8 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.3382, allocations: 38.69 kB / 336.8 MB, free: 484 kB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 3.268e-06/0.3382, allocations: 0 / 336.8 MB, free: 484 kB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.003647/0.3419, allocations: 1.857 MB / 338.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.342, allocations: 106.8 kB / 338.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.3423, allocations: 165.9 kB / 339 MB, free: 14.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.3423, allocations: 33.7 kB / 339 MB, free: 14.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3425, allocations: 199.2 kB / 339.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.3426, allocations: 161.6 kB / 339.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.3427, allocations: 12 kB / 339.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3429, allocations: 330.8 kB / 339.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.3431, allocations: 84.88 kB / 339.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.3434, allocations: 153.4 kB / 339.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.3438, allocations: 116.3 kB / 340 MB, free: 12.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-06/0.3438, allocations: 0 / 340 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00163/0.3455, allocations: 318.5 kB / 340.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.3455, allocations: 4 kB / 340.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.3456, allocations: 4 kB / 340.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.631e-05/0.3456, allocations: 4 kB / 340.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.3467, allocations: 91.89 kB / 340.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.677e-05/0.3467, allocations: 8.094 kB / 340.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.3472, allocations: 8 kB / 340.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.938e-05/0.3473, allocations: 19.94 kB / 340.5 MB, free: 12.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0002802/0.3476, allocations: 128.8 kB / 340.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.3479, allocations: 31.56 kB / 340.6 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.3481, allocations: 45.64 kB / 340.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.3482, allocations: 4 kB / 340.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.3482, allocations: 0 / 340.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.3482, allocations: 48 / 340.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.3521, allocations: 1.044 MB / 341.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.3522, allocations: 4 kB / 341.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.3533, allocations: 92.17 kB / 341.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/0.3533, allocations: 8 kB / 341.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.3534, allocations: 8 kB / 341.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/0.3534, allocations: 4 kB / 341.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.584e-05/0.3535, allocations: 7.938 kB / 341.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.3558, allocations: 0.8492 MB / 342.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.356, allocations: 96.83 kB / 342.8 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.3561, allocations: 28 kB / 342.8 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000687/0.3569, allocations: 8 kB / 342.8 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.357, allocations: 23.97 kB / 342.8 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/0.3571, allocations: 16 kB / 342.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003072/0.3574, allocations: 140.2 kB / 343 MB, free: 9.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.177e-06/0.3574, allocations: 3.938 kB / 343 MB, free: 9.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001338/0.3588, allocations: 72 kB / 343.1 MB, free: 9.664 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.0002913/0.3591, allocations: 119.1 kB / 343.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.3603, allocations: 252.9 kB / 343.4 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.317e-06/0.3603, allocations: 0 / 343.4 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005617/0.3609, allocations: 135.9 kB / 343.6 MB, free: 9.164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.3622, allocations: 56.72 kB / 343.6 MB, free: 9.109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.3654, allocations: 0.8077 MB / 344.4 MB, free: 8.234 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008132/0.3663, allocations: 0.7764 MB / 345.2 MB, free: 7.434 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.3665, allocations: 27.44 kB / 345.2 MB, free: 7.406 MB / 298.7 MB Notification: Performance of SimCode: time 3.402e-06/0.3665, allocations: 4 kB / 345.2 MB, free: 7.402 MB / 298.7 MB Notification: Performance of Templates: time 0.01286/0.3794, allocations: 3.297 MB / 348.5 MB, free: 4.105 MB / 298.7 MB