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.911/1.911, allocations: 194.9 MB / 210.6 MB, free: 8.145 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.444e-05/2.464e-05, allocations: 0 / 258.8 MB, free: 7.867 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2876, allocations: 44.51 MB / 303.3 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004289/0.292, allocations: 2.72 MB / 306 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.2941, allocations: 0.8285 MB / 306.9 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.2944, allocations: 12 kB / 306.9 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.2945, allocations: 55.53 kB / 306.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.295, allocations: 159.5 kB / 307.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.2954, allocations: 107.9 kB / 307.2 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005453/0.296, allocations: 303.9 kB / 307.5 MB, free: 9.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.2963, allocations: 108.3 kB / 307.6 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.2966, allocations: 167.6 kB / 307.8 MB, free: 9 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.2969, allocations: 215.3 kB / 308 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.2971, allocations: 20 kB / 308 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-05/0.2971, allocations: 20 kB / 308 MB, free: 8.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.2973, allocations: 87.66 kB / 308.1 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.2974, allocations: 48 kB / 308.1 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000663/0.2981, allocations: 437 kB / 308.6 MB, free: 8.191 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2981, allocations: 0 / 308.6 MB, free: 8.191 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2981, allocations: 4 kB / 308.6 MB, free: 8.188 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.2982, allocations: 0 / 308.6 MB, free: 8.188 MB / 250.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.002276/0.3004, allocations: 0.7605 MB / 309.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3005, allocations: 16.03 kB / 309.3 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.3007, allocations: 59.3 kB / 309.4 MB, free: 7.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.3012, allocations: 314.1 kB / 309.7 MB, free: 6.957 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.3012, allocations: 33 kB / 309.7 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.3014, allocations: 47.91 kB / 309.8 MB, free: 6.879 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.3029, allocations: 474.2 kB / 310.3 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.3029, allocations: 4 kB / 310.3 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/0.303, allocations: 16 kB / 310.3 MB, free: 6.391 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.303, allocations: 8 kB / 310.3 MB, free: 6.383 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.3048, allocations: 495.7 kB / 310.8 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/0.3084, allocations: 1.398 MB / 312.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.3101, allocations: 0.5444 MB / 312.7 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.15e-05/0.3102, allocations: 16.55 kB / 312.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.3102, allocations: 39.12 kB / 312.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 4.819e-06/0.3102, allocations: 3.984 kB / 312.8 MB, free: 3.816 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.01307/0.3233, allocations: 3.274 MB / 316 MB, free: 472 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.3234, allocations: 72.33 kB / 316.1 MB, free: 388 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.3237, allocations: 218.1 kB / 316.3 MB, free: 164 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/0.3238, allocations: 41.7 kB / 316.4 MB, free: 116 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.324, allocations: 197.3 kB / 316.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.3244, allocations: 346.8 kB / 316.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.3244, allocations: 20 kB / 316.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3246, allocations: 358.8 kB / 317.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.3256, allocations: 289.8 kB / 317.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.3268, allocations: 361.4 kB / 317.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.3279, allocations: 318.9 kB / 318.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3279, allocations: 0 / 318.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002582/0.3305, allocations: 0.8094 MB / 319 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.3306, allocations: 7.953 kB / 319 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3306, allocations: 0 / 319 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.3306, allocations: 8 kB / 319 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.3322, allocations: 211.7 kB / 319.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.3322, allocations: 4 kB / 319.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/0.3329, allocations: 63.95 kB / 319.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/0.333, allocations: 31.98 kB / 319.3 MB, free: 13.09 MB / 266.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.0003329/0.3333, allocations: 197.6 kB / 319.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.3335, allocations: 55.34 kB / 319.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.3337, allocations: 77.34 kB / 319.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.3337, allocations: 12 kB / 319.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.3338, allocations: 0 / 319.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.3338, allocations: 7.922 kB / 319.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004872/0.3387, allocations: 2.014 MB / 321.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.3387, allocations: 8 kB / 321.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.3403, allocations: 212.2 kB / 321.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.841e-05/0.3403, allocations: 12 kB / 321.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.479e-05/0.3404, allocations: 27.98 kB / 322 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-05/0.3405, allocations: 19.89 kB / 322 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.3405, allocations: 7.938 kB / 322 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003929/0.3444, allocations: 1.634 MB / 323.6 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.3446, allocations: 128.5 kB / 323.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.3448, allocations: 24 kB / 323.8 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/0.3455, allocations: 59.95 kB / 323.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.3456, allocations: 76.81 kB / 323.9 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/0.3457, allocations: 35.98 kB / 323.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002427/0.346, allocations: 174 kB / 324.1 MB, free: 8 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.346, allocations: 0 / 324.1 MB, free: 8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007077/0.3467, allocations: 156 kB / 324.3 MB, free: 7.848 MB / 266.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.0001915/0.3469, allocations: 131.1 kB / 324.4 MB, free: 7.711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.3494, allocations: 0.7543 MB / 325.1 MB, free: 6.953 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.3495, allocations: 0 / 325.1 MB, free: 6.953 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.3509, allocations: 454.7 kB / 325.6 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.3519, allocations: 103.6 kB / 325.7 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.356, allocations: 1.817 MB / 327.5 MB, free: 4.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.3566, allocations: 0.8774 MB / 328.4 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000588/0.3572, allocations: 84.91 kB / 328.5 MB, free: 3.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.3575, allocations: 59.42 kB / 328.5 MB, free: 3.461 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3575, allocations: 0 / 328.5 MB, free: 3.461 MB / 266.7 MB Notification: Performance of Templates: time 0.01796/0.3754, allocations: 5.744 MB / 334.3 MB, free: 13.73 MB / 282.7 MB