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_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.292e-05/5.322e-05, allocations: 4 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2865, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.3953, allocations: 68.2 MB / 332 MB, free: 5.516 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.3956, allocations: 71.95 kB / 332.1 MB, free: 5.445 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03776/0.4334, allocations: 9.121 MB / 341.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4334, allocations: 0 / 341.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.086e-05/0.4335, allocations: 8 kB / 341.2 MB, free: 12.28 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.001511/0.435, allocations: 0.7182 MB / 341.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.4351, allocations: 8.031 kB / 341.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.4352, allocations: 59.33 kB / 342 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.4357, allocations: 302.2 kB / 342.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/0.4358, allocations: 40.94 kB / 342.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.4359, allocations: 51.91 kB / 342.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009702/0.4369, allocations: 400.5 kB / 342.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.437, allocations: 0 / 342.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.4371, allocations: 20 kB / 342.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.4371, allocations: 12 kB / 342.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009368/0.438, allocations: 361.9 kB / 343.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.4413, allocations: 1.394 MB / 344.5 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.4424, allocations: 492.5 kB / 345 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008148/0.4433, allocations: 343.1 kB / 345.3 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.335e-05/0.4433, allocations: 8.562 kB / 345.3 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.4434, allocations: 39.12 kB / 345.4 MB, free: 7.902 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 3.8e-06/0.4434, allocations: 0 / 345.4 MB, free: 7.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.008198/0.4516, allocations: 2.759 MB / 348.1 MB, free: 5.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.4517, allocations: 68.39 kB / 348.2 MB, free: 4.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.4521, allocations: 219.4 kB / 348.4 MB, free: 4.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.4522, allocations: 41.7 kB / 348.5 MB, free: 4.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.4523, allocations: 197.3 kB / 348.7 MB, free: 4.512 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/0.4527, allocations: 346.8 kB / 349 MB, free: 4.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.4528, allocations: 20 kB / 349 MB, free: 4.148 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.453, allocations: 362.8 kB / 349.4 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005788/0.4536, allocations: 229.9 kB / 349.6 MB, free: 3.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/0.4543, allocations: 287.5 kB / 349.9 MB, free: 3.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006565/0.4549, allocations: 256.9 kB / 350.1 MB, free: 3.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.811e-06/0.455, allocations: 0 / 350.1 MB, free: 3.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001637/0.4566, allocations: 0.6922 MB / 350.8 MB, free: 2.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.4567, allocations: 8 kB / 350.8 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.561e-06/0.4567, allocations: 0 / 350.8 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.4567, allocations: 4 kB / 350.8 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.4579, allocations: 223.6 kB / 351 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.4579, allocations: 4 kB / 351 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.4584, allocations: 59.94 kB / 351.1 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.261e-05/0.4585, allocations: 31.98 kB / 351.1 MB, free: 1.996 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.0002225/0.4588, allocations: 145.5 kB / 351.3 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.4589, allocations: 67.22 kB / 351.3 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.4591, allocations: 73.39 kB / 351.4 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.4592, allocations: 8 kB / 351.4 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.4592, allocations: 3.953 kB / 351.4 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.4592, allocations: 3.984 kB / 351.4 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004008/0.4632, allocations: 1.9 MB / 353.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.4633, allocations: 4 kB / 353.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.4645, allocations: 220.3 kB / 353.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.952e-05/0.4645, allocations: 8 kB / 353.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-05/0.4646, allocations: 20 kB / 353.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.959e-05/0.4646, allocations: 15.98 kB / 353.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.017e-06/0.4646, allocations: 7.938 kB / 353.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.4673, allocations: 1.45 MB / 355.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/0.4676, allocations: 180.4 kB / 355.2 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.4678, allocations: 24 kB / 355.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/0.4683, allocations: 67.91 kB / 355.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.4685, allocations: 76.58 kB / 355.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.4686, allocations: 32 kB / 355.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002422/0.4689, allocations: 171.1 kB / 355.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.4689, allocations: 0 / 355.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007213/0.4696, allocations: 160 kB / 355.7 MB, free: 13.06 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.000225/0.4698, allocations: 142.8 kB / 355.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.4713, allocations: 0.6166 MB / 356.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.33e-06/0.4713, allocations: 0 / 356.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008566/0.4722, allocations: 386.6 kB / 356.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.473, allocations: 102.1 kB / 357 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.4758, allocations: 1.252 MB / 358.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/0.4765, allocations: 0.8809 MB / 359.1 MB, free: 9.574 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005057/0.477, allocations: 76.92 kB / 359.2 MB, free: 9.496 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.4773, allocations: 55.42 kB / 359.2 MB, free: 9.441 MB / 314.7 MB Notification: Performance of SimCode: time 2.13e-06/0.4773, allocations: 0 / 359.2 MB, free: 9.441 MB / 314.7 MB Notification: Performance of Templates: time 0.01772/0.495, allocations: 5.727 MB / 365 MB, free: 3.73 MB / 314.7 MB