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.1_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.604/1.604, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.079e-05, allocations: 7.438 kB / 225 MB, free: 2.793 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2428, allocations: 38.77 MB / 263.8 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.3711, allocations: 68.2 MB / 332 MB, free: 5.574 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.3714, allocations: 67.97 kB / 332 MB, free: 5.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03882/0.4102, allocations: 9.108 MB / 341.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.018e-06/0.4103, allocations: 0 / 341.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.061e-05/0.4103, allocations: 12 kB / 341.1 MB, free: 12.36 MB / 298.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.001533/0.4119, allocations: 0.722 MB / 341.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4119, allocations: 8.031 kB / 341.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.4121, allocations: 55.34 kB / 341.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.4126, allocations: 302.2 kB / 342.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.4127, allocations: 44.94 kB / 342.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.4128, allocations: 51.91 kB / 342.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009772/0.4138, allocations: 392.5 kB / 342.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.4138, allocations: 3.938 kB / 342.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/0.4139, allocations: 20 kB / 342.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.4139, allocations: 12 kB / 342.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009521/0.4149, allocations: 365.9 kB / 343.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/0.4183, allocations: 1.394 MB / 344.5 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.4194, allocations: 488.5 kB / 345 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008326/0.4203, allocations: 345.3 kB / 345.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.815e-05/0.4203, allocations: 12.55 kB / 345.3 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.4204, allocations: 43.12 kB / 345.4 MB, free: 7.965 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 4.279e-06/0.4204, allocations: 0 / 345.4 MB, free: 7.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.008288/0.4287, allocations: 2.757 MB / 348.1 MB, free: 5.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.4288, allocations: 64.41 kB / 348.2 MB, free: 5.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.4292, allocations: 223.4 kB / 348.4 MB, free: 4.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.4292, allocations: 37.7 kB / 348.4 MB, free: 4.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.4294, allocations: 247.8 kB / 348.7 MB, free: 4.535 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.4298, allocations: 354.8 kB / 349 MB, free: 4.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.4299, allocations: 20 kB / 349 MB, free: 4.164 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.4301, allocations: 346.8 kB / 349.4 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/0.4307, allocations: 221.9 kB / 349.6 MB, free: 3.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006657/0.4314, allocations: 295.5 kB / 349.9 MB, free: 3.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.432, allocations: 252.9 kB / 350.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.994e-06/0.4321, allocations: 0 / 350.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001599/0.4337, allocations: 0.6729 MB / 350.8 MB, free: 2.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4337, allocations: 4 kB / 350.8 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.444e-06/0.4337, allocations: 0 / 350.8 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.4338, allocations: 8 kB / 350.8 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.4349, allocations: 223.7 kB / 351 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.872e-05/0.435, allocations: 8 kB / 351 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004906/0.4355, allocations: 55.95 kB / 351.1 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-05/0.4356, allocations: 32 kB / 351.1 MB, free: 2.051 MB / 298.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.0002198/0.4358, allocations: 156.8 kB / 351.3 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.4359, allocations: 55.38 kB / 351.3 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.4361, allocations: 73.33 kB / 351.4 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.4362, allocations: 12 kB / 351.4 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.4362, allocations: 7.953 kB / 351.4 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.4362, allocations: 3.984 kB / 351.4 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004023/0.4403, allocations: 1.889 MB / 353.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.4403, allocations: 8.062 kB / 353.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.4415, allocations: 211.7 kB / 353.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.168e-05/0.4415, allocations: 12 kB / 353.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.4416, allocations: 23.98 kB / 353.6 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.43e-05/0.4416, allocations: 8 kB / 353.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/0.4417, allocations: 15.88 kB / 353.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.4444, allocations: 1.45 MB / 355 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.4448, allocations: 172.5 kB / 355.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.4449, allocations: 31.98 kB / 355.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.4455, allocations: 63.92 kB / 355.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.4456, allocations: 72.58 kB / 355.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.678e-05/0.4457, allocations: 35.98 kB / 355.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002469/0.446, allocations: 175.1 kB / 355.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.446, allocations: 0 / 355.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007186/0.4467, allocations: 156 kB / 355.7 MB, free: 13.12 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.0002368/0.447, allocations: 146.8 kB / 355.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.4485, allocations: 0.6166 MB / 356.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.144e-06/0.4485, allocations: 0 / 356.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008813/0.4494, allocations: 391.6 kB / 356.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/0.4502, allocations: 89.14 kB / 357 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.4531, allocations: 1.292 MB / 358.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.4538, allocations: 0.877 MB / 359.1 MB, free: 9.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.4542, allocations: 71.41 kB / 359.2 MB, free: 9.523 MB / 314.7 MB Notification: Performance of SimCode: time 2.325e-06/0.4542, allocations: 3.938 kB / 359.2 MB, free: 9.52 MB / 314.7 MB Notification: Performance of Templates: time 0.01402/0.4683, allocations: 6.923 MB / 366.1 MB, free: 2.578 MB / 314.7 MB