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.1_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadModel(ModelicaTest): time 1.939/1.939, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.433e-05, allocations: 7.984 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.354, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.1263/0.4804, allocations: 69 MB / 393.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.06917/0.5496, allocations: 14.5 MB / 408.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01831/0.568, allocations: 363.2 kB / 408.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01368/0.5817, allocations: 3.64 MB / 412.4 MB, free: 7.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04015/0.6219, allocations: 9.661 MB / 422 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006481/0.6284, allocations: 1.038 MB / 423.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008807/0.6373, allocations: 2.876 MB / 426 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01809/0.6554, allocations: 7.71 MB / 433.7 MB, free: 2.402 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/0.6592, allocations: 1.391 MB / 435.1 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005155/0.6644, allocations: 2.353 MB / 437.4 MB, free: 14.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.6677, allocations: 0.7842 MB / 438.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001803/0.6696, allocations: 200 kB / 438.4 MB, free: 13.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004603/0.6742, allocations: 2.685 MB / 441.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00248/0.6767, allocations: 468 kB / 441.5 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01487/0.6916, allocations: 9.328 MB / 450.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.6917, allocations: 0 / 450.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.6917, allocations: 0 / 450.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004577/0.6922, allocations: 0 / 450.9 MB, free: 1.168 MB / 378.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.02216/0.7144, allocations: 6.54 MB / 457.4 MB, free: 10.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.7144, allocations: 8.031 kB / 457.4 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02283/0.7373, allocations: 3.254 MB / 460.7 MB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.7516, allocations: 4.385 MB / 465 MB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006574/0.7524, allocations: 459.4 kB / 465.5 MB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002766/0.7551, allocations: 0.5777 MB / 466.1 MB, free: 1.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5944/1.35, allocations: 21.49 MB / 487.6 MB, free: 120.4 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004685/1.35, allocations: 67.3 kB / 487.6 MB, free: 120.3 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002571/1.353, allocations: 284 kB / 487.9 MB, free: 120.2 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01145/1.364, allocations: 3.524 MB / 491.4 MB, free: 119.6 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07337/1.438, allocations: 17.5 MB / 0.497 GB, free: 113.2 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.117/1.555, allocations: 70.24 MB / 0.5656 GB, free: 46.53 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07512/1.63, allocations: 14.58 MB / 0.5798 GB, free: 31.78 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03292/1.663, allocations: 14.39 MB / 0.5939 GB, free: 17.19 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0698/1.733, allocations: 12.46 MB / 0.6061 GB, free: 4.664 MB / 410.8 MB Notification: Performance of pre-optimization done (n=287): time 9.408e-06/1.733, allocations: 4 kB / 0.6061 GB, free: 4.66 MB / 410.8 MB Notification: Performance of matching and sorting (n=323): time 0.5838/2.317, allocations: 43.61 MB / 0.6487 GB, free: 143.1 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/2.317, allocations: 164.5 kB / 0.6488 GB, free: 143 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01718/2.334, allocations: 5.691 MB / 0.6544 GB, free: 141 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008084/2.335, allocations: 77.56 kB / 0.6544 GB, free: 140.9 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006165/2.341, allocations: 5.289 MB / 0.6596 GB, free: 136.9 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00239/2.343, allocations: 1.24 MB / 0.6608 GB, free: 136 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/2.345, allocations: 196.2 kB / 0.661 GB, free: 135.8 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001219/2.346, allocations: 0.7184 MB / 0.6617 GB, free: 135.4 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01067/2.357, allocations: 3.294 MB / 0.6649 GB, free: 134.3 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01598/2.373, allocations: 9.058 MB / 0.6738 GB, free: 125.5 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/2.386, allocations: 5.252 MB / 0.6789 GB, free: 123.6 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001922/2.386, allocations: 61.84 kB / 0.679 GB, free: 123.6 MB / 442.8 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.03623/2.423, allocations: 12.27 MB / 0.6909 GB, free: 118.8 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000199/2.423, allocations: 121 kB / 0.6911 GB, free: 118.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003265/2.423, allocations: 202.4 kB / 0.6912 GB, free: 118.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/2.425, allocations: 0.5338 MB / 0.6918 GB, free: 118.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01512/2.44, allocations: 2.399 MB / 0.6941 GB, free: 118 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/2.444, allocations: 2.715 MB / 0.6968 GB, free: 115.4 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01105/2.455, allocations: 0.5677 MB / 0.6973 GB, free: 114.9 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001999/2.457, allocations: 0.5743 MB / 0.6979 GB, free: 114.3 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * 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 (1243): * Single equations (assignments): 1238 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009076/2.467, allocations: 3.316 MB / 0.7011 GB, free: 111.4 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002013/2.469, allocations: 0.5399 MB / 0.7016 GB, free: 110.9 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/2.483, allocations: 4.481 MB / 0.706 GB, free: 106.6 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.999e-05/2.484, allocations: 32 kB / 0.706 GB, free: 106.6 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/2.484, allocations: 4 kB / 0.7061 GB, free: 106.6 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.038e-05/2.484, allocations: 23.89 kB / 0.7061 GB, free: 106.6 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03992/2.524, allocations: 13.51 MB / 0.7193 GB, free: 92.66 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-05/2.524, allocations: 28 kB / 0.7193 GB, free: 92.63 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005785/2.53, allocations: 0.6911 MB / 0.72 GB, free: 91.94 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.967e-05/2.53, allocations: 47.75 kB / 0.72 GB, free: 91.9 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000622/2.53, allocations: 93.33 kB / 0.7201 GB, free: 91.81 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.99e-05/2.53, allocations: 63.72 kB / 0.7202 GB, free: 91.75 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.702e-05/2.53, allocations: 43.81 kB / 0.7202 GB, free: 91.7 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/2.549, allocations: 11.47 MB / 0.7314 GB, free: 78.71 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003306/2.553, allocations: 0.8725 MB / 0.7323 GB, free: 77.81 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00197/2.555, allocations: 95.92 kB / 0.7324 GB, free: 77.71 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004943/2.56, allocations: 191.1 kB / 0.7325 GB, free: 77.53 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008261/2.561, allocations: 280.4 kB / 0.7328 GB, free: 77.25 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003331/2.561, allocations: 120 kB / 0.7329 GB, free: 77.14 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.00988/2.571, allocations: 3.987 MB / 0.7368 GB, free: 73.15 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.553e-06/2.571, allocations: 4 kB / 0.7368 GB, free: 73.15 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01078/2.582, allocations: 1.599 MB / 0.7384 GB, free: 71.55 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 123 * 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 (308): * Single equations (assignments): 303 * 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.001201/2.583, allocations: 264.6 kB / 0.7386 GB, free: 71.3 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01953/2.603, allocations: 7.335 MB / 0.7458 GB, free: 63.97 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.737e-05/2.603, allocations: 4 kB / 0.7458 GB, free: 63.97 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005991/2.609, allocations: 1.939 MB / 0.7477 GB, free: 62.04 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007931/2.617, allocations: 0.6942 MB / 0.7484 GB, free: 61.35 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06275/2.68, allocations: 18.63 MB / 0.7666 GB, free: 42.32 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01803/2.698, allocations: 5.267 MB / 0.7717 GB, free: 37.01 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.01292/2.711, allocations: 2.774 MB / 0.7744 GB, free: 34.23 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002239/2.713, allocations: 419.2 kB / 0.7748 GB, free: 33.82 MB / 442.8 MB Notification: Performance of SimCode: time 1.623e-06/2.713, allocations: 0 / 0.7748 GB, free: 33.82 MB / 442.8 MB Notification: Performance of Templates: time 0.5301/3.243, allocations: 51.14 MB / 0.8247 GB, free: 117.4 MB / 442.8 MB