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.2_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.83/1.83, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.894e-05, allocations: 0 / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07915/0.07921, allocations: 44.5 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3633/0.4425, allocations: 71.81 MB / 371.7 MB, free: 21.97 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004055/0.443, allocations: 65.55 kB / 371.7 MB, free: 21.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03033/0.4734, allocations: 4.069 MB / 375.8 MB, free: 21.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.998e-06/0.4735, allocations: 1.156 kB / 375.8 MB, free: 21.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.413e-05/0.4735, allocations: 4.375 kB / 375.8 MB, free: 21.36 MB / 314.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.001246/0.4748, allocations: 480.2 kB / 376.3 MB, free: 20.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.012e-05/0.4749, allocations: 9.469 kB / 376.3 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.4751, allocations: 34.2 kB / 376.3 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.4756, allocations: 231.2 kB / 376.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.4757, allocations: 17 kB / 376.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.4758, allocations: 28.44 kB / 376.6 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.4768, allocations: 229.4 kB / 376.8 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.785e-05/0.4769, allocations: 9.938 kB / 376.8 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.477, allocations: 12.72 kB / 376.8 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.4771, allocations: 14.05 kB / 376.8 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008314/0.4779, allocations: 148.7 kB / 377 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.4804, allocations: 0.805 MB / 377.8 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.4817, allocations: 283.5 kB / 378.1 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006422/0.4824, allocations: 131.5 kB / 378.2 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.4824, allocations: 3.75 kB / 378.2 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.4825, allocations: 41.91 kB / 378.2 MB, free: 20.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 6.525e-06/0.4825, allocations: 0 / 378.2 MB, free: 20.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.006082/0.4886, allocations: 1.857 MB / 380.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/0.4888, allocations: 109.8 kB / 380.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.4891, allocations: 166 kB / 380.4 MB, free: 18.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.4892, allocations: 35.58 kB / 380.4 MB, free: 18.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.4894, allocations: 199.4 kB / 380.6 MB, free: 18.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.4896, allocations: 162.8 kB / 380.8 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.4897, allocations: 10.03 kB / 380.8 MB, free: 18.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4898, allocations: 327.2 kB / 381.1 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.4903, allocations: 86.19 kB / 381.2 MB, free: 17.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/0.4909, allocations: 151.9 kB / 381.3 MB, free: 17.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/0.4915, allocations: 106.7 kB / 381.4 MB, free: 17.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.361e-06/0.4916, allocations: 0 / 381.4 MB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001479/0.4931, allocations: 323.2 kB / 381.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.4931, allocations: 5.531 kB / 381.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.4932, allocations: 1.625 kB / 381.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.992e-05/0.4932, allocations: 7.781 kB / 381.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4943, allocations: 94.7 kB / 381.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/0.4944, allocations: 11.7 kB / 381.9 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.4948, allocations: 10.38 kB / 381.9 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/0.4949, allocations: 14.72 kB / 381.9 MB, free: 17.67 MB / 314.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.0001873/0.4951, allocations: 122.6 kB / 382 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.4954, allocations: 26.44 kB / 382 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.4956, allocations: 38.27 kB / 382.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.4956, allocations: 13.66 kB / 382.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.4957, allocations: 0 / 382.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.4957, allocations: 7.312 kB / 382.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003769/0.4995, allocations: 1.052 MB / 383.1 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/0.4996, allocations: 3.125 kB / 383.1 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.5008, allocations: 88.89 kB / 383.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-05/0.5008, allocations: 4.688 kB / 383.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.5009, allocations: 13.52 kB / 383.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.121e-05/0.501, allocations: 9.234 kB / 383.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/0.501, allocations: 3.188 kB / 383.3 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.503, allocations: 0.8306 MB / 384.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.5032, allocations: 108.4 kB / 384.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.5034, allocations: 12.7 kB / 384.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.5042, allocations: 9.422 kB / 384.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.5043, allocations: 34.94 kB / 384.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.5044, allocations: 18.67 kB / 384.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002687/0.5047, allocations: 146.4 kB / 384.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.335e-06/0.5047, allocations: 0 / 384.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001536/0.5063, allocations: 71.38 kB / 384.5 MB, free: 16.15 MB / 314.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.0002642/0.5066, allocations: 124 kB / 384.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.5078, allocations: 245 kB / 384.8 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.5e-06/0.5079, allocations: 0 / 384.8 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005616/0.5084, allocations: 136 kB / 385 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0126/0.5211, allocations: 59.22 kB / 385 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.5238, allocations: 0.8134 MB / 385.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.5242, allocations: 0.7732 MB / 386.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.5244, allocations: 30.72 kB / 386.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of SimCode: time 3.96e-06/0.5245, allocations: 0 / 386.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of Templates: time 0.01058/0.5351, allocations: 3.286 MB / 389.9 MB, free: 14.49 MB / 314.7 MB