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.953/1.953, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.088e-05, allocations: 4 kB / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08136/0.08141, allocations: 44.5 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3665/0.448, allocations: 72.01 MB / 371.9 MB, free: 22.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.4482, allocations: 63.06 kB / 371.9 MB, free: 22.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02233/0.4706, allocations: 5.641 MB / 377.6 MB, free: 21.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.17e-06/0.4706, allocations: 0 / 377.6 MB, free: 21.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.4707, allocations: 7.031 kB / 377.6 MB, free: 21.64 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008837/0.4716, allocations: 0.5482 MB / 378.1 MB, free: 21.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4716, allocations: 9.125 kB / 378.2 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.38e-05/0.4717, allocations: 37.05 kB / 378.2 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.472, allocations: 251.4 kB / 378.4 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.4721, allocations: 25.62 kB / 378.5 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.4722, allocations: 32.25 kB / 378.5 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.4727, allocations: 240.2 kB / 378.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.4728, allocations: 7 kB / 378.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.4728, allocations: 9.719 kB / 378.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.4728, allocations: 7.5 kB / 378.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.4734, allocations: 225.9 kB / 379 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.475, allocations: 0.8121 MB / 379.8 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.4756, allocations: 331.1 kB / 380.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.476, allocations: 174.5 kB / 380.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.4761, allocations: 11.39 kB / 380.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.4761, allocations: 37.34 kB / 380.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.834e-06/0.4761, allocations: 0 / 380.3 MB, free: 20.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.004543/0.4806, allocations: 1.758 MB / 382.1 MB, free: 19.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.4807, allocations: 62.47 kB / 382.1 MB, free: 19.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.4809, allocations: 175.1 kB / 382.3 MB, free: 19.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.481, allocations: 35.77 kB / 382.3 MB, free: 19.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.4811, allocations: 143.8 kB / 382.5 MB, free: 19.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.4813, allocations: 211.9 kB / 382.7 MB, free: 19.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.4813, allocations: 11.09 kB / 382.7 MB, free: 19.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.4814, allocations: 347.8 kB / 383 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.4817, allocations: 137.1 kB / 383.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.4821, allocations: 144.5 kB / 383.3 MB, free: 19.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.4824, allocations: 154.8 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4825, allocations: 1.344 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000949/0.4834, allocations: 440.3 kB / 383.9 MB, free: 19.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4835, allocations: 4.906 kB / 383.9 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.793e-06/0.4835, allocations: 3.953 kB / 383.9 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.4835, allocations: 3.406 kB / 383.9 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.4842, allocations: 132.5 kB / 384 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.4842, allocations: 2.938 kB / 384 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.4845, allocations: 33.2 kB / 384.1 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.4846, allocations: 17.41 kB / 384.1 MB, free: 19.09 MB / 314.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.0001183/0.4847, allocations: 144.4 kB / 384.2 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.575e-05/0.4848, allocations: 32.38 kB / 384.3 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.4849, allocations: 45.41 kB / 384.3 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.392e-06/0.485, allocations: 11.11 kB / 384.3 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.485, allocations: 0 / 384.3 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.485, allocations: 2.906 kB / 384.3 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.4873, allocations: 1.261 MB / 385.6 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.4873, allocations: 9.531 kB / 385.6 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006818/0.488, allocations: 131.4 kB / 385.7 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.768e-05/0.488, allocations: 7.656 kB / 385.7 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.4881, allocations: 20.67 kB / 385.8 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504e-05/0.4881, allocations: 12.91 kB / 385.8 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/0.4881, allocations: 5.375 kB / 385.8 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.4895, allocations: 1.024 MB / 386.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.4897, allocations: 115.3 kB / 386.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.4897, allocations: 17.59 kB / 386.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.4902, allocations: 34.7 kB / 387 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.4903, allocations: 51.27 kB / 387 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.4903, allocations: 22.39 kB / 387 MB, free: 17.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.4905, allocations: 144.8 kB / 387.2 MB, free: 17.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.13e-07/0.4905, allocations: 0 / 387.2 MB, free: 17.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005755/0.4911, allocations: 95.41 kB / 387.3 MB, free: 17.55 MB / 314.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.0001596/0.4913, allocations: 120.4 kB / 387.4 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007989/0.4921, allocations: 377.4 kB / 387.8 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.872e-06/0.4921, allocations: 0 / 387.8 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.4926, allocations: 231.1 kB / 388 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.4932, allocations: 68.44 kB / 388 MB, free: 17.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.4949, allocations: 0.8281 MB / 388.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.4952, allocations: 0.8005 MB / 389.7 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003075/0.4955, allocations: 48.02 kB / 389.7 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.4957, allocations: 34.48 kB / 389.8 MB, free: 16.18 MB / 314.7 MB Notification: Performance of SimCode: time 2.322e-06/0.4957, allocations: 5.344 kB / 389.8 MB, free: 16.18 MB / 314.7 MB Notification: Performance of Templates: time 0.01035/0.5061, allocations: 3.639 MB / 393.4 MB, free: 15.9 MB / 314.7 MB