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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 2.22/2.22, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.054e-05, allocations: 6.031 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09226, allocations: 50.42 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3628/0.4551, allocations: 79.24 MB / 422.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4553, allocations: 66.03 kB / 422.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03939/0.4947, allocations: 9.549 MB / 431.9 MB, free: 6.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.978e-06/0.4948, allocations: 0 / 431.9 MB, free: 6.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.4948, allocations: 12 kB / 431.9 MB, free: 6.875 MB / 346.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.001573/0.4964, allocations: 0.7274 MB / 432.7 MB, free: 6.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4965, allocations: 12.03 kB / 432.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.4966, allocations: 55.34 kB / 432.7 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005679/0.4972, allocations: 306.6 kB / 433 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.4973, allocations: 30.75 kB / 433.1 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.4974, allocations: 56.39 kB / 433.1 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009662/0.4984, allocations: 391.6 kB / 433.5 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.4984, allocations: 7.984 kB / 433.5 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.936e-05/0.4985, allocations: 18.75 kB / 433.5 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.4985, allocations: 12 kB / 433.5 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009305/0.4995, allocations: 367.6 kB / 433.9 MB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.5028, allocations: 1.399 MB / 435.3 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.5038, allocations: 490.7 kB / 435.8 MB, free: 3.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00088/0.5047, allocations: 329.2 kB / 436.1 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.914e-05/0.5048, allocations: 12.5 kB / 436.1 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.5049, allocations: 38.69 kB / 436.2 MB, free: 3.504 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.731e-06/0.5049, allocations: 0 / 436.2 MB, free: 3.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.008553/0.5134, allocations: 2.752 MB / 438.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.5135, allocations: 64.41 kB / 439 MB, free: 1.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.5139, allocations: 214.7 kB / 439.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/0.514, allocations: 44.02 kB / 439.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.5141, allocations: 197.2 kB / 439.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.5145, allocations: 346.6 kB / 439.8 MB, free: 492 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.5146, allocations: 16.44 kB / 439.8 MB, free: 488 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.5148, allocations: 370.4 kB / 440.1 MB, free: 132 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/0.5154, allocations: 224.5 kB / 440.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006314/0.516, allocations: 293.5 kB / 440.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006311/0.5167, allocations: 253.6 kB / 440.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.145e-06/0.5167, allocations: 3.938 kB / 440.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00156/0.5183, allocations: 0.6862 MB / 441.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.5183, allocations: 12.06 kB / 441.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.03e-06/0.5183, allocations: 0 / 441.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.5183, allocations: 4 kB / 441.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.5195, allocations: 218.9 kB / 441.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.5196, allocations: 4 kB / 441.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.5201, allocations: 59.33 kB / 441.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.233e-05/0.5202, allocations: 30.55 kB / 441.9 MB, free: 14.84 MB / 362.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.0002117/0.5204, allocations: 159.3 kB / 442 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.5206, allocations: 59.34 kB / 442.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.5207, allocations: 76.08 kB / 442.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.5208, allocations: 8 kB / 442.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.917e-06/0.5208, allocations: 0 / 442.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.5208, allocations: 3.984 kB / 442.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/0.5248, allocations: 1.892 MB / 444.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.5248, allocations: 7.938 kB / 444.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.526, allocations: 209.7 kB / 444.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.168e-05/0.526, allocations: 12 kB / 444.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/0.5261, allocations: 29.55 kB / 444.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.437e-05/0.5262, allocations: 8 kB / 444.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/0.5262, allocations: 11.94 kB / 444.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.5288, allocations: 1.458 MB / 445.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.529, allocations: 124.5 kB / 445.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.5291, allocations: 20.06 kB / 446 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/0.5297, allocations: 67.95 kB / 446 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.5299, allocations: 76.58 kB / 446.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/0.53, allocations: 32 kB / 446.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002519/0.5303, allocations: 171.1 kB / 446.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.216e-06/0.5303, allocations: 0 / 446.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007507/0.531, allocations: 163.9 kB / 446.5 MB, free: 10.82 MB / 362.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.0002311/0.5313, allocations: 135 kB / 446.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.5328, allocations: 0.6166 MB / 447.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.16e-06/0.5328, allocations: 4 kB / 447.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000883/0.5337, allocations: 390.6 kB / 447.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008294/0.5346, allocations: 106.7 kB / 447.7 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.5375, allocations: 1.252 MB / 448.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/0.5382, allocations: 0.8809 MB / 449.8 MB, free: 7.328 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005419/0.5388, allocations: 76.92 kB / 449.9 MB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.539, allocations: 55.42 kB / 450 MB, free: 7.195 MB / 362.7 MB Notification: Performance of SimCode: time 1.874e-06/0.539, allocations: 0 / 450 MB, free: 7.195 MB / 362.7 MB Notification: Performance of Templates: time 0.01735/0.5564, allocations: 5.727 MB / 455.7 MB, free: 1.504 MB / 362.7 MB