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.3_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.205e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09056, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4088/0.4994, allocations: 77.87 MB / 394.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.4996, allocations: 71.66 kB / 394.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04409/0.5438, allocations: 9.284 MB / 404.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.032e-06/0.5438, allocations: 0 / 404.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.861e-05/0.5438, allocations: 8 kB / 404.2 MB, free: 2.395 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.001527/0.5454, allocations: 0.7176 MB / 404.9 MB, free: 1.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.5454, allocations: 11.97 kB / 404.9 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.5456, allocations: 55.34 kB / 404.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.5461, allocations: 316.9 kB / 405.3 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.5462, allocations: 37.62 kB / 405.3 MB, free: 1.258 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-05/0.5463, allocations: 41.62 kB / 405.3 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009112/0.5472, allocations: 394.4 kB / 405.7 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.5472, allocations: 8 kB / 405.7 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.5473, allocations: 21.06 kB / 405.7 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.5473, allocations: 12 kB / 405.8 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009105/0.5483, allocations: 360.6 kB / 406.1 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/0.5515, allocations: 1.392 MB / 407.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.5526, allocations: 496.6 kB / 408 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007783/0.5534, allocations: 326.9 kB / 408.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.692e-05/0.5534, allocations: 11.44 kB / 408.3 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.5535, allocations: 42.69 kB / 408.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 4.19e-06/0.5535, allocations: 0 / 408.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=103): time 0.007982/0.5615, allocations: 2.76 MB / 411.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.5616, allocations: 60.41 kB / 411.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.5619, allocations: 226.2 kB / 411.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.562, allocations: 41.45 kB / 411.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.5622, allocations: 191.1 kB / 411.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.5625, allocations: 352.7 kB / 412 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.5626, allocations: 18.44 kB / 412 MB, free: 11.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.5628, allocations: 367.1 kB / 412.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005462/0.5634, allocations: 221.7 kB / 412.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/0.564, allocations: 294 kB / 412.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/0.5647, allocations: 255 kB / 413.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.564e-06/0.5647, allocations: 0 / 413.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001543/0.5662, allocations: 0.6843 MB / 413.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.5663, allocations: 8.062 kB / 413.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.94e-06/0.5663, allocations: 0 / 413.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.5663, allocations: 7.953 kB / 413.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.5675, allocations: 218.4 kB / 414 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.5675, allocations: 7.984 kB / 414 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.568, allocations: 63.41 kB / 414.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/0.5681, allocations: 31.23 kB / 414.1 MB, free: 10.34 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.000212/0.5683, allocations: 152.4 kB / 414.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.5685, allocations: 55.34 kB / 414.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.5687, allocations: 79.27 kB / 414.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.5687, allocations: 15.94 kB / 414.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.5687, allocations: 3.953 kB / 414.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.5687, allocations: 3.984 kB / 414.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.5725, allocations: 1.881 MB / 416.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.5726, allocations: 4 kB / 416.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.5737, allocations: 218.9 kB / 416.5 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.55e-05/0.5738, allocations: 8 kB / 416.5 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.41e-05/0.5739, allocations: 29.86 kB / 416.5 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.768e-05/0.5739, allocations: 11.94 kB / 416.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.5739, allocations: 7.984 kB / 416.6 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.5766, allocations: 1.457 MB / 418 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.5768, allocations: 124.5 kB / 418.1 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.5769, allocations: 38.81 kB / 418.2 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.5775, allocations: 60.78 kB / 418.2 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.5777, allocations: 76.45 kB / 418.3 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.473e-05/0.5778, allocations: 27.88 kB / 418.3 MB, free: 6.734 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002351/0.578, allocations: 177.1 kB / 418.5 MB, free: 6.586 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.578, allocations: 0 / 418.5 MB, free: 6.586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007273/0.5788, allocations: 153.2 kB / 418.7 MB, free: 6.461 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.0002237/0.579, allocations: 148.5 kB / 418.8 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.5804, allocations: 0.617 MB / 419.4 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.812e-06/0.5804, allocations: 0 / 419.4 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008159/0.5812, allocations: 386.7 kB / 419.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007851/0.582, allocations: 109.9 kB / 419.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.5849, allocations: 1.247 MB / 421.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.5856, allocations: 0.8809 MB / 422 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005016/0.5861, allocations: 76.92 kB / 422.1 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.5863, allocations: 55.42 kB / 422.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of SimCode: time 1.971e-06/0.5863, allocations: 0 / 422.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of Templates: time 0.01733/0.6037, allocations: 5.72 MB / 427.9 MB, free: 13.62 MB / 346.7 MB