Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.312e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2987, allocations: 44.49 MB / 294.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.4144, allocations: 72.83 MB / 366.9 MB, free: 9.172 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.4147, allocations: 75.89 kB / 367 MB, free: 9.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03736/0.4521, allocations: 9.033 MB / 376 MB, free: 36 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.362e-06/0.4521, allocations: 0 / 376 MB, free: 36 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.181e-05/0.4522, allocations: 12 kB / 376.1 MB, free: 24 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001545/0.4537, allocations: 0.7212 MB / 376.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4538, allocations: 8.031 kB / 376.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.4539, allocations: 59.3 kB / 376.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.4545, allocations: 310.2 kB / 377.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.4545, allocations: 16 kB / 377.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-05/0.4546, allocations: 27.91 kB / 377.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009074/0.4556, allocations: 346.5 kB / 377.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008493/0.4564, allocations: 343.9 kB / 377.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.4565, allocations: 4 kB / 377.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.4565, allocations: 0 / 377.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.4565, allocations: 12 kB / 377.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003228/0.4598, allocations: 1.308 MB / 379.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009924/0.4608, allocations: 468.5 kB / 379.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007687/0.4616, allocations: 311 kB / 379.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-05/0.4617, allocations: 12.55 kB / 380 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.4617, allocations: 39.12 kB / 380 MB, free: 11.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 3.864e-06/0.4618, allocations: 0 / 380 MB, free: 11.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=103): time 0.005544/0.4673, allocations: 2.217 MB / 382.2 MB, free: 9.609 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.4674, allocations: 60.72 kB / 382.3 MB, free: 9.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.4677, allocations: 194.4 kB / 382.5 MB, free: 9.336 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.4678, allocations: 25.7 kB / 382.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.468, allocations: 251.7 kB / 382.7 MB, free: 9.055 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/0.4683, allocations: 342.8 kB / 383.1 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.4684, allocations: 4 kB / 383.1 MB, free: 8.711 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4686, allocations: 338.8 kB / 383.4 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.4691, allocations: 210.6 kB / 383.6 MB, free: 8.168 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.4697, allocations: 274.3 kB / 383.9 MB, free: 7.887 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000609/0.4704, allocations: 242.3 kB / 384.1 MB, free: 7.656 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.747e-06/0.4704, allocations: 0 / 384.1 MB, free: 7.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00146/0.4719, allocations: 0.6138 MB / 384.7 MB, free: 7.035 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4719, allocations: 4 kB / 384.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.4719, allocations: 0 / 384.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.472, allocations: 15.94 kB / 384.7 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.4731, allocations: 223.7 kB / 385 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.4731, allocations: 11.94 kB / 385 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006869/0.4738, allocations: 39.95 kB / 385 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.4739, allocations: 32 kB / 385 MB, free: 6.715 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0002005/0.4742, allocations: 112.8 kB / 385.2 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.4743, allocations: 51.44 kB / 385.2 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.4745, allocations: 61.36 kB / 385.3 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.4745, allocations: 11.95 kB / 385.3 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.66e-06/0.4746, allocations: 0 / 385.3 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.4746, allocations: 3.984 kB / 385.3 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006246/0.4808, allocations: 1.741 MB / 387 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/0.4809, allocations: 8.094 kB / 387 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/0.4828, allocations: 215.7 kB / 387.2 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.38e-05/0.4829, allocations: 8 kB / 387.2 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.483, allocations: 12 kB / 387.3 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.851e-05/0.4831, allocations: 11.98 kB / 387.3 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.511e-05/0.4831, allocations: 7.938 kB / 387.3 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003715/0.4868, allocations: 1.391 MB / 388.7 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.4871, allocations: 124.5 kB / 388.8 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/0.4872, allocations: 11.98 kB / 388.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005543/0.4877, allocations: 47.92 kB / 388.9 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.4879, allocations: 76.56 kB / 388.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.548e-05/0.488, allocations: 35.98 kB / 389 MB, free: 2.477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002059/0.4882, allocations: 154 kB / 389.1 MB, free: 2.332 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.4882, allocations: 0 / 389.1 MB, free: 2.332 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007271/0.489, allocations: 124 kB / 389.2 MB, free: 2.211 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0002097/0.4892, allocations: 115 kB / 389.3 MB, free: 2.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.4909, allocations: 0.5887 MB / 389.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.556e-06/0.4909, allocations: 0 / 389.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.4921, allocations: 375.6 kB / 390.3 MB, free: 1.137 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.4932, allocations: 82.09 kB / 390.4 MB, free: 1.055 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.4977, allocations: 1.233 MB / 391.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.4989, allocations: 0.8806 MB / 392.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005478/0.4995, allocations: 67.41 kB / 392.6 MB, free: 14.76 MB / 346.7 MB Notification: Performance of SimCode: time 2.68e-06/0.4995, allocations: 0 / 392.6 MB, free: 14.76 MB / 346.7 MB Notification: Performance of Templates: time 0.01643/0.5159, allocations: 6.901 MB / 399.5 MB, free: 7.848 MB / 346.7 MB