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.3_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadModel(ModelicaTest): time 2.375/2.375, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.079e-05, allocations: 4 kB / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3301, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.4995, allocations: 108.4 MB / 490.6 MB, free: 68 kB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4998, allocations: 79.95 kB / 490.7 MB, free: 15.99 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7927/1.293, allocations: 146.2 MB / 0.622 GB, free: 52.36 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.524e-06/1.293, allocations: 0 / 0.622 GB, free: 52.36 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003284/1.293, allocations: 152 kB / 0.6221 GB, free: 52.21 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01858/1.312, allocations: 6.62 MB / 0.6286 GB, free: 45.51 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/1.312, allocations: 8.031 kB / 0.6286 GB, free: 45.5 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02064/1.332, allocations: 3.629 MB / 0.6322 GB, free: 41.86 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02381/1.356, allocations: 7.676 MB / 0.6397 GB, free: 34.11 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00125/1.357, allocations: 0.5938 MB / 0.6402 GB, free: 33.52 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005438/1.363, allocations: 0.7888 MB / 0.641 GB, free: 32.73 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08733/1.45, allocations: 21.43 MB / 0.6619 GB, free: 9.672 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003547/1.451, allocations: 95.14 kB / 0.662 GB, free: 9.578 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002322/1.453, allocations: 379.8 kB / 0.6624 GB, free: 9.207 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003635/1.457, allocations: 1.949 MB / 0.6643 GB, free: 7.254 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04801/1.505, allocations: 16.9 MB / 0.6808 GB, free: 6.336 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7747/2.28, allocations: 79.59 MB / 0.7585 GB, free: 51.95 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06646/2.346, allocations: 6.432 MB / 0.7648 GB, free: 51.29 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02034/2.366, allocations: 2.163 MB / 0.7669 GB, free: 51.23 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03195/2.398, allocations: 9.912 MB / 0.7766 GB, free: 48.84 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/2.399, allocations: 65.62 kB / 0.7767 GB, free: 48.8 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=296): time 8.358e-06/2.399, allocations: 0 / 0.7767 GB, free: 48.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=330): time 0.07689/2.475, allocations: 20.95 MB / 0.7971 GB, free: 44.08 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/2.476, allocations: 162.8 kB / 0.7973 GB, free: 43.92 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01096/2.487, allocations: 5.28 MB / 0.8024 GB, free: 43.37 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005034/2.487, allocations: 75.61 kB / 0.8025 GB, free: 43.34 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003644/2.491, allocations: 5.199 MB / 0.8076 GB, free: 40.33 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001369/2.492, allocations: 1.251 MB / 0.8088 GB, free: 39.59 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007595/2.493, allocations: 195.8 kB / 0.809 GB, free: 39.44 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005458/2.494, allocations: 0.7203 MB / 0.8097 GB, free: 38.96 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005846/2.499, allocations: 2.641 MB / 0.8123 GB, free: 38.09 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0091/2.509, allocations: 8.327 MB / 0.8204 GB, free: 29.55 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009293/2.518, allocations: 4.666 MB / 0.825 GB, free: 28.26 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000179/2.518, allocations: 57.53 kB / 0.825 GB, free: 28.26 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1273) (initialization): time 0.02458/2.543, allocations: 10.23 MB / 0.835 GB, free: 25.34 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/2.543, allocations: 92.38 kB / 0.8351 GB, free: 25.34 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002317/2.543, allocations: 204.2 kB / 0.8353 GB, free: 25.34 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/2.543, allocations: 297.7 kB / 0.8356 GB, free: 25.34 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/2.554, allocations: 2.377 MB / 0.8379 GB, free: 23.53 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003419/2.554, allocations: 403.7 kB / 0.8383 GB, free: 23.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009829/2.564, allocations: 0.5968 MB / 0.8389 GB, free: 22.66 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001798/2.566, allocations: 0.5646 MB / 0.8394 GB, free: 22.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * Number of states: 0 () * Number of discrete variables: 72 (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.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 (1249): * Single equations (assignments): 1246 * 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.001675/2.567, allocations: 0.8682 MB / 0.8403 GB, free: 21.23 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/2.568, allocations: 0.5501 MB / 0.8408 GB, free: 20.68 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006773/2.575, allocations: 3.249 MB / 0.844 GB, free: 17.86 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-05/2.575, allocations: 36 kB / 0.844 GB, free: 17.83 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/2.575, allocations: 0 / 0.844 GB, free: 17.83 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.569e-05/2.575, allocations: 16.64 kB / 0.844 GB, free: 17.82 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03065/2.606, allocations: 13.56 MB / 0.8573 GB, free: 6.117 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.221e-05/2.606, allocations: 32 kB / 0.8573 GB, free: 6.086 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002975/2.609, allocations: 0.5998 MB / 0.8579 GB, free: 5.566 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.034e-05/2.609, allocations: 52 kB / 0.8579 GB, free: 5.516 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002815/2.61, allocations: 101.9 kB / 0.858 GB, free: 5.422 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.205e-05/2.61, allocations: 73.56 kB / 0.8581 GB, free: 5.359 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.062e-05/2.61, allocations: 47.81 kB / 0.8581 GB, free: 5.312 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/2.623, allocations: 12.11 MB / 0.87 GB, free: 7.883 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003054/2.626, allocations: 0.8559 MB / 0.8708 GB, free: 7.078 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001318/2.628, allocations: 107 kB / 0.8709 GB, free: 6.984 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004117/2.632, allocations: 198 kB / 0.8711 GB, free: 6.832 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000749/2.632, allocations: 298.5 kB / 0.8714 GB, free: 6.609 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000341/2.633, allocations: 126.9 kB / 0.8715 GB, free: 6.488 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 0.009268/2.642, allocations: 3.648 MB / 0.8751 GB, free: 3.258 MB / 0.5106 GB Notification: Performance of sort global known variables: time 1.013e-06/2.642, allocations: 0 / 0.8751 GB, free: 3.258 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.01119/2.653, allocations: 1.574 MB / 0.8766 GB, free: 1.691 MB / 0.5106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (311): * Single equations (assignments): 308 * 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.001001/2.654, allocations: 288.2 kB / 0.8769 GB, free: 1.422 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.01428/2.669, allocations: 5.891 MB / 0.8826 GB, free: 12.03 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.721e-05/2.669, allocations: 8 kB / 0.8826 GB, free: 12.02 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.003527/2.672, allocations: 1.453 MB / 0.8841 GB, free: 10.69 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005103/2.677, allocations: 0.7263 MB / 0.8848 GB, free: 10.07 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03469/2.712, allocations: 12.86 MB / 0.8973 GB, free: 14.07 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01329/2.725, allocations: 5.279 MB / 0.9025 GB, free: 10.19 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01531/2.741, allocations: 2.778 MB / 0.9052 GB, free: 8.445 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002899/2.744, allocations: 402.3 kB / 0.9056 GB, free: 8.062 MB / 0.5418 GB Notification: Performance of SimCode: time 2.317e-06/2.744, allocations: 4 kB / 0.9056 GB, free: 8.059 MB / 0.5418 GB Notification: Performance of Templates: time 0.4651/3.209, allocations: 46.35 MB / 0.9508 GB, free: 147.3 MB / 0.5574 GB