Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.233e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1316, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.4361/0.5677, allocations: 71.18 MB / 482.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0499/0.6177, allocations: 15.1 MB / 497.2 MB, free: 1.102 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01953/0.6373, allocations: 375.2 kB / 497.6 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01439/0.6517, allocations: 3.702 MB / 0.4895 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04149/0.6932, allocations: 10.01 MB / 0.4993 GB, free: 2.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007504/0.7008, allocations: 1.026 MB / 0.5003 GB, free: 1.953 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008892/0.7097, allocations: 2.76 MB / 0.503 GB, free: 15.19 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01639/0.7262, allocations: 7.601 MB / 0.5104 GB, free: 7.539 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.7299, allocations: 1.298 MB / 0.5117 GB, free: 6.238 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004922/0.7348, allocations: 2.17 MB / 0.5138 GB, free: 4.062 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.7382, allocations: 0.8037 MB / 0.5146 GB, free: 3.258 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001651/0.7399, allocations: 188 kB / 0.5148 GB, free: 3.074 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004623/0.7445, allocations: 2.572 MB / 0.5173 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002417/0.747, allocations: 444 kB / 0.5177 GB, free: 64 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.7613, allocations: 8.799 MB / 0.5263 GB, free: 7.242 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.7614, allocations: 4 kB / 0.5263 GB, free: 7.238 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.7614, allocations: 3.938 kB / 0.5263 GB, free: 7.234 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004367/0.7619, allocations: 0 / 0.5263 GB, free: 7.234 MB / 442.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.01953/0.7814, allocations: 6.218 MB / 0.5324 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.7815, allocations: 11.97 kB / 0.5324 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02169/0.8032, allocations: 3.212 MB / 0.5355 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/0.8147, allocations: 3.819 MB / 0.5393 GB, free: 9.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006229/0.8153, allocations: 443.1 kB / 0.5397 GB, free: 9.387 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002699/0.818, allocations: 0.5621 MB / 0.5402 GB, free: 8.824 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0688/0.8869, allocations: 20.49 MB / 0.5602 GB, free: 3.184 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000306/0.8872, allocations: 75.3 kB / 0.5603 GB, free: 3.109 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001823/0.8891, allocations: 275.8 kB / 0.5606 GB, free: 2.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009528/0.8986, allocations: 3.337 MB / 0.5638 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06576/0.9644, allocations: 16.54 MB / 0.58 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8798/1.844, allocations: 67.84 MB / 0.6462 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09513/1.939, allocations: 14.09 MB / 0.66 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03245/1.972, allocations: 13.83 MB / 0.6735 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.253e-05/1.972, allocations: 63.28 kB / 0.6736 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=261): time 7.525e-06/1.972, allocations: 3.406 kB / 0.6736 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=295): time 0.1892/2.161, allocations: 39.85 MB / 0.7125 GB, free: 76.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/2.161, allocations: 161.8 kB / 0.7126 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/2.173, allocations: 5.522 MB / 0.718 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006642/2.174, allocations: 65.7 kB / 0.7181 GB, free: 70.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003576/2.177, allocations: 4.821 MB / 0.7228 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001586/2.179, allocations: 1.13 MB / 0.7239 GB, free: 65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009779/2.18, allocations: 184 kB / 0.7241 GB, free: 64.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006811/2.181, allocations: 0.7033 MB / 0.7248 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008149/2.189, allocations: 2.97 MB / 0.7277 GB, free: 61.13 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01132/2.2, allocations: 8.549 MB / 0.736 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/2.212, allocations: 4.848 MB / 0.7407 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/2.212, allocations: 56 kB / 0.7408 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.02906/2.241, allocations: 11.24 MB / 0.7518 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/2.241, allocations: 88 kB / 0.7519 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002746/2.242, allocations: 200.1 kB / 0.752 GB, free: 33.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/2.243, allocations: 0.524 MB / 0.7526 GB, free: 32.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01382/2.257, allocations: 2.261 MB / 0.7548 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/2.261, allocations: 2.708 MB / 0.7574 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009453/2.27, allocations: 0.5123 MB / 0.7579 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001654/2.272, allocations: 0.5468 MB / 0.7584 GB, free: 26.76 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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.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 (1181): * Single equations (assignments): 1177 * 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: 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.007304/2.279, allocations: 3.176 MB / 0.7615 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/2.28, allocations: 0.5168 MB / 0.762 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009589/2.29, allocations: 3.852 MB / 0.7658 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.584e-05/2.29, allocations: 32 kB / 0.7658 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/2.29, allocations: 6.562 kB / 0.7658 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.903e-05/2.29, allocations: 15.91 kB / 0.7659 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03148/2.322, allocations: 12.4 MB / 0.778 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.197e-05/2.322, allocations: 31.94 kB / 0.778 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004462/2.326, allocations: 0.5577 MB / 0.7785 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-05/2.326, allocations: 40 kB / 0.7786 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004383/2.327, allocations: 90.02 kB / 0.7787 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.471e-05/2.327, allocations: 59.78 kB / 0.7787 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.868e-05/2.327, allocations: 43.81 kB / 0.7788 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/2.343, allocations: 10.74 MB / 0.7893 GB, free: 9.16 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/2.345, allocations: 0.5995 MB / 0.7898 GB, free: 8.535 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001881/2.347, allocations: 85.47 kB / 0.7899 GB, free: 8.453 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004505/2.351, allocations: 151.9 kB / 0.7901 GB, free: 8.305 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008073/2.352, allocations: 256.4 kB / 0.7903 GB, free: 8.055 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003257/2.353, allocations: 116.9 kB / 0.7904 GB, free: 7.941 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01086/2.363, allocations: 3.861 MB / 0.7942 GB, free: 4.078 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.152e-06/2.363, allocations: 0 / 0.7942 GB, free: 4.078 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01071/2.374, allocations: 1.51 MB / 0.7957 GB, free: 2.574 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 122 * 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 (277): * Single equations (assignments): 274 * 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.001249/2.376, allocations: 279.2 kB / 0.7959 GB, free: 2.301 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01913/2.395, allocations: 6.638 MB / 0.8024 GB, free: 11.68 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.729e-05/2.395, allocations: 4 kB / 0.8024 GB, free: 11.68 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.004302/2.399, allocations: 1.471 MB / 0.8039 GB, free: 10.21 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005834/2.405, allocations: 0.7078 MB / 0.8045 GB, free: 9.512 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3933/2.798, allocations: 18.27 MB / 0.8224 GB, free: 175.5 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01325/2.812, allocations: 5.03 MB / 0.8273 GB, free: 174.6 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002408/2.814, allocations: 456.2 kB / 0.8277 GB, free: 174.6 MB / 0.5418 GB Notification: Performance of SimCode: time 1.723e-06/2.814, allocations: 0 / 0.8277 GB, free: 174.6 MB / 0.5418 GB Notification: Performance of Templates: time 0.1912/3.005, allocations: 98.4 MB / 0.9238 GB, free: 98.83 MB / 0.5418 GB