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_trunk_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadModel(ModelicaTest): time 2.583/2.583, allocations: 270 MB / 283.6 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.919e-05, allocations: 4 kB / 348.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.367, allocations: 61.87 MB / 410.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.535, allocations: 109.8 MB / 0.5079 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.5352, allocations: 75.95 kB / 0.508 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7685/1.304, allocations: 141.2 MB / 0.6458 GB, free: 10.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.15e-06/1.304, allocations: 0 / 0.6458 GB, free: 10.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003706/1.304, allocations: 140 kB / 0.646 GB, free: 10.68 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: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.02153/1.326, allocations: 6.433 MB / 0.6523 GB, free: 4.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.326, allocations: 11.97 kB / 0.6523 GB, free: 4.148 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02226/1.348, allocations: 3.551 MB / 0.6557 GB, free: 0.582 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02322/1.371, allocations: 7.081 MB / 0.6627 GB, free: 9.438 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009453/1.372, allocations: 0.5735 MB / 0.6632 GB, free: 8.863 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003735/1.376, allocations: 0.7574 MB / 0.6639 GB, free: 8.105 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06289/1.439, allocations: 20.59 MB / 0.6841 GB, free: 1.918 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000488/1.44, allocations: 91.16 kB / 0.6841 GB, free: 1.828 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003311/1.443, allocations: 371.8 kB / 0.6845 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004884/1.448, allocations: 1.819 MB / 0.6863 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05063/1.498, allocations: 16.08 MB / 0.702 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4262/1.925, allocations: 77.16 MB / 0.7773 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02342/1.948, allocations: 6.115 MB / 0.7833 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004186/1.952, allocations: 1.945 MB / 0.7852 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02109/1.974, allocations: 9.281 MB / 0.7943 GB, free: 42.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01979/1.993, allocations: 4.056 MB / 0.7982 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=260): time 8.983e-06/1.993, allocations: 0 / 0.7982 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=294): time 0.07546/2.069, allocations: 19.7 MB / 0.8175 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/2.069, allocations: 161.4 kB / 0.8176 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/2.08, allocations: 5.119 MB / 0.8226 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004667/2.08, allocations: 72.77 kB / 0.8227 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004642/2.085, allocations: 5.06 MB / 0.8276 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00133/2.086, allocations: 1.127 MB / 0.8287 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008302/2.087, allocations: 187.9 kB / 0.8289 GB, free: 32.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005522/2.088, allocations: 0.6971 MB / 0.8296 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005506/2.093, allocations: 2.446 MB / 0.832 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01597/2.109, allocations: 7.937 MB / 0.8397 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02687/2.136, allocations: 4.402 MB / 0.844 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003157/2.136, allocations: 57.38 kB / 0.8441 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.05779/2.194, allocations: 9.661 MB / 0.8535 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/2.194, allocations: 121.4 kB / 0.8536 GB, free: 19.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002723/2.195, allocations: 204 kB / 0.8538 GB, free: 19.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/2.195, allocations: 295.9 kB / 0.8541 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01029/2.205, allocations: 2.248 MB / 0.8563 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003141/2.206, allocations: 389.2 kB / 0.8567 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009495/2.215, allocations: 0.5891 MB / 0.8572 GB, free: 16.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/2.217, allocations: 0.5456 MB / 0.8578 GB, free: 15.58 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: 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.001739/2.219, allocations: 0.8262 MB / 0.8586 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/2.22, allocations: 0.5207 MB / 0.8591 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00592/2.226, allocations: 2.82 MB / 0.8618 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.273e-05/2.226, allocations: 39.95 kB / 0.8619 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/2.226, allocations: 0 / 0.8619 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-05/2.226, allocations: 12.47 kB / 0.8619 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02571/2.252, allocations: 12.19 MB / 0.8738 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.583e-05/2.252, allocations: 28 kB / 0.8738 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/2.254, allocations: 0.5369 MB / 0.8743 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.514e-05/2.254, allocations: 48 kB / 0.8744 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/2.255, allocations: 96.09 kB / 0.8745 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.545e-05/2.255, allocations: 65.38 kB / 0.8745 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.06e-05/2.255, allocations: 51.75 kB / 0.8746 GB, free: 464 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/2.268, allocations: 10.84 MB / 0.8852 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/2.27, allocations: 0.5957 MB / 0.8858 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/2.271, allocations: 95.12 kB / 0.8859 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003487/2.274, allocations: 198.8 kB / 0.886 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006524/2.275, allocations: 283 kB / 0.8863 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003077/2.275, allocations: 119.8 kB / 0.8864 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009696/2.285, allocations: 3.559 MB / 0.8899 GB, free: 0 / 0.5261 GB Notification: Performance of sort global known variables: time 1.051e-06/2.285, allocations: 336 / 0.8899 GB, free: 0 / 0.5261 GB Notification: Performance of remove unused functions: time 0.01171/2.297, allocations: 1.545 MB / 0.8914 GB, free: 14.62 MB / 0.5417 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.0009307/2.298, allocations: 276.5 kB / 0.8917 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01263/2.31, allocations: 5.465 MB / 0.897 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.507e-05/2.311, allocations: 9.625 kB / 0.897 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004053/2.315, allocations: 1.521 MB / 0.8985 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004695/2.319, allocations: 0.7188 MB / 0.8992 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03538/2.355, allocations: 12.31 MB / 0.9112 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0105/2.365, allocations: 5.033 MB / 0.9161 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009611/2.375, allocations: 2.62 MB / 0.9187 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/2.377, allocations: 376.2 kB / 0.9191 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of SimCode: time 1.758e-06/2.377, allocations: 0 / 0.9191 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of Templates: time 0.4581/2.835, allocations: 44.02 MB / 0.9621 GB, free: 131.2 MB / 0.5573 GB