Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadModel(ModelicaTest): time 2.329/2.329, allocations: 234.9 MB / 250.1 MB, free: 10 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.843e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3781, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.1064/0.4845, allocations: 68.97 MB / 431.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04368/0.5282, allocations: 14.48 MB / 446.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01707/0.5454, allocations: 363.2 kB / 446.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01307/0.5585, allocations: 3.647 MB / 450.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0377/0.5963, allocations: 9.637 MB / 459.9 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006573/0.6029, allocations: 1.022 MB / 461 MB, free: 11.46 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009014/0.612, allocations: 2.866 MB / 463.8 MB, free: 8.586 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01667/0.6287, allocations: 7.678 MB / 471.5 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003877/0.6326, allocations: 1.375 MB / 472.9 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005387/0.638, allocations: 2.33 MB / 475.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.6416, allocations: 0.7803 MB / 476 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001948/0.6436, allocations: 200 kB / 476.2 MB, free: 12.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004997/0.6486, allocations: 2.673 MB / 478.9 MB, free: 9.488 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002627/0.6513, allocations: 464 kB / 479.3 MB, free: 9.035 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01541/0.6667, allocations: 9.313 MB / 488.6 MB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6668, allocations: 0 / 488.6 MB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6668, allocations: 0 / 488.6 MB, free: 15.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004522/0.6673, allocations: 3.938 kB / 488.6 MB, free: 15.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02091/0.6882, allocations: 6.454 MB / 495.1 MB, free: 9.164 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.6882, allocations: 8.031 kB / 495.1 MB, free: 9.156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02383/0.7121, allocations: 3.266 MB / 498.4 MB, free: 5.875 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.7254, allocations: 4.362 MB / 0.4909 GB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006928/0.7261, allocations: 451.4 kB / 0.4914 GB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003056/0.7292, allocations: 0.5739 MB / 0.4919 GB, free: 448 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7064/1.436, allocations: 21.44 MB / 0.5129 GB, free: 107.2 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003114/1.436, allocations: 77.05 kB / 0.5129 GB, free: 107.1 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001908/1.438, allocations: 278.9 kB / 0.5132 GB, free: 106.9 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009958/1.448, allocations: 3.53 MB / 0.5167 GB, free: 103.4 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06563/1.514, allocations: 17.41 MB / 0.5337 GB, free: 86.01 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1366/1.65, allocations: 70.17 MB / 0.6022 GB, free: 14.69 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1157/1.766, allocations: 14.49 MB / 0.6163 GB, free: 48 kB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03736/1.803, allocations: 14.36 MB / 0.6304 GB, free: 1.473 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.547e-05/1.804, allocations: 60.5 kB / 0.6304 GB, free: 1.406 MB / 442.8 MB Notification: Performance of pre-optimization done (n=284): time 6.282e-06/1.804, allocations: 0 / 0.6304 GB, free: 1.406 MB / 442.8 MB Notification: Performance of matching and sorting (n=320): time 0.332/2.136, allocations: 43.61 MB / 0.673 GB, free: 5.523 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/2.136, allocations: 166.5 kB / 0.6732 GB, free: 5.328 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3653/2.501, allocations: 5.674 MB / 0.6787 GB, free: 168.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008284/2.502, allocations: 74.75 kB / 0.6788 GB, free: 168.7 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005175/2.507, allocations: 5.032 MB / 0.6837 GB, free: 165.9 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002347/2.51, allocations: 1.218 MB / 0.6849 GB, free: 165.1 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00159/2.511, allocations: 196 kB / 0.6851 GB, free: 164.9 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000969/2.512, allocations: 0.7149 MB / 0.6858 GB, free: 164.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01123/2.524, allocations: 3.255 MB / 0.6889 GB, free: 163.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01426/2.538, allocations: 9.009 MB / 0.6977 GB, free: 154.6 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/2.552, allocations: 5.172 MB / 0.7028 GB, free: 152.6 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002012/2.553, allocations: 62.62 kB / 0.7029 GB, free: 152.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.03591/2.588, allocations: 11.96 MB / 0.7145 GB, free: 148.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001656/2.589, allocations: 98.88 kB / 0.7146 GB, free: 148.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003484/2.589, allocations: 203.9 kB / 0.7148 GB, free: 148.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/2.591, allocations: 0.5349 MB / 0.7153 GB, free: 148 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01594/2.606, allocations: 2.378 MB / 0.7177 GB, free: 146.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00434/2.611, allocations: 2.721 MB / 0.7203 GB, free: 143.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/2.622, allocations: 0.5369 MB / 0.7208 GB, free: 143.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001946/2.624, allocations: 0.5701 MB / 0.7214 GB, free: 142.8 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * Number of states: 0 () * Number of discrete variables: 69 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1239): * Single equations (assignments): 1235 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008748/2.632, allocations: 3.32 MB / 0.7246 GB, free: 139.8 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/2.634, allocations: 0.5456 MB / 0.7252 GB, free: 139.3 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/2.648, allocations: 4.384 MB / 0.7295 GB, free: 134.9 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-05/2.648, allocations: 36 kB / 0.7295 GB, free: 134.9 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/2.648, allocations: 0 / 0.7295 GB, free: 134.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.452e-05/2.648, allocations: 15.94 kB / 0.7295 GB, free: 134.9 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0404/2.688, allocations: 13.52 MB / 0.7427 GB, free: 120.9 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.735e-05/2.688, allocations: 28 kB / 0.7427 GB, free: 120.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005278/2.694, allocations: 0.6211 MB / 0.7433 GB, free: 120.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-05/2.694, allocations: 48 kB / 0.7434 GB, free: 120.2 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004842/2.694, allocations: 88.53 kB / 0.7435 GB, free: 120.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.702e-05/2.694, allocations: 67.67 kB / 0.7435 GB, free: 120.1 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.647e-05/2.694, allocations: 43.81 kB / 0.7436 GB, free: 120 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/2.716, allocations: 11.53 MB / 0.7548 GB, free: 107 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003174/2.719, allocations: 0.8725 MB / 0.7557 GB, free: 106.1 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001746/2.721, allocations: 93.94 kB / 0.7558 GB, free: 106 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004696/2.726, allocations: 163.9 kB / 0.7559 GB, free: 105.8 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007481/2.726, allocations: 269.2 kB / 0.7562 GB, free: 105.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002805/2.727, allocations: 124.5 kB / 0.7563 GB, free: 105.5 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.009849/2.737, allocations: 3.971 MB / 0.7602 GB, free: 101.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.21e-07/2.737, allocations: 3.938 kB / 0.7602 GB, free: 101.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01081/2.748, allocations: 1.589 MB / 0.7617 GB, free: 99.9 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 123 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 302 * Array equations: 3 * 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.001256/2.749, allocations: 270.9 kB / 0.762 GB, free: 99.63 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01891/2.768, allocations: 7.201 MB / 0.769 GB, free: 92.46 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.537e-05/2.768, allocations: 4 kB / 0.769 GB, free: 92.45 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004528/2.772, allocations: 1.663 MB / 0.7707 GB, free: 90.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005291/2.778, allocations: 0.6917 MB / 0.7713 GB, free: 90.11 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04269/2.82, allocations: 19.39 MB / 0.7903 GB, free: 70.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01067/2.831, allocations: 5.252 MB / 0.7954 GB, free: 65 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002642/2.834, allocations: 487.4 kB / 0.7959 GB, free: 64.52 MB / 490.8 MB Notification: Performance of SimCode: time 1.272e-06/2.834, allocations: 3.938 kB / 0.7959 GB, free: 64.52 MB / 490.8 MB Notification: Performance of Templates: time 0.5348/3.369, allocations: 103.1 MB / 0.8966 GB, free: 118.7 MB / 490.8 MB