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_4.0.0_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadModel(ModelicaTest): time 2.54/2.54, allocations: 270 MB / 283.6 MB, free: 1.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.422e-05, allocations: 4 kB / 348.4 MB, free: 2.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3513, allocations: 61.87 MB / 410.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2051/0.5564, allocations: 109.2 MB / 0.5073 GB, free: 13.28 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.5567, allocations: 75.95 kB / 0.5074 GB, free: 13.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8799/1.437, allocations: 140.7 MB / 0.6448 GB, free: 11.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.496e-06/1.437, allocations: 0 / 0.6448 GB, free: 11.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003621/1.437, allocations: 136 kB / 0.6449 GB, free: 11.46 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02102/1.458, allocations: 6.328 MB / 0.6511 GB, free: 5.051 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.458, allocations: 11.97 kB / 0.6511 GB, free: 5.039 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02121/1.479, allocations: 3.547 MB / 0.6546 GB, free: 1.477 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02244/1.502, allocations: 7.073 MB / 0.6615 GB, free: 10.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009048/1.503, allocations: 0.5657 MB / 0.6621 GB, free: 9.773 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003323/1.506, allocations: 0.7496 MB / 0.6628 GB, free: 9.023 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05913/1.565, allocations: 20.58 MB / 0.6829 GB, free: 2.852 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003874/1.566, allocations: 103 kB / 0.683 GB, free: 2.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002425/1.568, allocations: 367.8 kB / 0.6833 GB, free: 2.391 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004213/1.572, allocations: 1.823 MB / 0.6851 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04929/1.622, allocations: 16.07 MB / 0.7008 GB, free: 484 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7388/2.361, allocations: 77.07 MB / 0.7761 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02219/2.383, allocations: 6.083 MB / 0.782 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004146/2.387, allocations: 1.94 MB / 0.7839 GB, free: 43.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02017/2.407, allocations: 9.25 MB / 0.7929 GB, free: 40.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/2.407, allocations: 71.5 kB / 0.793 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=257): time 6.714e-06/2.407, allocations: 0 / 0.793 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=291): time 0.0723/2.48, allocations: 19.61 MB / 0.8122 GB, free: 36.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/2.48, allocations: 160.9 kB / 0.8123 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01111/2.491, allocations: 5.103 MB / 0.8173 GB, free: 35.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004429/2.491, allocations: 71.23 kB / 0.8174 GB, free: 35.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003548/2.495, allocations: 4.955 MB / 0.8222 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/2.496, allocations: 1.12 MB / 0.8233 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008602/2.497, allocations: 182.2 kB / 0.8235 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006289/2.498, allocations: 0.6931 MB / 0.8241 GB, free: 31.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005474/2.503, allocations: 2.436 MB / 0.8265 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008751/2.512, allocations: 7.918 MB / 0.8343 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008532/2.521, allocations: 4.367 MB / 0.8385 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001807/2.521, allocations: 55.22 kB / 0.8386 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.02454/2.545, allocations: 9.6 MB / 0.8479 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/2.546, allocations: 87.47 kB / 0.848 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002746/2.546, allocations: 200.1 kB / 0.8482 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/2.546, allocations: 290.6 kB / 0.8485 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009849/2.556, allocations: 2.239 MB / 0.8507 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000349/2.557, allocations: 383 kB / 0.851 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009553/2.566, allocations: 0.5758 MB / 0.8516 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001798/2.568, allocations: 0.5393 MB / 0.8521 GB, free: 17.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 78 (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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1174): * Single equations (assignments): 1171 * 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 prepare postOptimizeDAE: time 0.001984/2.57, allocations: 0.8345 MB / 0.853 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/2.571, allocations: 0.5128 MB / 0.8535 GB, free: 16.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005868/2.577, allocations: 2.801 MB / 0.8562 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.496e-05/2.577, allocations: 28 kB / 0.8562 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/2.577, allocations: 4 kB / 0.8562 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.684e-05/2.577, allocations: 14.39 kB / 0.8562 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02728/2.604, allocations: 12.26 MB / 0.8682 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-05/2.604, allocations: 35.95 kB / 0.8682 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/2.607, allocations: 0.5174 MB / 0.8687 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.194e-05/2.607, allocations: 55.92 kB / 0.8688 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002923/2.607, allocations: 88 kB / 0.8689 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.814e-05/2.607, allocations: 62.66 kB / 0.8689 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.413e-05/2.607, allocations: 55.45 kB / 0.869 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/2.62, allocations: 10.99 MB / 0.8797 GB, free: 6.355 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/2.622, allocations: 0.5944 MB / 0.8803 GB, free: 5.762 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001455/2.624, allocations: 95.5 kB / 0.8804 GB, free: 5.676 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003863/2.628, allocations: 182.4 kB / 0.8806 GB, free: 5.539 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006329/2.628, allocations: 270 kB / 0.8808 GB, free: 5.328 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003071/2.629, allocations: 126.2 kB / 0.8809 GB, free: 5.215 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.009277/2.638, allocations: 3.521 MB / 0.8844 GB, free: 2.09 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.025e-06/2.638, allocations: 0 / 0.8844 GB, free: 2.09 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01065/2.649, allocations: 1.476 MB / 0.8858 GB, free: 0.625 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (269): * Single equations (assignments): 266 * 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.0009299/2.65, allocations: 271.6 kB / 0.8861 GB, free: 380 kB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02187/2.672, allocations: 5.556 MB / 0.8915 GB, free: 11.79 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.704e-05/2.672, allocations: 4 kB / 0.8915 GB, free: 11.79 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.005291/2.677, allocations: 1.242 MB / 0.8927 GB, free: 10.64 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009126/2.686, allocations: 0.7084 MB / 0.8934 GB, free: 10.05 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05827/2.744, allocations: 12.09 MB / 0.9052 GB, free: 15.19 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01625/2.761, allocations: 5.025 MB / 0.9101 GB, free: 11.51 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01196/2.773, allocations: 2.613 MB / 0.9127 GB, free: 9.871 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/2.774, allocations: 373.9 kB / 0.913 GB, free: 9.516 MB / 0.5574 GB Notification: Performance of SimCode: time 1.597e-06/2.774, allocations: 2.531 kB / 0.913 GB, free: 9.516 MB / 0.5574 GB Notification: Performance of Templates: time 0.4679/3.242, allocations: 43.45 MB / 0.9555 GB, free: 134.5 MB / 0.5574 GB