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.909/1.909, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/3.015e-05, allocations: 2.406 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07895/0.079, allocations: 44.49 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3194/0.3985, allocations: 71.8 MB / 371.6 MB, free: 21.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.3987, allocations: 63.94 kB / 371.7 MB, free: 21.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01775/0.4165, allocations: 4.066 MB / 375.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.749e-06/0.4166, allocations: 1 kB / 375.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.286e-05/0.4166, allocations: 4.219 kB / 375.8 MB, free: 20.82 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.001179/0.4179, allocations: 482.6 kB / 376.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/0.4179, allocations: 11.09 kB / 376.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.4181, allocations: 34.05 kB / 376.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.4186, allocations: 226.9 kB / 376.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.645e-05/0.4187, allocations: 25.98 kB / 376.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.4188, allocations: 28.88 kB / 376.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009662/0.4198, allocations: 236.8 kB / 376.8 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/0.4198, allocations: 5.125 kB / 376.8 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-05/0.4199, allocations: 8.781 kB / 376.8 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.42, allocations: 9.766 kB / 376.8 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007685/0.4208, allocations: 156.1 kB / 377 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.4231, allocations: 0.8094 MB / 377.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.4243, allocations: 273 kB / 378 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.4249, allocations: 141.8 kB / 378.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.4249, allocations: 2.719 kB / 378.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.425, allocations: 39.25 kB / 378.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 5.729e-06/0.425, allocations: 0 / 378.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.005422/0.4304, allocations: 1.869 MB / 380.1 MB, free: 18.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.4306, allocations: 109.5 kB / 380.2 MB, free: 17.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.4309, allocations: 166.6 kB / 380.4 MB, free: 17.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.431, allocations: 33.67 kB / 380.4 MB, free: 17.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.4311, allocations: 200.2 kB / 380.6 MB, free: 17.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.4314, allocations: 160.1 kB / 380.7 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.4314, allocations: 8.562 kB / 380.7 MB, free: 17.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.4315, allocations: 330.3 kB / 381.1 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.432, allocations: 89.19 kB / 381.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.4325, allocations: 147.3 kB / 381.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.433, allocations: 111.2 kB / 381.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.4331, allocations: 7.047 kB / 381.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001307/0.4344, allocations: 322.6 kB / 381.7 MB, free: 17.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.4345, allocations: 5.812 kB / 381.7 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.4345, allocations: 5.031 kB / 381.7 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/0.4345, allocations: 4.906 kB / 381.7 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009174/0.4355, allocations: 99.11 kB / 381.8 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/0.4355, allocations: 3.562 kB / 381.8 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.4359, allocations: 13.27 kB / 381.9 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/0.436, allocations: 13.62 kB / 381.9 MB, free: 17.11 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.0001632/0.4362, allocations: 125.4 kB / 382 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.4365, allocations: 26.34 kB / 382 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.4367, allocations: 36.56 kB / 382.1 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.4367, allocations: 8.656 kB / 382.1 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.4367, allocations: 5.078 kB / 382.1 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.4368, allocations: 4.969 kB / 382.1 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.4402, allocations: 1.062 MB / 383.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.4402, allocations: 2.156 kB / 383.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.4413, allocations: 93.06 kB / 383.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.29e-05/0.4414, allocations: 4.188 kB / 383.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.4415, allocations: 10.52 kB / 383.2 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/0.4415, allocations: 5.531 kB / 383.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.4415, allocations: 7.438 kB / 383.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.4434, allocations: 0.8358 MB / 384.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.4436, allocations: 104.5 kB / 384.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.4437, allocations: 13.3 kB / 384.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.4444, allocations: 8.594 kB / 384.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4445, allocations: 39.17 kB / 384.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/0.4446, allocations: 15.8 kB / 384.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000254/0.4449, allocations: 137.2 kB / 384.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.478e-06/0.4449, allocations: 0 / 384.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001356/0.4463, allocations: 76.44 kB / 384.5 MB, free: 15.59 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.0002399/0.4466, allocations: 115.5 kB / 384.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.4476, allocations: 256.8 kB / 384.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.395e-06/0.4477, allocations: 4 kB / 384.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.4482, allocations: 137.2 kB / 385 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.4494, allocations: 55.67 kB / 385 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.4522, allocations: 0.8161 MB / 385.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.4532, allocations: 0.7794 MB / 386.6 MB, free: 30.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.4535, allocations: 29.16 kB / 386.7 MB, free: 30.19 MB / 330.7 MB Notification: Performance of SimCode: time 2.311e-06/0.4535, allocations: 0 / 386.7 MB, free: 30.19 MB / 330.7 MB Notification: Performance of Templates: time 0.01182/0.4653, allocations: 3.314 MB / 390 MB, free: 29.93 MB / 330.7 MB