Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.432e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3249, allocations: 58.85 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2065/0.5314, allocations: 108.9 MB / 491.2 MB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5317, allocations: 83.95 kB / 491.2 MB, free: 15.45 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7918/1.324, allocations: 146.7 MB / 0.623 GB, free: 51.37 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.713e-06/1.324, allocations: 0 / 0.623 GB, free: 51.37 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0006076/1.324, allocations: 155.9 kB / 0.6231 GB, free: 51.22 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.03423/1.359, allocations: 6.73 MB / 0.6297 GB, free: 44.4 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.351e-05/1.359, allocations: 8.031 kB / 0.6297 GB, free: 44.39 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0435/1.402, allocations: 3.625 MB / 0.6332 GB, free: 40.75 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02587/1.428, allocations: 7.688 MB / 0.6408 GB, free: 33 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007363/1.429, allocations: 0.6016 MB / 0.6413 GB, free: 32.39 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003474/1.432, allocations: 0.7887 MB / 0.6421 GB, free: 31.61 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05485/1.487, allocations: 21.45 MB / 0.6631 GB, free: 8.531 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003838/1.488, allocations: 95.16 kB / 0.6631 GB, free: 8.438 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002745/1.49, allocations: 383.8 kB / 0.6635 GB, free: 8.062 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003901/1.494, allocations: 1.941 MB / 0.6654 GB, free: 6.117 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04938/1.544, allocations: 16.91 MB / 0.6819 GB, free: 5.195 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4291/1.973, allocations: 79.67 MB / 0.7597 GB, free: 52.72 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02287/1.996, allocations: 6.454 MB / 0.766 GB, free: 52.06 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004649/2.001, allocations: 2.162 MB / 0.7681 GB, free: 52 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02291/2.024, allocations: 9.958 MB / 0.7779 GB, free: 49.6 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02026/2.044, allocations: 4.272 MB / 0.782 GB, free: 49.46 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=299): time 8.969e-06/2.044, allocations: 0 / 0.782 GB, free: 49.46 MB / 0.4949 GB Notification: Performance of matching and sorting (n=333): time 0.07945/2.123, allocations: 21.02 MB / 0.8026 GB, free: 44.73 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/2.124, allocations: 165.2 kB / 0.8027 GB, free: 44.57 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01187/2.135, allocations: 5.29 MB / 0.8079 GB, free: 44.03 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005368/2.136, allocations: 81.08 kB / 0.808 GB, free: 44 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005034/2.141, allocations: 5.308 MB / 0.8131 GB, free: 40.57 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001553/2.143, allocations: 1.263 MB / 0.8144 GB, free: 39.66 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008736/2.144, allocations: 194.6 kB / 0.8146 GB, free: 39.5 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006347/2.144, allocations: 0.7168 MB / 0.8153 GB, free: 39.02 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006429/2.151, allocations: 2.657 MB / 0.8179 GB, free: 38.15 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009395/2.16, allocations: 8.346 MB / 0.826 GB, free: 29.61 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009758/2.17, allocations: 4.7 MB / 0.8306 GB, free: 28.28 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/2.17, allocations: 58.75 kB / 0.8306 GB, free: 28.28 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.02521/2.195, allocations: 10.3 MB / 0.8407 GB, free: 23.89 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/2.196, allocations: 121.7 kB / 0.8408 GB, free: 23.76 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002406/2.196, allocations: 207.5 kB / 0.841 GB, free: 23.56 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000327/2.196, allocations: 300 kB / 0.8413 GB, free: 23.27 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/2.207, allocations: 2.39 MB / 0.8436 GB, free: 21.18 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000353/2.207, allocations: 404.7 kB / 0.844 GB, free: 20.83 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00982/2.217, allocations: 0.6164 MB / 0.8446 GB, free: 20.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/2.219, allocations: 0.5734 MB / 0.8452 GB, free: 19.74 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: 77 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1253): * Single equations (assignments): 1249 * Array equations: 3 * Algorithm blocks: 1 * 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.002051/2.221, allocations: 0.8663 MB / 0.846 GB, free: 18.88 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/2.222, allocations: 0.5503 MB / 0.8466 GB, free: 18.32 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006942/2.229, allocations: 3.275 MB / 0.8498 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.304e-05/2.229, allocations: 36 kB / 0.8498 GB, free: 15.44 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/2.229, allocations: 0 / 0.8498 GB, free: 15.44 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.619e-05/2.229, allocations: 16.97 kB / 0.8498 GB, free: 15.44 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02952/2.258, allocations: 13.47 MB / 0.863 GB, free: 3.809 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.146e-05/2.259, allocations: 36.25 kB / 0.863 GB, free: 3.773 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003182/2.262, allocations: 0.6129 MB / 0.8636 GB, free: 3.246 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.135e-05/2.262, allocations: 48 kB / 0.8637 GB, free: 3.199 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003262/2.262, allocations: 114.2 kB / 0.8638 GB, free: 3.098 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.042e-05/2.262, allocations: 65.94 kB / 0.8638 GB, free: 3.039 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.161e-05/2.262, allocations: 55.81 kB / 0.8639 GB, free: 2.984 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/2.276, allocations: 11.97 MB / 0.8756 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003102/2.28, allocations: 0.857 MB / 0.8764 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/2.281, allocations: 103.3 kB / 0.8765 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00359/2.284, allocations: 222.3 kB / 0.8767 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006366/2.285, allocations: 298.6 kB / 0.877 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003363/2.285, allocations: 138 kB / 0.8771 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009131/2.295, allocations: 3.661 MB / 0.8807 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.075e-06/2.295, allocations: 0 / 0.8807 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01563/2.31, allocations: 1.849 MB / 0.8825 GB, free: 0 / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (314): * Single equations (assignments): 309 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001048/2.311, allocations: 289.2 kB / 0.8828 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01396/2.325, allocations: 5.972 MB / 0.8886 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-05/2.325, allocations: 4 kB / 0.8886 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004756/2.33, allocations: 1.737 MB / 0.8903 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004839/2.335, allocations: 0.7229 MB / 0.891 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03899/2.374, allocations: 13.16 MB / 0.9039 GB, free: 12.58 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01278/2.387, allocations: 5.287 MB / 0.909 GB, free: 8.113 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01142/2.398, allocations: 2.774 MB / 0.9117 GB, free: 5.348 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/2.4, allocations: 407.4 kB / 0.9121 GB, free: 4.949 MB / 0.5418 GB Notification: Performance of SimCode: time 2.064e-06/2.4, allocations: 1.406 kB / 0.9121 GB, free: 4.949 MB / 0.5418 GB Notification: Performance of Templates: time 0.4551/2.855, allocations: 46.95 MB / 0.958 GB, free: 149.9 MB / 0.5574 GB