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_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 2.013/2.013, allocations: 194.9 MB / 211.2 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.135e-05, allocations: 4 kB / 258.8 MB, free: 8.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3437, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004634/0.3484, allocations: 2.724 MB / 306 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.3504, allocations: 0.8197 MB / 306.8 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.3507, allocations: 17.12 kB / 306.8 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.3508, allocations: 54.22 kB / 306.9 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.3513, allocations: 157.9 kB / 307 MB, free: 9.707 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.3518, allocations: 122.5 kB / 307.2 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000569/0.3524, allocations: 308.5 kB / 307.5 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.3526, allocations: 97.41 kB / 307.6 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.353, allocations: 175.9 kB / 307.7 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.3534, allocations: 211.3 kB / 307.9 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.3535, allocations: 24 kB / 308 MB, free: 8.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.138e-05/0.3536, allocations: 24 kB / 308 MB, free: 8.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.3537, allocations: 83.67 kB / 308.1 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.3539, allocations: 44 kB / 308.1 MB, free: 8.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.3545, allocations: 440.5 kB / 308.5 MB, free: 8.402 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3545, allocations: 0 / 308.5 MB, free: 8.402 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3545, allocations: 3.938 kB / 308.5 MB, free: 8.398 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.3545, allocations: 3.938 kB / 308.6 MB, free: 8.395 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.002306/0.3568, allocations: 0.7566 MB / 309.3 MB, free: 7.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3569, allocations: 8.031 kB / 309.3 MB, free: 7.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.3571, allocations: 59.3 kB / 309.4 MB, free: 7.523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.3576, allocations: 318.1 kB / 309.7 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/0.3577, allocations: 37 kB / 309.7 MB, free: 7.137 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.3578, allocations: 47.91 kB / 309.8 MB, free: 7.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.3594, allocations: 470.3 kB / 310.2 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.3594, allocations: 0 / 310.2 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.3595, allocations: 23.94 kB / 310.3 MB, free: 6.602 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.3595, allocations: 12 kB / 310.3 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.3614, allocations: 487.7 kB / 310.7 MB, free: 6.113 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.3651, allocations: 1.405 MB / 312.1 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.3668, allocations: 0.5415 MB / 312.7 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.98e-05/0.3669, allocations: 8.562 kB / 312.7 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.3669, allocations: 51.12 kB / 312.7 MB, free: 4.027 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 4.017e-06/0.3669, allocations: 0 / 312.7 MB, free: 4.027 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.01318/0.3801, allocations: 3.273 MB / 316 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.565e-05/0.3803, allocations: 64.41 kB / 316.1 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.3806, allocations: 222.1 kB / 316.3 MB, free: 384 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.3807, allocations: 45.64 kB / 316.3 MB, free: 332 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.3809, allocations: 247.7 kB / 316.6 MB, free: 80 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/0.3813, allocations: 355 kB / 316.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.3814, allocations: 20 kB / 316.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3816, allocations: 342.8 kB / 317.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.3827, allocations: 285.8 kB / 317.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.3838, allocations: 357.4 kB / 317.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.385, allocations: 315 kB / 318.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.385, allocations: 0 / 318.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002566/0.3876, allocations: 0.7939 MB / 319 MB, free: 13.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3876, allocations: 7.781 kB / 319 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.3876, allocations: 4 kB / 319 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.3877, allocations: 4 kB / 319 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.3893, allocations: 215.7 kB / 319.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.3893, allocations: 4 kB / 319.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.39, allocations: 67.95 kB / 319.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.3901, allocations: 28 kB / 319.3 MB, free: 13.29 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.0003568/0.3905, allocations: 193.6 kB / 319.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.3906, allocations: 55.39 kB / 319.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.3908, allocations: 73.39 kB / 319.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.3909, allocations: 8 kB / 319.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.3909, allocations: 3.938 kB / 319.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.3909, allocations: 3.984 kB / 319.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005124/0.396, allocations: 2.029 MB / 321.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.3961, allocations: 4.594 kB / 321.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.3977, allocations: 211.7 kB / 321.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/0.3978, allocations: 8 kB / 321.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.439e-05/0.3979, allocations: 35.94 kB / 322 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.608e-05/0.3979, allocations: 8 kB / 322 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.3979, allocations: 7.938 kB / 322 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/0.402, allocations: 1.63 MB / 323.6 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.4022, allocations: 132.4 kB / 323.7 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.4023, allocations: 20.06 kB / 323.7 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/0.4031, allocations: 67.95 kB / 323.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.4032, allocations: 68.81 kB / 323.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.4033, allocations: 39.98 kB / 323.9 MB, free: 8.371 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000242/0.4036, allocations: 174 kB / 324.1 MB, free: 8.203 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4036, allocations: 0 / 324.1 MB, free: 8.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007411/0.4044, allocations: 156 kB / 324.2 MB, free: 8.051 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.000207/0.4046, allocations: 127.1 kB / 324.4 MB, free: 7.918 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002474/0.4071, allocations: 0.7543 MB / 325.1 MB, free: 7.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4071, allocations: 0 / 325.1 MB, free: 7.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.4085, allocations: 462.7 kB / 325.6 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009439/0.4095, allocations: 100.3 kB / 325.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.4138, allocations: 1.862 MB / 327.5 MB, free: 4.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/0.4144, allocations: 0.8774 MB / 328.4 MB, free: 3.758 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.4148, allocations: 63.41 kB / 328.5 MB, free: 3.695 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4148, allocations: 0 / 328.5 MB, free: 3.695 MB / 266.7 MB Notification: Performance of Templates: time 0.01638/0.4312, allocations: 7.006 MB / 335.5 MB, free: 12.68 MB / 282.7 MB