Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadModel(ModelicaTest): time 2.288/2.288, allocations: 270 MB / 282.7 MB, free: 1.758 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.235e-05, allocations: 7.984 kB / 347 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3227, allocations: 61.87 MB / 408.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.169/0.4918, allocations: 109.8 MB / 0.5065 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.4921, allocations: 75.95 kB / 0.5066 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7511/1.243, allocations: 141.2 MB / 0.6444 GB, free: 10.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.798e-06/1.243, allocations: 3.938 kB / 0.6444 GB, free: 10.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006662/1.244, allocations: 151.9 kB / 0.6446 GB, free: 10.59 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.06715/1.311, allocations: 6.425 MB / 0.6508 GB, free: 4.086 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.311, allocations: 12.02 kB / 0.6509 GB, free: 4.074 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02063/1.332, allocations: 3.555 MB / 0.6543 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02178/1.354, allocations: 7.081 MB / 0.6612 GB, free: 9.359 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007397/1.354, allocations: 0.5735 MB / 0.6618 GB, free: 8.785 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002835/1.357, allocations: 0.7535 MB / 0.6625 GB, free: 8.031 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05556/1.413, allocations: 20.59 MB / 0.6826 GB, free: 1.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003232/1.413, allocations: 91.16 kB / 0.6827 GB, free: 1.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001553/1.415, allocations: 367.8 kB / 0.6831 GB, free: 1.391 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003835/1.419, allocations: 1.831 MB / 0.6849 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04781/1.467, allocations: 16.08 MB / 0.7006 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7174/2.184, allocations: 77.15 MB / 0.7759 GB, free: 43.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02018/2.204, allocations: 6.108 MB / 0.7819 GB, free: 43.22 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003697/2.208, allocations: 1.946 MB / 0.7838 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01803/2.226, allocations: 9.28 MB / 0.7928 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01668/2.243, allocations: 4.066 MB / 0.7968 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=260): time 7.353e-06/2.243, allocations: 0 / 0.7968 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=294): time 0.06479/2.308, allocations: 19.7 MB / 0.8161 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/2.308, allocations: 156.5 kB / 0.8162 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009129/2.317, allocations: 5.123 MB / 0.8212 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004281/2.317, allocations: 70.61 kB / 0.8213 GB, free: 35.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003972/2.321, allocations: 4.921 MB / 0.8261 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/2.323, allocations: 1.127 MB / 0.8272 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006612/2.323, allocations: 184.3 kB / 0.8274 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005175/2.324, allocations: 0.6936 MB / 0.828 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004801/2.329, allocations: 2.449 MB / 0.8304 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007915/2.336, allocations: 7.928 MB / 0.8382 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00801/2.345, allocations: 4.413 MB / 0.8425 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/2.345, allocations: 56.09 kB / 0.8425 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02093/2.366, allocations: 9.483 MB / 0.8518 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/2.366, allocations: 122 kB / 0.8519 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002192/2.366, allocations: 196.9 kB / 0.8521 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/2.366, allocations: 295.3 kB / 0.8524 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009336/2.376, allocations: 2.249 MB / 0.8546 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003386/2.376, allocations: 386.8 kB / 0.8549 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009231/2.385, allocations: 0.5938 MB / 0.8555 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/2.387, allocations: 0.542 MB / 0.856 GB, free: 14.31 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.001935/2.389, allocations: 0.8313 MB / 0.8569 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009253/2.39, allocations: 0.5206 MB / 0.8574 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005781/2.396, allocations: 2.823 MB / 0.8601 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.257e-05/2.396, allocations: 31.95 kB / 0.8602 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/2.396, allocations: 0 / 0.8602 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.433e-05/2.396, allocations: 16.52 kB / 0.8602 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02561/2.422, allocations: 12.18 MB / 0.8721 GB, free: 15.92 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.782e-05/2.422, allocations: 32 kB / 0.8721 GB, free: 15.89 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/2.425, allocations: 0.5433 MB / 0.8726 GB, free: 15.42 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/2.425, allocations: 48 kB / 0.8727 GB, free: 15.38 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/2.425, allocations: 84 kB / 0.8728 GB, free: 15.29 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.966e-05/2.425, allocations: 63.45 kB / 0.8728 GB, free: 15.24 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-05/2.425, allocations: 47.81 kB / 0.8729 GB, free: 15.19 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/2.438, allocations: 10.85 MB / 0.8835 GB, free: 2.93 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001926/2.44, allocations: 0.5984 MB / 0.884 GB, free: 2.336 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009257/2.441, allocations: 94.8 kB / 0.8841 GB, free: 2.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003007/2.444, allocations: 208.5 kB / 0.8843 GB, free: 2.09 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004742/2.444, allocations: 278.6 kB / 0.8846 GB, free: 1.883 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/2.445, allocations: 118.9 kB / 0.8847 GB, free: 1.773 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01254/2.457, allocations: 3.78 MB / 0.8884 GB, free: 15.22 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.182e-06/2.457, allocations: 4 kB / 0.8884 GB, free: 15.21 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01024/2.468, allocations: 1.485 MB / 0.8898 GB, free: 13.74 MB / 0.5418 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.0007928/2.468, allocations: 274.1 kB / 0.8901 GB, free: 13.49 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0126/2.481, allocations: 5.469 MB / 0.8955 GB, free: 8.453 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.664e-05/2.481, allocations: 8.25 kB / 0.8955 GB, free: 8.445 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.003573/2.485, allocations: 1.408 MB / 0.8968 GB, free: 7.148 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004574/2.489, allocations: 0.7222 MB / 0.8975 GB, free: 6.543 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0448/2.534, allocations: 13.44 MB / 0.9107 GB, free: 12.16 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0114/2.545, allocations: 5.035 MB / 0.9156 GB, free: 8.469 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001835/2.547, allocations: 446.7 kB / 0.916 GB, free: 8.043 MB / 0.5574 GB Notification: Performance of SimCode: time 2.565e-06/2.547, allocations: 0 / 0.916 GB, free: 8.043 MB / 0.5574 GB Notification: Performance of Templates: time 0.494/3.041, allocations: 81.78 MB / 0.9959 GB, free: 119.3 MB / 0.5574 GB