Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.742e-05, allocations: 14.8 kB / 292.2 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.09241, allocations: 50.41 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4485, allocations: 77.72 MB / 420.3 MB, free: 492 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4487, allocations: 67.94 kB / 420.3 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02366/0.4724, allocations: 5.884 MB / 426.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.074e-06/0.4725, allocations: 0 / 426.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.4725, allocations: 7.938 kB / 426.2 MB, free: 11.47 MB / 346.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.001022/0.4735, allocations: 0.5493 MB / 426.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4736, allocations: 8.031 kB / 426.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.773e-05/0.4737, allocations: 35.62 kB / 426.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.4741, allocations: 249.1 kB / 427.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.4741, allocations: 19.56 kB / 427.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.4742, allocations: 34.67 kB / 427.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.4748, allocations: 247.8 kB / 427.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.4749, allocations: 7.094 kB / 427.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.4749, allocations: 10.94 kB / 427.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.4749, allocations: 12 kB / 427.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.4755, allocations: 218.8 kB / 427.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.4772, allocations: 0.7989 MB / 428.4 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007018/0.478, allocations: 334.7 kB / 428.7 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.4784, allocations: 183 kB / 428.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.4784, allocations: 7.812 kB / 428.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.4785, allocations: 34.56 kB / 429 MB, free: 9.172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.527e-06/0.4785, allocations: 0 / 429 MB, free: 9.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.006019/0.4845, allocations: 1.765 MB / 430.7 MB, free: 7.676 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/0.4847, allocations: 55.97 kB / 430.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.4851, allocations: 181 kB / 431 MB, free: 7.449 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.184e-05/0.4852, allocations: 37.02 kB / 431 MB, free: 7.414 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.4854, allocations: 146.1 kB / 431.1 MB, free: 7.289 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003801/0.4858, allocations: 209.5 kB / 431.3 MB, free: 7.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.4859, allocations: 13.44 kB / 431.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002792/0.4862, allocations: 343.8 kB / 431.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.4868, allocations: 139.9 kB / 431.8 MB, free: 6.691 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.4874, allocations: 143.9 kB / 432 MB, free: 6.602 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006124/0.488, allocations: 152 kB / 432.1 MB, free: 6.512 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.622e-06/0.488, allocations: 3.938 kB / 432.1 MB, free: 6.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00162/0.4897, allocations: 448.4 kB / 432.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.4897, allocations: 8 kB / 432.6 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4898, allocations: 0 / 432.6 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/0.4898, allocations: 4 kB / 432.6 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.491, allocations: 123.6 kB / 432.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/0.491, allocations: 4 kB / 432.7 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.4915, allocations: 31.11 kB / 432.7 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/0.4916, allocations: 22.06 kB / 432.7 MB, free: 6.008 MB / 346.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.0002432/0.4919, allocations: 140.9 kB / 432.9 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.4921, allocations: 35.56 kB / 432.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.4923, allocations: 46.03 kB / 433 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.4923, allocations: 8 kB / 433 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.4924, allocations: 0 / 433 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.4924, allocations: 3.984 kB / 433 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004294/0.4967, allocations: 1.26 MB / 434.2 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/0.4968, allocations: 4 kB / 434.2 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.4978, allocations: 123.2 kB / 434.4 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/0.4979, allocations: 8 kB / 434.4 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.4979, allocations: 22.83 kB / 434.4 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/0.498, allocations: 11.94 kB / 434.4 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.885e-06/0.498, allocations: 8 kB / 434.4 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.4997, allocations: 1.018 MB / 435.4 MB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.4999, allocations: 116.1 kB / 435.5 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.5, allocations: 23.53 kB / 435.6 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.5004, allocations: 30.73 kB / 435.6 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.5005, allocations: 47.12 kB / 435.6 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.5006, allocations: 23.86 kB / 435.7 MB, free: 3.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.5007, allocations: 145.8 kB / 435.8 MB, free: 3.215 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.5008, allocations: 0 / 435.8 MB, free: 3.215 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005905/0.5014, allocations: 99.62 kB / 435.9 MB, free: 3.137 MB / 346.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.0002057/0.5016, allocations: 118.4 kB / 436 MB, free: 3.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009015/0.5025, allocations: 378.3 kB / 436.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.251e-06/0.5025, allocations: 0 / 436.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004984/0.503, allocations: 235.3 kB / 436.6 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.5037, allocations: 67.23 kB / 436.7 MB, free: 2.539 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.5056, allocations: 0.8292 MB / 437.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.5061, allocations: 0.7972 MB / 438.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003061/0.5065, allocations: 51.25 kB / 438.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.5066, allocations: 35.42 kB / 438.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of SimCode: time 2.449e-06/0.5066, allocations: 4 kB / 438.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of Templates: time 0.01142/0.5181, allocations: 3.651 MB / 442 MB, free: 13.2 MB / 362.7 MB