Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Translational.AllComponents") Notification: Performance of loadModel(ModelicaTest): time 2.505/2.505, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.936e-05, allocations: 0 / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.39, allocations: 54.85 MB / 362.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.008852/0.3989, allocations: 3.186 MB / 366 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004444/0.4035, allocations: 1.008 MB / 367 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008893/0.4044, allocations: 18.47 kB / 367 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.4049, allocations: 62.8 kB / 367.1 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.4065, allocations: 214.8 kB / 367.3 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.4077, allocations: 135.8 kB / 367.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001961/0.4097, allocations: 415.4 kB / 367.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005724/0.4103, allocations: 125.9 kB / 368 MB, free: 7.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009975/0.4113, allocations: 220.4 kB / 368.2 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009924/0.4124, allocations: 262 kB / 368.5 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005384/0.413, allocations: 53.42 kB / 368.5 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.4133, allocations: 24.72 kB / 368.5 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.4135, allocations: 104.7 kB / 368.6 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.414, allocations: 62.19 kB / 368.7 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.4157, allocations: 0.5346 MB / 369.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4157, allocations: 0 / 369.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.208e-06/0.4158, allocations: 0 / 369.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.123e-05/0.4158, allocations: 0 / 369.2 MB, free: 7.199 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00423/0.4201, allocations: 0.8681 MB / 370.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.799e-05/0.4202, allocations: 8.906 kB / 370.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004967/0.4207, allocations: 75.91 kB / 370.2 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.4221, allocations: 380.8 kB / 370.5 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.4223, allocations: 45.31 kB / 370.6 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002916/0.4226, allocations: 63.91 kB / 370.7 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003405/0.426, allocations: 0.6304 MB / 371.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.4262, allocations: 19.77 kB / 371.3 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.4264, allocations: 23.94 kB / 371.3 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.4264, allocations: 16 kB / 371.3 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/0.4301, allocations: 0.5684 MB / 371.9 MB, free: 4.641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005692/0.4358, allocations: 2.176 MB / 374.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.438, allocations: 0.711 MB / 374.8 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/0.4383, allocations: 93.84 kB / 374.9 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.4383, allocations: 58.92 kB / 374.9 MB, free: 1.398 MB / 298.7 MB Notification: Performance of pre-optimization done (n=82): time 3.987e-06/0.4384, allocations: 0 / 374.9 MB, free: 1.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.01481/0.4532, allocations: 4.615 MB / 379.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.4534, allocations: 226.1 kB / 379.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005769/0.454, allocations: 321.2 kB / 380.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.4541, allocations: 45.7 kB / 380.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.4544, allocations: 303.4 kB / 380.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005492/0.455, allocations: 410 kB / 380.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.4551, allocations: 20 kB / 380.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.4553, allocations: 358.7 kB / 381.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.4566, allocations: 330.4 kB / 381.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.4582, allocations: 0.5177 MB / 382.1 MB, free: 9.793 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.4598, allocations: 407 kB / 382.4 MB, free: 9.395 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.4598, allocations: 4 kB / 382.5 MB, free: 9.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003431/0.4633, allocations: 1.008 MB / 383.5 MB, free: 8.375 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.4633, allocations: 4 kB / 383.5 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.4634, allocations: 8 kB / 383.5 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/0.4634, allocations: 8 kB / 383.5 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.4655, allocations: 291.8 kB / 383.8 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-05/0.4656, allocations: 19.94 kB / 383.8 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008793/0.4665, allocations: 59.97 kB / 383.8 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.4666, allocations: 39.98 kB / 383.9 MB, free: 7.953 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0004892/0.4671, allocations: 229.5 kB / 384.1 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.4674, allocations: 75.16 kB / 384.2 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.4681, allocations: 222.8 kB / 384.4 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.4682, allocations: 12 kB / 384.4 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.4682, allocations: 7.984 kB / 384.4 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.4682, allocations: 3.984 kB / 384.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/0.4745, allocations: 2.382 MB / 386.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.4746, allocations: 4.266 kB / 386.8 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/0.477, allocations: 255.7 kB / 387.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-05/0.477, allocations: 12.3 kB / 387.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.4772, allocations: 43.92 kB / 387.1 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.901e-05/0.4772, allocations: 8 kB / 387.1 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.4772, allocations: 8.016 kB / 387.1 MB, free: 4.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00481/0.482, allocations: 2.121 MB / 389.2 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/0.4826, allocations: 200.2 kB / 389.4 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.4827, allocations: 23.98 kB / 389.5 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.4838, allocations: 55.97 kB / 389.5 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/0.4841, allocations: 88.34 kB / 389.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.4842, allocations: 35.98 kB / 389.6 MB, free: 1.922 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004015/0.4846, allocations: 247.2 kB / 389.9 MB, free: 1.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4846, allocations: 0 / 389.9 MB, free: 1.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001217/0.4858, allocations: 192 kB / 390.1 MB, free: 1.492 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.0002701/0.4861, allocations: 139.1 kB / 390.2 MB, free: 1.348 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002966/0.4891, allocations: 0.8743 MB / 391.1 MB, free: 488 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.4892, allocations: 4 kB / 391.1 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.4909, allocations: 0.4993 MB / 391.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.4931, allocations: 112.4 kB / 391.7 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007083/0.5002, allocations: 2.647 MB / 394.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/0.5011, allocations: 0.9568 MB / 395.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/0.5016, allocations: 71.42 kB / 395.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of SimCode: time 1.623e-06/0.5016, allocations: 4 kB / 395.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of Templates: time 0.0222/0.5238, allocations: 8.636 MB / 404 MB, free: 3.449 MB / 330.7 MB