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_4.0.0_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 270.1 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.232e-05, allocations: 4 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1439, allocations: 61.88 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.6267, allocations: 109.8 MB / 0.5079 GB, free: 10.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.627, allocations: 75.97 kB / 0.508 GB, free: 10.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8566/1.484, allocations: 141.2 MB / 0.6458 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.204e-06/1.484, allocations: 0 / 0.6458 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000305/1.484, allocations: 142.7 kB / 0.646 GB, free: 110.4 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.02164/1.506, allocations: 6.44 MB / 0.6522 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.506, allocations: 11.53 kB / 0.6523 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01958/1.525, allocations: 3.547 MB / 0.6557 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01968/1.545, allocations: 7.09 MB / 0.6626 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007577/1.546, allocations: 0.5705 MB / 0.6632 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003345/1.549, allocations: 0.7496 MB / 0.6639 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05361/1.603, allocations: 20.59 MB / 0.684 GB, free: 99.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004112/1.603, allocations: 91.48 kB / 0.6841 GB, free: 99.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003026/1.606, allocations: 369.6 kB / 0.6845 GB, free: 99.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003689/1.61, allocations: 1.821 MB / 0.6863 GB, free: 99.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04328/1.653, allocations: 16.08 MB / 0.702 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09191/1.745, allocations: 77.16 MB / 0.7773 GB, free: 17.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02038/1.766, allocations: 6.115 MB / 0.7833 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003893/1.77, allocations: 1.945 MB / 0.7852 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01865/1.788, allocations: 9.273 MB / 0.7942 GB, free: 128 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01918/1.808, allocations: 4.062 MB / 0.7982 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=260): time 9.117e-06/1.808, allocations: 4 kB / 0.7982 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=294): time 0.4259/2.234, allocations: 19.69 MB / 0.8175 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/2.234, allocations: 162.3 kB / 0.8176 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0142/2.248, allocations: 5.12 MB / 0.8226 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004947/2.249, allocations: 70.67 kB / 0.8227 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005538/2.254, allocations: 5.062 MB / 0.8276 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001696/2.256, allocations: 1.126 MB / 0.8287 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/2.257, allocations: 189.1 kB / 0.8289 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001047/2.258, allocations: 0.6897 MB / 0.8296 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006705/2.265, allocations: 2.451 MB / 0.832 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009684/2.274, allocations: 7.934 MB / 0.8397 GB, free: 102 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009292/2.284, allocations: 4.404 MB / 0.844 GB, free: 102 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002714/2.284, allocations: 57.56 kB / 0.8441 GB, free: 102 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02324/2.307, allocations: 9.664 MB / 0.8535 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002072/2.308, allocations: 115.6 kB / 0.8536 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002528/2.308, allocations: 196.3 kB / 0.8538 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/2.308, allocations: 291.3 kB / 0.8541 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009607/2.318, allocations: 2.253 MB / 0.8563 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003378/2.318, allocations: 390.7 kB / 0.8567 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009665/2.328, allocations: 0.5888 MB / 0.8572 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001804/2.33, allocations: 0.5362 MB / 0.8578 GB, free: 100.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 83 ($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.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 (1178): * Single equations (assignments): 1174 * 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.001809/2.332, allocations: 0.8395 MB / 0.8586 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/2.333, allocations: 0.5193 MB / 0.8591 GB, free: 99.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00712/2.34, allocations: 2.821 MB / 0.8618 GB, free: 98.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.121e-05/2.34, allocations: 31.62 kB / 0.8619 GB, free: 98.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/2.34, allocations: 1.938 kB / 0.8619 GB, free: 98.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-05/2.34, allocations: 15.61 kB / 0.8619 GB, free: 98.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/2.368, allocations: 12.18 MB / 0.8738 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.131e-05/2.368, allocations: 33.84 kB / 0.8738 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002639/2.371, allocations: 0.5366 MB / 0.8743 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-05/2.371, allocations: 46.72 kB / 0.8744 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000315/2.371, allocations: 91.94 kB / 0.8745 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.988e-05/2.372, allocations: 63.22 kB / 0.8745 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.033e-05/2.372, allocations: 48.22 kB / 0.8746 GB, free: 93.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009129/2.381, allocations: 10.84 MB / 0.8852 GB, free: 83.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/2.383, allocations: 0.6021 MB / 0.8858 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/2.384, allocations: 88.38 kB / 0.8858 GB, free: 83.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004121/2.389, allocations: 210.8 kB / 0.886 GB, free: 83.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000664/2.389, allocations: 277.2 kB / 0.8863 GB, free: 82.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002804/2.39, allocations: 121.5 kB / 0.8864 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008323/2.398, allocations: 3.535 MB / 0.8899 GB, free: 81.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.039e-06/2.398, allocations: 4 kB / 0.8899 GB, free: 81.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01049/2.408, allocations: 1.482 MB / 0.8913 GB, free: 81.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (272): * Single equations (assignments): 267 * 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.0008868/2.409, allocations: 279.7 kB / 0.8916 GB, free: 81.35 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01135/2.421, allocations: 5.47 MB / 0.8969 GB, free: 79.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-05/2.421, allocations: 11.62 kB / 0.8969 GB, free: 79.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003722/2.425, allocations: 1.519 MB / 0.8984 GB, free: 78.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005047/2.43, allocations: 0.7123 MB / 0.8991 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02818/2.458, allocations: 11.97 MB / 0.9108 GB, free: 73.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01073/2.469, allocations: 5.032 MB / 0.9157 GB, free: 70.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009669/2.478, allocations: 2.616 MB / 0.9183 GB, free: 68.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/2.48, allocations: 378 kB / 0.9186 GB, free: 68.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.747e-06/2.48, allocations: 0 / 0.9186 GB, free: 68.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.1296/2.61, allocations: 44.03 MB / 0.9616 GB, free: 37.32 MB / 0.5261 GB