Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.082/1.082, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.404e-05, allocations: 3.984 kB / 154.5 MB, free: 2.832 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05527/0.05534, allocations: 25.18 MB / 179.7 MB, free: 9.613 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002727/0.05813, allocations: 1.615 MB / 181.3 MB, free: 7.996 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006183/0.05881, allocations: 199.6 kB / 181.5 MB, free: 7.801 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.05895, allocations: 4 kB / 181.5 MB, free: 7.797 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 7.161e-05/0.05903, allocations: 27.77 kB / 181.5 MB, free: 7.77 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.05928, allocations: 83.73 kB / 181.6 MB, free: 7.688 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.05945, allocations: 35.97 kB / 181.6 MB, free: 7.652 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.05974, allocations: 143.6 kB / 181.8 MB, free: 7.512 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.05994, allocations: 48.92 kB / 181.8 MB, free: 7.461 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.06008, allocations: 71.84 kB / 181.9 MB, free: 7.391 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.06028, allocations: 87.67 kB / 182 MB, free: 7.305 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.519e-05/0.06035, allocations: 8 kB / 182 MB, free: 7.297 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.06039, allocations: 8 kB / 182 MB, free: 7.289 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.06045, allocations: 39.84 kB / 182 MB, free: 7.25 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 8.028e-05/0.06054, allocations: 24 kB / 182.1 MB, free: 7.227 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.06084, allocations: 191.7 kB / 182.3 MB, free: 7.039 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.06086, allocations: 0 / 182.3 MB, free: 7.039 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.06087, allocations: 0 / 182.3 MB, free: 7.039 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.06089, allocations: 0 / 182.3 MB, free: 7.039 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009248/0.06183, allocations: 483.1 kB / 182.7 MB, free: 6.52 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.06189, allocations: 8.031 kB / 182.7 MB, free: 6.512 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.928e-05/0.06199, allocations: 23.72 kB / 182.8 MB, free: 6.488 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.06236, allocations: 222.8 kB / 183 MB, free: 6.23 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.06241, allocations: 16.44 kB / 183 MB, free: 6.215 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/0.06249, allocations: 20 kB / 183 MB, free: 6.195 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.06306, allocations: 230.1 kB / 183.2 MB, free: 5.953 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.0631, allocations: 7.906 kB / 183.2 MB, free: 5.945 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.06315, allocations: 11.95 kB / 183.3 MB, free: 5.934 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.06317, allocations: 8 kB / 183.3 MB, free: 5.926 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.06359, allocations: 140.4 kB / 183.4 MB, free: 5.789 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.06512, allocations: 0.7627 MB / 184.2 MB, free: 4.969 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.06587, allocations: 251.6 kB / 184.4 MB, free: 4.695 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.06593, allocations: 15.94 kB / 184.4 MB, free: 4.68 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.06598, allocations: 34.56 kB / 184.5 MB, free: 4.637 MB / 154.7 MB Notification: Performance of pre-optimization done (n=28): time 3.758e-06/0.06599, allocations: 0 / 184.5 MB, free: 4.637 MB / 154.7 MB Notification: Performance of matching and sorting (n=40): time 0.004025/0.07002, allocations: 1.857 MB / 186.3 MB, free: 2.516 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.07018, allocations: 110.8 kB / 186.4 MB, free: 2.383 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.07042, allocations: 161.6 kB / 186.6 MB, free: 2.219 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.07048, allocations: 37.7 kB / 186.6 MB, free: 2.176 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.07062, allocations: 191.1 kB / 186.8 MB, free: 1.988 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.0708, allocations: 145.8 kB / 186.9 MB, free: 1.844 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.07084, allocations: 12 kB / 187 MB, free: 1.832 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.071, allocations: 330.8 kB / 187.3 MB, free: 1.5 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.07125, allocations: 76.84 kB / 187.4 MB, free: 1.426 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.07156, allocations: 146.3 kB / 187.5 MB, free: 1.262 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.07187, allocations: 99.94 kB / 187.6 MB, free: 1.164 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.07189, allocations: 11.94 kB / 187.6 MB, free: 1.152 MB / 154.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007551/0.07266, allocations: 299.2 kB / 187.9 MB, free: 0.8555 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.0727, allocations: 7.984 kB / 187.9 MB, free: 0.8477 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.07273, allocations: 4 kB / 187.9 MB, free: 0.8438 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.07276, allocations: 4 kB / 187.9 MB, free: 0.8398 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.07338, allocations: 87.84 kB / 188 MB, free: 0.7539 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.07341, allocations: 4 kB / 188 MB, free: 0.75 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.07363, allocations: 8 kB / 188 MB, free: 0.7422 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.07367, allocations: 16 kB / 188 MB, free: 0.7266 MB / 154.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 (49): * Single equations (assignments): 49 * 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.000238/0.07392, allocations: 153.8 kB / 188.2 MB, free: 0.5664 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.07405, allocations: 27.7 kB / 188.2 MB, free: 0.5391 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.07422, allocations: 29.88 kB / 188.2 MB, free: 0.5078 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.07424, allocations: 4 kB / 188.2 MB, free: 0.5039 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.07426, allocations: 4 kB / 188.2 MB, free: 0.5 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.07428, allocations: 3.984 kB / 188.2 MB, free: 0.4961 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.07634, allocations: 1.008 MB / 189.3 MB, free: 15.4 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.07639, allocations: 4 kB / 189.3 MB, free: 15.4 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007042/0.07711, allocations: 83.84 kB / 189.3 MB, free: 15.32 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.07714, allocations: 4 kB / 189.3 MB, free: 15.31 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.07718, allocations: 8 kB / 189.4 MB, free: 15.3 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.0772, allocations: 4 kB / 189.4 MB, free: 15.3 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.07721, allocations: 4 kB / 189.4 MB, free: 15.3 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.0785, allocations: 0.7948 MB / 190.2 MB, free: 14.38 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.07867, allocations: 108.8 kB / 190.3 MB, free: 14.26 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.07875, allocations: 8 kB / 190.3 MB, free: 14.25 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.07908, allocations: 8 kB / 190.3 MB, free: 14.24 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.07916, allocations: 31.91 kB / 190.3 MB, free: 14.21 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.07921, allocations: 16 kB / 190.3 MB, free: 14.2 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.07939, allocations: 140.1 kB / 190.5 MB, free: 14.06 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.0794, allocations: 0 / 190.5 MB, free: 14.06 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005746/0.07998, allocations: 68 kB / 190.5 MB, free: 13.99 MB / 170.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,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.0001836/0.08018, allocations: 107.2 kB / 190.6 MB, free: 13.88 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0006823/0.08087, allocations: 255.5 kB / 190.9 MB, free: 13.63 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.08089, allocations: 0 / 190.9 MB, free: 13.63 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.0812, allocations: 127.8 kB / 191 MB, free: 13.5 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/0.08195, allocations: 61.28 kB / 191.1 MB, free: 13.45 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.08421, allocations: 1.053 MB / 192.1 MB, free: 12.33 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.08469, allocations: 0.765 MB / 192.9 MB, free: 11.54 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.08485, allocations: 31.44 kB / 192.9 MB, free: 11.5 MB / 170.7 MB Notification: Performance of SimCode: time 1.042e-06/0.08486, allocations: 0 / 192.9 MB, free: 11.5 MB / 170.7 MB Notification: Performance of Templates: time 0.008632/0.0935, allocations: 3.106 MB / 196 MB, free: 8.398 MB / 170.7 MB