Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 194.9 MB / 210.6 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.33e-05, allocations: 0 / 258.8 MB, free: 8.07 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2903, allocations: 44.51 MB / 303.3 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.0033/0.2936, allocations: 1.99 MB / 305.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008306/0.2945, allocations: 352.6 kB / 305.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.2947, allocations: 11.62 kB / 305.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.967e-05/0.2948, allocations: 27.8 kB / 305.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.2951, allocations: 109.4 kB / 305.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.2954, allocations: 75.52 kB / 305.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.2958, allocations: 184.6 kB / 306.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.2959, allocations: 55.98 kB / 306.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.2961, allocations: 103.3 kB / 306.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.2964, allocations: 132.3 kB / 306.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.841e-05/0.2965, allocations: 12.47 kB / 306.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.2965, allocations: 12.91 kB / 306.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.2966, allocations: 48.61 kB / 306.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.912e-05/0.2967, allocations: 31.31 kB / 306.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.2971, allocations: 261.6 kB / 306.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.2971, allocations: 0 / 306.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2971, allocations: 0 / 306.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.2971, allocations: 0 / 306.7 MB, free: 10.23 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001424/0.2985, allocations: 0.5771 MB / 307.3 MB, free: 9.605 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2986, allocations: 12.03 kB / 307.3 MB, free: 9.594 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/0.2987, allocations: 31.62 kB / 307.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.2991, allocations: 254.5 kB / 307.6 MB, free: 9.273 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.2991, allocations: 28.48 kB / 307.6 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.2992, allocations: 28 kB / 307.6 MB, free: 9.219 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008508/0.3001, allocations: 276.8 kB / 307.9 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.3001, allocations: 3.906 kB / 307.9 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.3002, allocations: 19.94 kB / 307.9 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3002, allocations: 8 kB / 307.9 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.3012, allocations: 282.1 kB / 308.2 MB, free: 8.633 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.303, allocations: 0.8028 MB / 309 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009444/0.304, allocations: 368.3 kB / 309.4 MB, free: 7.402 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.815e-05/0.3041, allocations: 4 kB / 309.4 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.3041, allocations: 34.5 kB / 309.4 MB, free: 7.355 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.3041, allocations: 4 kB / 309.4 MB, free: 7.352 MB / 250.7 MB Notification: Performance of matching and sorting (n=63): time 0.007045/0.3112, allocations: 2.049 MB / 311.5 MB, free: 5.211 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3112, allocations: 55.97 kB / 311.5 MB, free: 5.141 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.3115, allocations: 175.4 kB / 311.7 MB, free: 4.965 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.3115, allocations: 37.69 kB / 311.7 MB, free: 4.922 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3117, allocations: 145 kB / 311.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.3119, allocations: 212.8 kB / 312.1 MB, free: 4.566 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.3119, allocations: 16 kB / 312.1 MB, free: 4.551 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3121, allocations: 346.8 kB / 312.4 MB, free: 4.203 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.3127, allocations: 161 kB / 312.6 MB, free: 4.047 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/0.3132, allocations: 181 kB / 312.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/0.3139, allocations: 178.2 kB / 312.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3139, allocations: 3.938 kB / 312.9 MB, free: 3.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001399/0.3153, allocations: 0.4909 MB / 313.4 MB, free: 3.195 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3153, allocations: 4 kB / 313.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3153, allocations: 0 / 313.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3154, allocations: 4 kB / 313.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009146/0.3163, allocations: 131.8 kB / 313.6 MB, free: 3.059 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.3163, allocations: 4 kB / 313.6 MB, free: 3.055 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.3167, allocations: 27.98 kB / 313.6 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.3167, allocations: 19.98 kB / 313.6 MB, free: 3.008 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0002202/0.317, allocations: 157.7 kB / 313.8 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/0.3171, allocations: 39.62 kB / 313.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.3172, allocations: 47.33 kB / 313.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3172, allocations: 8 kB / 313.9 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.3173, allocations: 3.953 kB / 313.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3173, allocations: 0 / 313.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.3203, allocations: 1.325 MB / 315.2 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.3203, allocations: 4 kB / 315.2 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00093/0.3212, allocations: 140.3 kB / 315.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.3213, allocations: 4 kB / 315.3 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.3213, allocations: 23.94 kB / 315.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/0.3213, allocations: 4 kB / 315.4 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.3214, allocations: 11.94 kB / 315.4 MB, free: 1.117 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.3236, allocations: 1.108 MB / 316.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.3238, allocations: 120.7 kB / 316.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.144e-05/0.3239, allocations: 16 kB / 316.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.3243, allocations: 31.98 kB / 316.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3244, allocations: 51.83 kB / 316.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.3245, allocations: 20 kB / 316.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.3247, allocations: 143.4 kB / 316.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3247, allocations: 4 kB / 316.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005286/0.3252, allocations: 96 kB / 316.9 MB, free: 15.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.000177/0.3254, allocations: 119.1 kB / 317.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.3268, allocations: 450.7 kB / 317.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.3268, allocations: 4 kB / 317.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007331/0.3276, allocations: 264.6 kB / 317.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.3283, allocations: 71.81 kB / 317.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.3309, allocations: 1.185 MB / 319 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.3313, allocations: 0.8013 MB / 319.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000339/0.3317, allocations: 47.27 kB / 319.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.3319, allocations: 35.42 kB / 319.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of SimCode: time 1.133e-06/0.3319, allocations: 7.938 kB / 319.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Templates: time 0.01188/0.3438, allocations: 3.649 MB / 323.6 MB, free: 8.617 MB / 266.7 MB