Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadModel(ModelicaTest): time 2.313/2.313, allocations: 270 MB / 282.7 MB, free: 1.809 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.446e-05/4.456e-05, allocations: 4 kB / 347 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.352, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.5205, allocations: 109.2 MB / 0.5059 GB, free: 13.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.5207, allocations: 79.95 kB / 0.506 GB, free: 13.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7416/1.262, allocations: 140.7 MB / 0.6434 GB, free: 11.84 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.56e-06/1.262, allocations: 0 / 0.6434 GB, free: 11.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003522/1.263, allocations: 140 kB / 0.6436 GB, free: 11.7 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01918/1.282, allocations: 6.324 MB / 0.6497 GB, free: 5.293 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.282, allocations: 8.031 kB / 0.6497 GB, free: 5.285 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02094/1.303, allocations: 3.551 MB / 0.6532 GB, free: 1.719 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02165/1.325, allocations: 7.065 MB / 0.6601 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008057/1.325, allocations: 0.5657 MB / 0.6607 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003153/1.329, allocations: 0.7496 MB / 0.6614 GB, free: 9.273 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05931/1.388, allocations: 20.57 MB / 0.6815 GB, free: 3.102 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003867/1.388, allocations: 107.1 kB / 0.6816 GB, free: 2.996 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002471/1.391, allocations: 363.8 kB / 0.6819 GB, free: 2.641 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004202/1.395, allocations: 1.827 MB / 0.6837 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04896/1.444, allocations: 16.06 MB / 0.6994 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4187/1.863, allocations: 77.08 MB / 0.7747 GB, free: 45.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02124/1.884, allocations: 6.078 MB / 0.7806 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003806/1.888, allocations: 1.943 MB / 0.7825 GB, free: 44.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01884/1.907, allocations: 9.249 MB / 0.7915 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/1.907, allocations: 62.38 kB / 0.7916 GB, free: 42.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=257): time 6.912e-06/1.907, allocations: 0 / 0.7916 GB, free: 42.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=291): time 0.06973/1.977, allocations: 19.63 MB / 0.8108 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/1.977, allocations: 161.2 kB / 0.8109 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008853/1.986, allocations: 5.1 MB / 0.8159 GB, free: 37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004095/1.986, allocations: 71.05 kB / 0.816 GB, free: 36.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003015/1.989, allocations: 4.813 MB / 0.8207 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001171/1.99, allocations: 1.112 MB / 0.8218 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000711/1.991, allocations: 188.4 kB / 0.8219 GB, free: 33.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005558/1.992, allocations: 0.6994 MB / 0.8226 GB, free: 32.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005291/1.997, allocations: 2.431 MB / 0.825 GB, free: 32.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008265/2.005, allocations: 7.914 MB / 0.8327 GB, free: 24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008413/2.014, allocations: 4.367 MB / 0.837 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001541/2.014, allocations: 58.38 kB / 0.837 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.02182/2.036, allocations: 9.419 MB / 0.8462 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000155/2.036, allocations: 95.06 kB / 0.8463 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002045/2.036, allocations: 200.2 kB / 0.8465 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/2.037, allocations: 288.3 kB / 0.8468 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009746/2.046, allocations: 2.237 MB / 0.849 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003205/2.047, allocations: 389.6 kB / 0.8493 GB, free: 20 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009678/2.056, allocations: 0.5697 MB / 0.8499 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001685/2.058, allocations: 0.5426 MB / 0.8504 GB, free: 19.75 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: 78 (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 (1174): * Single equations (assignments): 1171 * Array equations: 3 * Algorithm blocks: 0 * 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.001893/2.06, allocations: 0.8286 MB / 0.8512 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/2.061, allocations: 0.5168 MB / 0.8517 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005705/2.067, allocations: 2.793 MB / 0.8545 GB, free: 16.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.966e-05/2.067, allocations: 28.55 kB / 0.8545 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/2.067, allocations: 0 / 0.8545 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.219e-05/2.067, allocations: 17.41 kB / 0.8545 GB, free: 16.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02618/2.093, allocations: 12.27 MB / 0.8665 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.76e-05/2.093, allocations: 32 kB / 0.8665 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/2.096, allocations: 0.5211 MB / 0.867 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.615e-05/2.096, allocations: 48 kB / 0.8671 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002192/2.096, allocations: 90.89 kB / 0.8672 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.723e-05/2.096, allocations: 66.64 kB / 0.8672 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.104e-05/2.096, allocations: 54.7 kB / 0.8673 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/2.108, allocations: 10.99 MB / 0.878 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001953/2.11, allocations: 0.5885 MB / 0.8786 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/2.111, allocations: 91.36 kB / 0.8787 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003627/2.114, allocations: 194.2 kB / 0.8789 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005429/2.115, allocations: 271.2 kB / 0.8791 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/2.115, allocations: 119.4 kB / 0.8792 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008404/2.124, allocations: 3.522 MB / 0.8827 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.92e-07/2.124, allocations: 0 / 0.8827 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01017/2.134, allocations: 1.478 MB / 0.8841 GB, free: 2.582 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 266 * Array equations: 3 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008358/2.135, allocations: 275 kB / 0.8844 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01221/2.147, allocations: 5.399 MB / 0.8897 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-05/2.147, allocations: 4 kB / 0.8897 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002721/2.15, allocations: 1.242 MB / 0.8909 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004613/2.154, allocations: 0.715 MB / 0.8916 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03337/2.188, allocations: 12.77 MB / 0.904 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01209/2.2, allocations: 5.029 MB / 0.909 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/2.202, allocations: 437.6 kB / 0.9094 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of SimCode: time 1.788e-06/2.202, allocations: 0 / 0.9094 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of Templates: time 0.4586/2.661, allocations: 81.28 MB / 0.9887 GB, free: 127.3 MB / 0.5573 GB