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.1_cpp_ModelicaTest.Translational.AllComponents") Notification: Performance of loadModel(ModelicaTest): time 2.203/2.203, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.344e-05, allocations: 3.938 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.37, allocations: 48.7 MB / 324.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005173/0.3753, allocations: 3.194 MB / 328 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.3782, allocations: 0.9987 MB / 329 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006247/0.3789, allocations: 19.03 kB / 329.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.3791, allocations: 68.05 kB / 329.1 MB, free: 496 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007646/0.3799, allocations: 215.4 kB / 329.3 MB, free: 320 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.3806, allocations: 140.4 kB / 329.5 MB, free: 236 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.3819, allocations: 415 kB / 329.9 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.3824, allocations: 127.3 kB / 330 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006399/0.383, allocations: 224.6 kB / 330.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006123/0.3837, allocations: 267.1 kB / 330.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.384, allocations: 47.11 kB / 330.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.3841, allocations: 29.7 kB / 330.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.3843, allocations: 101.8 kB / 330.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.3845, allocations: 62.53 kB / 330.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.3856, allocations: 0.5399 MB / 331.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3857, allocations: 0 / 331.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.948e-06/0.3857, allocations: 1.797 kB / 331.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.3857, allocations: 0 / 331.3 MB, free: 15.57 MB / 282.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.002863/0.3886, allocations: 0.8655 MB / 332.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3887, allocations: 8.156 kB / 332.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003377/0.389, allocations: 78.94 kB / 332.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008559/0.3899, allocations: 386.7 kB / 332.6 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.39, allocations: 44.62 kB / 332.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.3902, allocations: 71.72 kB / 332.7 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.3922, allocations: 0.6232 MB / 333.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-05/0.3923, allocations: 10.47 kB / 333.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/0.3924, allocations: 24.62 kB / 333.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.3924, allocations: 14.56 kB / 333.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.3947, allocations: 0.5662 MB / 333.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005894/0.4006, allocations: 2.034 MB / 336 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.403, allocations: 0.673 MB / 336.6 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.4032, allocations: 14.34 kB / 336.7 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.4033, allocations: 48.2 kB / 336.7 MB, free: 12.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=82): time 4.529e-06/0.4033, allocations: 0 / 336.7 MB, free: 12.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=115): time 0.0152/0.4185, allocations: 4.55 MB / 341.3 MB, free: 9.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.4187, allocations: 171.4 kB / 341.4 MB, free: 9.367 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000653/0.4193, allocations: 328.8 kB / 341.7 MB, free: 9.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.4195, allocations: 46.02 kB / 341.8 MB, free: 9.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.4198, allocations: 305.9 kB / 342.1 MB, free: 8.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000541/0.4204, allocations: 410.1 kB / 342.5 MB, free: 8.559 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.4204, allocations: 20.28 kB / 342.5 MB, free: 8.543 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.4207, allocations: 354.5 kB / 342.9 MB, free: 8.211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.422, allocations: 346.2 kB / 343.2 MB, free: 8.074 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.4236, allocations: 0.5154 MB / 343.7 MB, free: 7.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.4251, allocations: 406.5 kB / 344.1 MB, free: 7.516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.4252, allocations: 1.438 kB / 344.1 MB, free: 7.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003602/0.4288, allocations: 1.022 MB / 345.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.4289, allocations: 6.875 kB / 345.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.4289, allocations: 10.64 kB / 345.1 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/0.4289, allocations: 11 kB / 345.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/0.4312, allocations: 296.5 kB / 345.4 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.406e-05/0.4313, allocations: 18.67 kB / 345.5 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.4324, allocations: 55.03 kB / 345.5 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.4326, allocations: 46.92 kB / 345.6 MB, free: 6.918 MB / 282.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.0006402/0.4332, allocations: 237 kB / 345.8 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003493/0.4336, allocations: 72.31 kB / 345.9 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.4348, allocations: 317.7 kB / 346.2 MB, free: 6.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/0.4348, allocations: 18.14 kB / 346.2 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.569e-05/0.4348, allocations: 1.406 kB / 346.2 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/0.4349, allocations: 5.359 kB / 346.2 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007006/0.4419, allocations: 2.455 MB / 348.7 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/0.4419, allocations: 7.094 kB / 348.7 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002306/0.4443, allocations: 263.6 kB / 348.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.563e-05/0.4443, allocations: 7.188 kB / 348.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/0.4445, allocations: 34.48 kB / 349 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.526e-05/0.4445, allocations: 7.219 kB / 349 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.4446, allocations: 3.812 kB / 349 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005221/0.4498, allocations: 1.981 MB / 351 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000717/0.4506, allocations: 204.7 kB / 351.2 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.4508, allocations: 25.94 kB / 351.2 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.4518, allocations: 60.67 kB / 351.2 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.4521, allocations: 82.5 kB / 351.3 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-05/0.4522, allocations: 32.59 kB / 351.3 MB, free: 2.992 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004584/0.4527, allocations: 260.5 kB / 351.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4527, allocations: 0 / 351.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001352/0.454, allocations: 201.4 kB / 351.8 MB, free: 2.789 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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.0003123/0.4544, allocations: 141.5 kB / 351.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003265/0.4577, allocations: 0.8822 MB / 352.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.4577, allocations: 1.375 kB / 352.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.4596, allocations: 0.5012 MB / 353.3 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.4612, allocations: 111.1 kB / 353.4 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006624/0.4678, allocations: 2.673 MB / 356.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007707/0.4687, allocations: 0.9646 MB / 357.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/0.4693, allocations: 75.41 kB / 357.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4693, allocations: 0 / 357.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of Templates: time 0.02309/0.4924, allocations: 8.839 MB / 366 MB, free: 5.301 MB / 298.7 MB