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.1_cpp_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadModel(ModelicaTest): time 2.134/2.134, allocations: 209.3 MB / 224.4 MB, free: 0.6641 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.495e-05, allocations: 4 kB / 276.1 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3518, allocations: 48.7 MB / 324.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.1099/0.4617, allocations: 68.97 MB / 393.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04733/0.5091, allocations: 14.46 MB / 408.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01934/0.5285, allocations: 363.2 kB / 408.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01409/0.5427, allocations: 3.647 MB / 412.3 MB, free: 7.941 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03974/0.5825, allocations: 9.649 MB / 421.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007033/0.5896, allocations: 1.034 MB / 423 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.009079/0.5987, allocations: 2.856 MB / 425.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01735/0.6161, allocations: 7.689 MB / 433.5 MB, free: 2.641 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004043/0.6202, allocations: 1.375 MB / 434.9 MB, free: 1.262 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005624/0.6259, allocations: 2.334 MB / 437.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003681/0.6296, allocations: 0.7764 MB / 438 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00214/0.6318, allocations: 200 kB / 438.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005116/0.637, allocations: 2.681 MB / 440.9 MB, free: 11.26 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002674/0.6397, allocations: 464 kB / 441.3 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01569/0.6555, allocations: 9.305 MB / 450.6 MB, free: 1.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6555, allocations: 0 / 450.6 MB, free: 1.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.6555, allocations: 4 kB / 450.6 MB, free: 1.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004926/0.656, allocations: 0 / 450.6 MB, free: 1.477 MB / 378.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.02153/0.6776, allocations: 6.454 MB / 457.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.6777, allocations: 12.03 kB / 457.1 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02305/0.7007, allocations: 3.262 MB / 460.4 MB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/0.7137, allocations: 4.358 MB / 464.7 MB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000659/0.7144, allocations: 459.3 kB / 465.2 MB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002934/0.7173, allocations: 0.5777 MB / 465.7 MB, free: 2.211 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5977/1.315, allocations: 21.43 MB / 487.2 MB, free: 120 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004535/1.316, allocations: 73.22 kB / 487.2 MB, free: 120 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002696/1.318, allocations: 280.3 kB / 487.5 MB, free: 119.9 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01093/1.329, allocations: 3.532 MB / 491 MB, free: 119.2 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06857/1.398, allocations: 17.42 MB / 0.4965 GB, free: 113.1 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1178/1.516, allocations: 70.18 MB / 0.5651 GB, free: 46.83 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09561/1.611, allocations: 14.47 MB / 0.5792 GB, free: 32.2 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03305/1.644, allocations: 14.35 MB / 0.5932 GB, free: 17.64 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/1.645, allocations: 64.5 kB / 0.5933 GB, free: 17.57 MB / 410.8 MB Notification: Performance of pre-optimization done (n=284): time 7.324e-06/1.645, allocations: 0 / 0.5933 GB, free: 17.57 MB / 410.8 MB Notification: Performance of matching and sorting (n=320): time 0.232/1.877, allocations: 43.62 MB / 0.6359 GB, free: 5.688 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/1.877, allocations: 158.6 kB / 0.636 GB, free: 5.5 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3078/2.185, allocations: 5.673 MB / 0.6416 GB, free: 144.4 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007778/2.186, allocations: 73.77 kB / 0.6416 GB, free: 144.4 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004617/2.19, allocations: 5.034 MB / 0.6466 GB, free: 141.7 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002071/2.192, allocations: 1.221 MB / 0.6478 GB, free: 140.8 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/2.193, allocations: 195.5 kB / 0.6479 GB, free: 140.6 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000701/2.194, allocations: 0.7188 MB / 0.6486 GB, free: 140.1 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01077/2.205, allocations: 3.25 MB / 0.6518 GB, free: 139.1 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01481/2.22, allocations: 9.007 MB / 0.6606 GB, free: 130.3 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/2.234, allocations: 5.182 MB / 0.6657 GB, free: 128.3 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003302/2.235, allocations: 63.53 kB / 0.6657 GB, free: 128.3 MB / 442.8 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.03396/2.268, allocations: 11.96 MB / 0.6774 GB, free: 123.8 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/2.269, allocations: 93.69 kB / 0.6775 GB, free: 123.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003014/2.269, allocations: 200.1 kB / 0.6777 GB, free: 123.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/2.27, allocations: 0.5304 MB / 0.6782 GB, free: 123.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.015/2.285, allocations: 2.386 MB / 0.6805 GB, free: 123.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/2.29, allocations: 2.714 MB / 0.6832 GB, free: 121.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/2.301, allocations: 0.5445 MB / 0.6837 GB, free: 121.6 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00195/2.303, allocations: 0.5755 MB / 0.6843 GB, free: 121.5 MB / 442.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.008187/2.311, allocations: 3.306 MB / 0.6875 GB, free: 119.9 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/2.312, allocations: 0.5419 MB / 0.688 GB, free: 119.6 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/2.323, allocations: 4.382 MB / 0.6923 GB, free: 117.8 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.768e-05/2.324, allocations: 36 kB / 0.6924 GB, free: 117.8 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/2.324, allocations: 2.312 kB / 0.6924 GB, free: 117.8 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.297e-05/2.324, allocations: 15.47 kB / 0.6924 GB, free: 117.8 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03596/2.36, allocations: 13.53 MB / 0.7056 GB, free: 105.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-05/2.36, allocations: 28 kB / 0.7056 GB, free: 105 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004979/2.365, allocations: 0.6203 MB / 0.7062 GB, free: 104.4 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.945e-05/2.365, allocations: 48 kB / 0.7063 GB, free: 104.4 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003829/2.365, allocations: 91.98 kB / 0.7064 GB, free: 104.3 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.913e-05/2.365, allocations: 63.72 kB / 0.7064 GB, free: 104.2 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.741e-05/2.365, allocations: 43.81 kB / 0.7065 GB, free: 104.2 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/2.38, allocations: 11.53 MB / 0.7177 GB, free: 91.11 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003096/2.384, allocations: 0.8803 MB / 0.7186 GB, free: 90.2 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00177/2.385, allocations: 85.16 kB / 0.7187 GB, free: 90.12 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004656/2.39, allocations: 168 kB / 0.7188 GB, free: 89.95 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007201/2.391, allocations: 272.4 kB / 0.7191 GB, free: 89.69 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002847/2.391, allocations: 125.1 kB / 0.7192 GB, free: 89.57 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009195/2.4, allocations: 3.974 MB / 0.7231 GB, free: 85.59 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.022e-06/2.4, allocations: 0 / 0.7231 GB, free: 85.59 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01083/2.411, allocations: 1.587 MB / 0.7246 GB, free: 84.01 MB / 442.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.001163/2.412, allocations: 271.3 kB / 0.7249 GB, free: 83.75 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01823/2.431, allocations: 7.198 MB / 0.7319 GB, free: 76.57 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.818e-05/2.431, allocations: 4 kB / 0.7319 GB, free: 76.57 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004414/2.435, allocations: 1.664 MB / 0.7335 GB, free: 74.91 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005412/2.441, allocations: 0.6883 MB / 0.7342 GB, free: 74.23 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04313/2.484, allocations: 19.39 MB / 0.7532 GB, free: 54.41 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01077/2.495, allocations: 5.262 MB / 0.7583 GB, free: 49.11 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002498/2.497, allocations: 483.4 kB / 0.7588 GB, free: 48.64 MB / 442.8 MB Notification: Performance of SimCode: time 1.483e-06/2.497, allocations: 3.938 kB / 0.7588 GB, free: 48.63 MB / 442.8 MB Notification: Performance of Templates: time 0.5112/3.008, allocations: 103.1 MB / 0.8595 GB, free: 92.5 MB / 442.8 MB