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_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 2.099/2.099, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.329e-05, allocations: 0 / 292.1 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09092, allocations: 50.41 MB / 342.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4503, allocations: 79.24 MB / 421.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.4505, allocations: 67.84 kB / 421.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03934/0.4899, allocations: 9.547 MB / 431.4 MB, free: 6.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.148e-06/0.4899, allocations: 0 / 431.4 MB, free: 6.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.412e-05/0.49, allocations: 12 kB / 431.4 MB, free: 6.844 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.001567/0.4916, allocations: 0.7249 MB / 432.1 MB, free: 6.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.4916, allocations: 8.031 kB / 432.1 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.4918, allocations: 55.34 kB / 432.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.4923, allocations: 305.3 kB / 432.5 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.4924, allocations: 39.5 kB / 432.5 MB, free: 5.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.4925, allocations: 49.84 kB / 432.6 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009581/0.4935, allocations: 402.6 kB / 433 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.4935, allocations: 0 / 433 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.4936, allocations: 20.81 kB / 433 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.4936, allocations: 12 kB / 433 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009227/0.4945, allocations: 369.7 kB / 433.4 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003243/0.4978, allocations: 1.399 MB / 434.8 MB, free: 4.055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.4988, allocations: 484.7 kB / 435.2 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008345/0.4997, allocations: 334.9 kB / 435.6 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.724e-05/0.4998, allocations: 12.55 kB / 435.6 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.4998, allocations: 42.81 kB / 435.6 MB, free: 3.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 3.807e-06/0.4998, allocations: 0 / 435.6 MB, free: 3.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.008323/0.5082, allocations: 2.747 MB / 438.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.5083, allocations: 64.41 kB / 438.4 MB, free: 1.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.5086, allocations: 215.4 kB / 438.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/0.5087, allocations: 42.77 kB / 438.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.5089, allocations: 203.2 kB / 438.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/0.5092, allocations: 349.3 kB / 439.2 MB, free: 456 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.5093, allocations: 18.56 kB / 439.2 MB, free: 452 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.5095, allocations: 360.1 kB / 439.6 MB, free: 104 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005839/0.5101, allocations: 225 kB / 439.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.5108, allocations: 294.1 kB / 440.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.5114, allocations: 254.1 kB / 440.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.321e-06/0.5115, allocations: 7.938 kB / 440.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001583/0.5131, allocations: 0.6836 MB / 441 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.5131, allocations: 4 kB / 441.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.5131, allocations: 4 kB / 441.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.5132, allocations: 4 kB / 441.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.5144, allocations: 222.8 kB / 441.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.5144, allocations: 4 kB / 441.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.5149, allocations: 57.95 kB / 441.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/0.515, allocations: 34.86 kB / 441.4 MB, free: 14.8 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.0002088/0.5153, allocations: 154 kB / 441.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.5154, allocations: 55.34 kB / 441.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.5156, allocations: 74.64 kB / 441.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.5157, allocations: 8 kB / 441.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.5157, allocations: 4 kB / 441.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.5157, allocations: 3.984 kB / 441.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00397/0.5197, allocations: 1.894 MB / 443.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.5197, allocations: 8.094 kB / 443.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.521, allocations: 210.5 kB / 443.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.34e-05/0.521, allocations: 12 kB / 443.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.355e-05/0.5211, allocations: 24.98 kB / 443.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.396e-05/0.5211, allocations: 8 kB / 443.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.5212, allocations: 11.94 kB / 443.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.5238, allocations: 1.459 MB / 445.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.524, allocations: 128.5 kB / 445.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5241, allocations: 20 kB / 445.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005896/0.5247, allocations: 63.95 kB / 445.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.5249, allocations: 76.58 kB / 445.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.168e-05/0.525, allocations: 28 kB / 445.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002548/0.5253, allocations: 179.1 kB / 445.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.694e-06/0.5253, allocations: 0 / 445.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007392/0.5261, allocations: 163.9 kB / 445.9 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.0002267/0.5263, allocations: 142.9 kB / 446.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.5278, allocations: 0.6127 MB / 446.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.393e-06/0.5279, allocations: 0 / 446.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008977/0.5288, allocations: 391.6 kB / 447.1 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.0008691/0.5296, allocations: 101.8 kB / 447.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.5327, allocations: 1.259 MB / 448.4 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.5334, allocations: 0.877 MB / 449.3 MB, free: 7.328 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005279/0.534, allocations: 76.92 kB / 449.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.5342, allocations: 55.42 kB / 449.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of SimCode: time 1.782e-06/0.5342, allocations: 4 kB / 449.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of Templates: time 0.01753/0.5518, allocations: 5.73 MB / 455.2 MB, free: 1.5 MB / 362.7 MB