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_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.577e-05/1.596e-05, allocations: 0 / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2494, allocations: 44.51 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.3591, allocations: 71.35 MB / 365.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.3594, allocations: 59.97 kB / 365.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02208/0.3815, allocations: 5.582 MB / 371.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.201e-06/0.3815, allocations: 0 / 371.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.012e-05/0.3816, allocations: 8 kB / 371.1 MB, free: 4.961 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.00101/0.3826, allocations: 0.5536 MB / 371.7 MB, free: 4.363 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3827, allocations: 8.031 kB / 371.7 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.322e-05/0.3828, allocations: 35.58 kB / 371.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.3831, allocations: 246.6 kB / 371.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.3832, allocations: 8 kB / 372 MB, free: 4.031 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.3833, allocations: 16 kB / 372 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005439/0.3838, allocations: 221 kB / 372.2 MB, free: 3.797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.3843, allocations: 207.7 kB / 372.4 MB, free: 3.586 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.3844, allocations: 4 kB / 372.4 MB, free: 3.582 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.3844, allocations: 7.984 kB / 372.4 MB, free: 3.574 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3845, allocations: 4 kB / 372.4 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.3861, allocations: 0.7476 MB / 373.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.3868, allocations: 319.2 kB / 373.5 MB, free: 2.457 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.3872, allocations: 164.8 kB / 373.6 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.3872, allocations: 11.98 kB / 373.6 MB, free: 2.281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.3873, allocations: 38.52 kB / 373.7 MB, free: 2.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 6.559e-06/0.3873, allocations: 0 / 373.7 MB, free: 2.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.003545/0.3909, allocations: 1.476 MB / 375.1 MB, free: 0.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.3909, allocations: 55.97 kB / 375.2 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.3912, allocations: 155.1 kB / 375.4 MB, free: 452 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.3912, allocations: 25.7 kB / 375.4 MB, free: 420 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.3914, allocations: 211.3 kB / 375.6 MB, free: 208 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.3916, allocations: 204.8 kB / 375.8 MB, free: 0 / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.3916, allocations: 0 / 375.8 MB, free: 0 / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.3918, allocations: 334.8 kB / 376.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.3922, allocations: 129.1 kB / 376.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.3925, allocations: 131.9 kB / 376.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.3929, allocations: 142.1 kB / 376.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.124e-06/0.3929, allocations: 0 / 376.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009045/0.3938, allocations: 390.8 kB / 376.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.3938, allocations: 10.03 kB / 376.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3939, allocations: 7.922 kB / 376.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3939, allocations: 0 / 376.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.3946, allocations: 131.8 kB / 377 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.511e-06/0.3946, allocations: 0 / 377 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.3949, allocations: 19.98 kB / 377.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.395, allocations: 16 kB / 377.1 MB, free: 14.7 MB / 330.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.0001521/0.3951, allocations: 112.6 kB / 377.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.3952, allocations: 35.61 kB / 377.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.3954, allocations: 43.97 kB / 377.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.3954, allocations: 8 kB / 377.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.824e-06/0.3954, allocations: 3.953 kB / 377.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.3955, allocations: 3.984 kB / 377.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.3979, allocations: 1.157 MB / 378.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.3979, allocations: 4.562 kB / 378.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/0.3986, allocations: 135.8 kB / 378.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-05/0.3987, allocations: 11.95 kB / 378.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.3987, allocations: 7.984 kB / 378.6 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.586e-06/0.3987, allocations: 8 kB / 378.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.324e-06/0.3988, allocations: 7.938 kB / 378.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.4003, allocations: 0.9789 MB / 379.6 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.4005, allocations: 116.7 kB / 379.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-05/0.4006, allocations: 8.031 kB / 379.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.4009, allocations: 27.98 kB / 379.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.4011, allocations: 43.84 kB / 379.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.4011, allocations: 23.98 kB / 379.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.4013, allocations: 131.1 kB / 379.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.4013, allocations: 4 kB / 379.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005564/0.4019, allocations: 76 kB / 380 MB, free: 11.46 MB / 330.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.0001862/0.4021, allocations: 115.1 kB / 380.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008011/0.4029, allocations: 361.7 kB / 380.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.629e-06/0.4029, allocations: 0 / 380.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.4034, allocations: 216.5 kB / 380.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.404, allocations: 56.84 kB / 380.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.4058, allocations: 0.8246 MB / 381.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.4064, allocations: 0.7969 MB / 382.4 MB, free: 8.977 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.4066, allocations: 47.42 kB / 382.4 MB, free: 8.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.606e-06/0.4066, allocations: 3.938 kB / 382.4 MB, free: 8.926 MB / 330.7 MB Notification: Performance of Templates: time 0.00894/0.4155, allocations: 4.321 MB / 386.7 MB, free: 4.617 MB / 330.7 MB