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.205/2.205, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.388e-05, allocations: 4.938 kB / 304.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3213, allocations: 54.85 MB / 359.8 MB, free: 2.648 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1583/0.4796, allocations: 101.1 MB / 460.8 MB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.4799, allocations: 72.55 kB / 460.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7888/1.269, allocations: 144.5 MB / 0.5912 GB, free: 94.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.789e-06/1.269, allocations: 0 / 0.5912 GB, free: 94.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003229/1.269, allocations: 141.9 kB / 0.5913 GB, free: 94.4 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: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.01923/1.288, allocations: 6.554 MB / 0.5977 GB, free: 90.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.288, allocations: 11.28 kB / 0.5978 GB, free: 90.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02301/1.311, allocations: 3.616 MB / 0.6013 GB, free: 87.87 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0197/1.331, allocations: 7.624 MB / 0.6087 GB, free: 80.28 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006931/1.332, allocations: 0.5952 MB / 0.6093 GB, free: 79.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003418/1.335, allocations: 0.7904 MB / 0.6101 GB, free: 78.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05509/1.39, allocations: 21.43 MB / 0.631 GB, free: 55.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004345/1.391, allocations: 99.14 kB / 0.6311 GB, free: 55.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00337/1.394, allocations: 375.8 kB / 0.6315 GB, free: 55.51 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004018/1.398, allocations: 1.945 MB / 0.6334 GB, free: 53.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04469/1.443, allocations: 16.87 MB / 0.6498 GB, free: 36.66 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4803/1.923, allocations: 79.32 MB / 0.7273 GB, free: 49.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02382/1.947, allocations: 6.46 MB / 0.7336 GB, free: 48.44 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004466/1.952, allocations: 2.058 MB / 0.7356 GB, free: 48.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02128/1.973, allocations: 9.735 MB / 0.7451 GB, free: 46.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/1.973, allocations: 67.62 kB / 0.7452 GB, free: 46.03 MB / 474.7 MB Notification: Performance of pre-optimization done (n=284): time 7.571e-06/1.973, allocations: 0 / 0.7452 GB, free: 46.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.09177/2.065, allocations: 22.61 MB / 0.7673 GB, free: 41.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/2.065, allocations: 164.3 kB / 0.7674 GB, free: 41.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/2.076, allocations: 5.261 MB / 0.7726 GB, free: 40.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005019/2.076, allocations: 70.62 kB / 0.7726 GB, free: 40.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003344/2.08, allocations: 5.027 MB / 0.7775 GB, free: 36.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001357/2.081, allocations: 1.214 MB / 0.7787 GB, free: 35.81 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008867/2.082, allocations: 195 kB / 0.7789 GB, free: 35.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006408/2.083, allocations: 0.7146 MB / 0.7796 GB, free: 35.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005901/2.089, allocations: 2.632 MB / 0.7822 GB, free: 34.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009387/2.098, allocations: 8.293 MB / 0.7903 GB, free: 25.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00935/2.107, allocations: 4.629 MB / 0.7948 GB, free: 24.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001879/2.108, allocations: 58.41 kB / 0.7949 GB, free: 24.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02499/2.133, allocations: 9.981 MB / 0.8046 GB, free: 21.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/2.133, allocations: 94.25 kB / 0.8047 GB, free: 21.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002242/2.133, allocations: 200 kB / 0.8049 GB, free: 21.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/2.133, allocations: 300 kB / 0.8052 GB, free: 21.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/2.144, allocations: 2.379 MB / 0.8075 GB, free: 19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003515/2.145, allocations: 406.8 kB / 0.8079 GB, free: 18.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/2.155, allocations: 0.6178 MB / 0.8085 GB, free: 18.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/2.157, allocations: 0.5615 MB / 0.809 GB, free: 17.57 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * 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 (1236): * Single equations (assignments): 1233 * 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.001858/2.159, allocations: 0.8651 MB / 0.8099 GB, free: 16.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/2.16, allocations: 0.5398 MB / 0.8104 GB, free: 16.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007005/2.167, allocations: 3.179 MB / 0.8135 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.755e-05/2.167, allocations: 41.8 kB / 0.8136 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/2.167, allocations: 4 kB / 0.8136 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.37e-05/2.167, allocations: 12.7 kB / 0.8136 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03156/2.199, allocations: 13.49 MB / 0.8268 GB, free: 1.715 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.476e-05/2.199, allocations: 32 kB / 0.8268 GB, free: 1.684 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003267/2.202, allocations: 0.5904 MB / 0.8274 GB, free: 1.176 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.737e-05/2.202, allocations: 56 kB / 0.8274 GB, free: 1.121 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004256/2.203, allocations: 99.33 kB / 0.8275 GB, free: 1.027 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.083e-05/2.203, allocations: 66.17 kB / 0.8276 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.26e-05/2.203, allocations: 53.81 kB / 0.8276 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/2.218, allocations: 11.95 MB / 0.8393 GB, free: 3.645 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003191/2.221, allocations: 0.8388 MB / 0.8401 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001446/2.223, allocations: 97.92 kB / 0.8402 GB, free: 2.766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004263/2.227, allocations: 201.2 kB / 0.8404 GB, free: 2.613 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007576/2.228, allocations: 289.6 kB / 0.8407 GB, free: 2.395 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003349/2.228, allocations: 128.5 kB / 0.8408 GB, free: 2.273 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01081/2.239, allocations: 3.689 MB / 0.8444 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.021e-06/2.239, allocations: 0 / 0.8444 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0118/2.251, allocations: 1.554 MB / 0.8459 GB, free: 13.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * 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 (301): * Single equations (assignments): 298 * 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.000995/2.252, allocations: 263.2 kB / 0.8462 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01408/2.266, allocations: 5.825 MB / 0.8519 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-05/2.266, allocations: 6 kB / 0.8519 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003395/2.269, allocations: 1.429 MB / 0.8533 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005116/2.275, allocations: 0.697 MB / 0.8539 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03842/2.313, allocations: 13.57 MB / 0.8672 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0134/2.327, allocations: 5.25 MB / 0.8723 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002307/2.329, allocations: 471.4 kB / 0.8728 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of SimCode: time 1.983e-06/2.329, allocations: 4 kB / 0.8728 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of Templates: time 0.4504/2.779, allocations: 85.41 MB / 0.9562 GB, free: 146.8 MB / 0.5417 GB