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|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadModel(ModelicaTest): time 2.201/2.201, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.722e-05, allocations: 4 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3271, allocations: 54.85 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.4855, allocations: 101.5 MB / 461.3 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.4858, allocations: 71.97 kB / 461.4 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.904/1.39, allocations: 145 MB / 0.5922 GB, free: 94.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.328e-06/1.39, allocations: 0 / 0.5922 GB, free: 94.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003243/1.39, allocations: 144 kB / 0.5923 GB, free: 94.29 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: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.01985/1.41, allocations: 6.632 MB / 0.5988 GB, free: 89.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.41, allocations: 7.75 kB / 0.5988 GB, free: 89.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02103/1.431, allocations: 3.62 MB / 0.6023 GB, free: 86.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02051/1.452, allocations: 7.633 MB / 0.6098 GB, free: 79.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007199/1.453, allocations: 0.5952 MB / 0.6103 GB, free: 78.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003389/1.456, allocations: 0.7843 MB / 0.6111 GB, free: 77.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0546/1.511, allocations: 21.46 MB / 0.6321 GB, free: 54.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004174/1.511, allocations: 91.16 kB / 0.6322 GB, free: 54.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003076/1.514, allocations: 375.8 kB / 0.6325 GB, free: 54.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003845/1.518, allocations: 1.941 MB / 0.6344 GB, free: 52.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04475/1.563, allocations: 16.89 MB / 0.6509 GB, free: 35.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4579/2.021, allocations: 79.41 MB / 0.7285 GB, free: 48.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02379/2.045, allocations: 6.483 MB / 0.7348 GB, free: 47.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004557/2.049, allocations: 2.066 MB / 0.7368 GB, free: 47.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0228/2.072, allocations: 9.779 MB / 0.7464 GB, free: 45.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02004/2.092, allocations: 4.314 MB / 0.7506 GB, free: 45.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=287): time 8.114e-06/2.092, allocations: 0 / 0.7506 GB, free: 45.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=323): time 0.0917/2.184, allocations: 22.7 MB / 0.7727 GB, free: 40.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/2.184, allocations: 160 kB / 0.7729 GB, free: 40.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01152/2.195, allocations: 5.271 MB / 0.778 GB, free: 39.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005936/2.196, allocations: 76.7 kB / 0.7781 GB, free: 39.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005156/2.201, allocations: 5.273 MB / 0.7833 GB, free: 35.31 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001565/2.203, allocations: 1.231 MB / 0.7845 GB, free: 34.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009449/2.204, allocations: 194.6 kB / 0.7846 GB, free: 34.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000682/2.205, allocations: 0.7143 MB / 0.7853 GB, free: 33.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006475/2.211, allocations: 2.643 MB / 0.7879 GB, free: 32.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00899/2.22, allocations: 8.301 MB / 0.796 GB, free: 24.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009283/2.229, allocations: 4.673 MB / 0.8006 GB, free: 23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001569/2.23, allocations: 58.81 kB / 0.8006 GB, free: 23 MB / 474.7 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02436/2.254, allocations: 10.22 MB / 0.8106 GB, free: 17.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/2.254, allocations: 120.3 kB / 0.8107 GB, free: 17.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002243/2.254, allocations: 204 kB / 0.8109 GB, free: 17.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/2.255, allocations: 300.9 kB / 0.8112 GB, free: 16.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/2.265, allocations: 2.401 MB / 0.8136 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003322/2.266, allocations: 402.5 kB / 0.814 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/2.276, allocations: 0.6428 MB / 0.8146 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001921/2.278, allocations: 0.5714 MB / 0.8151 GB, free: 13.22 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: 74 ($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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1240): * Single equations (assignments): 1236 * 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.002059/2.28, allocations: 0.853 MB / 0.816 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/2.281, allocations: 0.5476 MB / 0.8165 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006968/2.288, allocations: 3.209 MB / 0.8196 GB, free: 9.035 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.02e-05/2.288, allocations: 40.97 kB / 0.8197 GB, free: 8.996 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/2.288, allocations: 0 / 0.8197 GB, free: 8.996 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.052e-05/2.288, allocations: 15.36 kB / 0.8197 GB, free: 8.996 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03703/2.325, allocations: 13.38 MB / 0.8328 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.174e-05/2.325, allocations: 32 kB / 0.8328 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003497/2.329, allocations: 0.6142 MB / 0.8334 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-05/2.329, allocations: 52 kB / 0.8334 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005737/2.329, allocations: 99.52 kB / 0.8335 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001211/2.33, allocations: 67.86 kB / 0.8336 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-05/2.33, allocations: 55.59 kB / 0.8337 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/2.348, allocations: 11.93 MB / 0.8453 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003125/2.351, allocations: 0.8458 MB / 0.8461 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/2.353, allocations: 100.1 kB / 0.8462 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00424/2.357, allocations: 222.7 kB / 0.8464 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008136/2.358, allocations: 289.8 kB / 0.8467 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003706/2.359, allocations: 136.1 kB / 0.8468 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009782/2.368, allocations: 3.642 MB / 0.8504 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.585e-06/2.368, allocations: 0 / 0.8504 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01132/2.38, allocations: 1.561 MB / 0.8519 GB, free: 9.742 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * 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 (304): * Single equations (assignments): 299 * 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.0009452/2.381, allocations: 269.7 kB / 0.8522 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01384/2.395, allocations: 5.901 MB / 0.8579 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.536e-05/2.395, allocations: 4 kB / 0.858 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004719/2.399, allocations: 1.711 MB / 0.8596 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005023/2.404, allocations: 0.7155 MB / 0.8603 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03548/2.44, allocations: 12.8 MB / 0.8728 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01341/2.453, allocations: 5.262 MB / 0.878 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01173/2.465, allocations: 2.747 MB / 0.8806 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/2.467, allocations: 399.4 kB / 0.881 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of SimCode: time 2.294e-06/2.467, allocations: 4 kB / 0.881 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.4403/2.907, allocations: 46.17 MB / 0.9261 GB, free: 164.3 MB / 0.5417 GB