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.837/1.837, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.324e-05, allocations: 2.031 kB / 255.3 MB, free: 3.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08159/0.08165, allocations: 44.5 MB / 299.8 MB, free: 6.648 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3478/0.4295, allocations: 73.49 MB / 373.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4298, allocations: 71.16 kB / 373.4 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03608/0.4659, allocations: 9.102 MB / 382.5 MB, free: 21.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.972e-06/0.4659, allocations: 1.656 kB / 382.5 MB, free: 21.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.466, allocations: 12.62 kB / 382.5 MB, free: 21.56 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001449/0.4674, allocations: 0.7202 MB / 383.2 MB, free: 21.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4675, allocations: 9.688 kB / 383.2 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.4676, allocations: 60.23 kB / 383.3 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.4681, allocations: 306.5 kB / 383.6 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.4681, allocations: 38.28 kB / 383.6 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.647e-05/0.4682, allocations: 50.17 kB / 383.7 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000895/0.4691, allocations: 399.7 kB / 384.1 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.4692, allocations: 3.109 kB / 384.1 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/0.4693, allocations: 18.75 kB / 384.1 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.4693, allocations: 11 kB / 384.1 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009071/0.4702, allocations: 373.7 kB / 384.5 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002996/0.4732, allocations: 1.401 MB / 385.9 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009697/0.4742, allocations: 0.4918 MB / 386.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/0.475, allocations: 322.5 kB / 386.7 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.4751, allocations: 13.81 kB / 386.7 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.4751, allocations: 46.91 kB / 386.7 MB, free: 20.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.113e-06/0.4751, allocations: 0 / 386.7 MB, free: 20.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.007668/0.4828, allocations: 2.743 MB / 389.5 MB, free: 19.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.4829, allocations: 67.5 kB / 389.5 MB, free: 19.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.4831, allocations: 218.7 kB / 389.8 MB, free: 19.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/0.4832, allocations: 43.67 kB / 389.8 MB, free: 19.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.4833, allocations: 246 kB / 390 MB, free: 19.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.4835, allocations: 348.2 kB / 390.4 MB, free: 18.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.4836, allocations: 18.03 kB / 390.4 MB, free: 18.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.4837, allocations: 346.5 kB / 390.7 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.4842, allocations: 227.8 kB / 391 MB, free: 18.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005931/0.4848, allocations: 299.5 kB / 391.3 MB, free: 18.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005602/0.4854, allocations: 258.5 kB / 391.5 MB, free: 18.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.006e-06/0.4854, allocations: 0 / 391.5 MB, free: 18.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001402/0.4868, allocations: 0.6777 MB / 392.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4869, allocations: 3.938 kB / 392.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4869, allocations: 7.984 kB / 392.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.4869, allocations: 3.875 kB / 392.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.488, allocations: 218.9 kB / 392.4 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.488, allocations: 7.812 kB / 392.4 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.4886, allocations: 65.98 kB / 392.5 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.978e-05/0.4887, allocations: 23.44 kB / 392.5 MB, free: 18.48 MB / 314.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.0001801/0.4889, allocations: 149.8 kB / 392.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.489, allocations: 61.92 kB / 392.7 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.4892, allocations: 74.64 kB / 392.8 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.4892, allocations: 7.812 kB / 392.8 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.4893, allocations: 7.938 kB / 392.8 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.4893, allocations: 3.281 kB / 392.8 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003387/0.4927, allocations: 1.9 MB / 394.7 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.4927, allocations: 7.812 kB / 394.7 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.4938, allocations: 207.9 kB / 394.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/0.4939, allocations: 11.81 kB / 394.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.494, allocations: 34.09 kB / 395 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.231e-05/0.494, allocations: 11.75 kB / 395 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.494, allocations: 7.875 kB / 395 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.4961, allocations: 1.452 MB / 396.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.4963, allocations: 124 kB / 396.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.4964, allocations: 25.78 kB / 396.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005809/0.497, allocations: 71.45 kB / 396.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.4972, allocations: 71.27 kB / 396.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.4972, allocations: 38.64 kB / 396.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.4974, allocations: 172.5 kB / 396.9 MB, free: 16.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.4975, allocations: 0 / 396.9 MB, free: 16.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006872/0.4982, allocations: 154.6 kB / 397.1 MB, free: 16.8 MB / 314.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.0001779/0.4983, allocations: 139.9 kB / 397.2 MB, free: 16.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.4996, allocations: 0.6299 MB / 397.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4996, allocations: 4.125 kB / 397.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007581/0.5004, allocations: 396.7 kB / 398.2 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.5012, allocations: 91.36 kB / 398.3 MB, free: 16.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.5036, allocations: 1.296 MB / 399.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.504, allocations: 0.8804 MB / 400.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.5043, allocations: 68.25 kB / 400.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of SimCode: time 1.605e-06/0.5044, allocations: 0 / 400.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of Templates: time 0.0113/0.5157, allocations: 6.997 MB / 407.6 MB, free: 14.61 MB / 314.7 MB