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_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 194.9 MB / 208 MB, free: 3.191 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.235e-05, allocations: 7.984 kB / 255.4 MB, free: 2.723 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07766/0.07771, allocations: 44.5 MB / 299.9 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.4514, allocations: 73.49 MB / 373.4 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.4516, allocations: 70.55 kB / 373.4 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03685/0.4885, allocations: 9.106 MB / 382.5 MB, free: 21.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.261e-06/0.4885, allocations: 0 / 382.5 MB, free: 21.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.4886, allocations: 14.12 kB / 382.6 MB, free: 21.53 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.001379/0.49, allocations: 0.7163 MB / 383.3 MB, free: 21.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.49, allocations: 8.75 kB / 383.3 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.4902, allocations: 60.61 kB / 383.3 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.4907, allocations: 306.9 kB / 383.6 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.4907, allocations: 38.31 kB / 383.7 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.4908, allocations: 55.48 kB / 383.7 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000921/0.4918, allocations: 396.3 kB / 384.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.4918, allocations: 1.375 kB / 384.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/0.4919, allocations: 18.5 kB / 384.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.4919, allocations: 11 kB / 384.2 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009102/0.4928, allocations: 366.5 kB / 384.5 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.4959, allocations: 1.394 MB / 385.9 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009938/0.497, allocations: 497.5 kB / 386.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/0.4978, allocations: 328.3 kB / 386.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.959e-05/0.4978, allocations: 8.344 kB / 386.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.4979, allocations: 47.34 kB / 386.8 MB, free: 20.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.356e-06/0.4979, allocations: 0 / 386.8 MB, free: 20.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.007681/0.5056, allocations: 2.754 MB / 389.5 MB, free: 19.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.5057, allocations: 64.19 kB / 389.6 MB, free: 19.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.5059, allocations: 217.4 kB / 389.8 MB, free: 19.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.506, allocations: 40.61 kB / 389.8 MB, free: 19.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.487e-05/0.5061, allocations: 192.2 kB / 390 MB, free: 19.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.5063, allocations: 349.5 kB / 390.4 MB, free: 18.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.5064, allocations: 19.16 kB / 390.4 MB, free: 18.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.5065, allocations: 365.9 kB / 390.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/0.5071, allocations: 226.8 kB / 391 MB, free: 18.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.5077, allocations: 288.9 kB / 391.2 MB, free: 18.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005869/0.5083, allocations: 253.5 kB / 391.5 MB, free: 18.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.916e-06/0.5083, allocations: 0 / 391.5 MB, free: 18.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001465/0.5098, allocations: 0.6913 MB / 392.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.5098, allocations: 11.88 kB / 392.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.79e-06/0.5098, allocations: 0 / 392.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.5099, allocations: 3.875 kB / 392.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.5111, allocations: 217.4 kB / 392.4 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.5111, allocations: 3.938 kB / 392.4 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/0.5117, allocations: 60.22 kB / 392.5 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/0.5118, allocations: 34.05 kB / 392.5 MB, free: 18.52 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.0001749/0.5119, allocations: 157 kB / 392.7 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.5121, allocations: 62.36 kB / 392.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.5123, allocations: 73.48 kB / 392.8 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.5123, allocations: 7.812 kB / 392.8 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.5123, allocations: 3.906 kB / 392.8 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.5123, allocations: 6.75 kB / 392.8 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.5157, allocations: 1.889 MB / 394.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.5158, allocations: 3.938 kB / 394.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.517, allocations: 219.2 kB / 394.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/0.5171, allocations: 7.812 kB / 394.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/0.5171, allocations: 33.78 kB / 395 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.5172, allocations: 11.75 kB / 395 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.5172, allocations: 7.781 kB / 395 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.5194, allocations: 1.454 MB / 396.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.5196, allocations: 127.8 kB / 396.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5197, allocations: 26.2 kB / 396.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/0.5203, allocations: 62.47 kB / 396.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.5205, allocations: 77.53 kB / 396.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.701e-05/0.5206, allocations: 29.28 kB / 396.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.5208, allocations: 175.7 kB / 396.9 MB, free: 16.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.5208, allocations: 3.938 kB / 396.9 MB, free: 16.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006865/0.5215, allocations: 156.9 kB / 397.1 MB, free: 16.84 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.0001789/0.5217, allocations: 137.1 kB / 397.2 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.5229, allocations: 0.614 MB / 397.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.35e-06/0.523, allocations: 0 / 397.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007719/0.5238, allocations: 385.6 kB / 398.2 MB, free: 16.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008176/0.5246, allocations: 102.1 kB / 398.3 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.5271, allocations: 1.246 MB / 399.5 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.5275, allocations: 0.8851 MB / 400.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005531/0.5281, allocations: 76.22 kB / 400.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.5283, allocations: 53.59 kB / 400.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.67e-06/0.5284, allocations: 0 / 400.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of Templates: time 0.01529/0.5437, allocations: 5.733 MB / 406.3 MB, free: 14.84 MB / 314.7 MB