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_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadModel(ModelicaTest): time 2.38/2.38, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.078e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1534, allocations: 61.91 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.4618/0.6153, allocations: 71.23 MB / 482.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04733/0.6627, allocations: 15.14 MB / 497.3 MB, free: 1.105 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01857/0.6814, allocations: 375.2 kB / 497.7 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01402/0.6954, allocations: 3.702 MB / 0.4896 GB, free: 13.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04097/0.7365, allocations: 10.02 MB / 0.4994 GB, free: 2.977 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007083/0.7436, allocations: 1.034 MB / 0.5004 GB, free: 1.941 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00856/0.7522, allocations: 2.771 MB / 0.5031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01724/0.7695, allocations: 7.626 MB / 0.5106 GB, free: 7.492 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003872/0.7734, allocations: 1.305 MB / 0.5118 GB, free: 6.184 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004916/0.7784, allocations: 2.194 MB / 0.514 GB, free: 3.984 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.7819, allocations: 0.8037 MB / 0.5148 GB, free: 3.18 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00185/0.7838, allocations: 188 kB / 0.5149 GB, free: 2.996 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004569/0.7884, allocations: 2.575 MB / 0.5175 GB, free: 424 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002387/0.7909, allocations: 448 kB / 0.5179 GB, free: 15.97 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.8055, allocations: 8.834 MB / 0.5265 GB, free: 7.121 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8055, allocations: 0 / 0.5265 GB, free: 7.121 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.8056, allocations: 0 / 0.5265 GB, free: 7.121 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004329/0.806, allocations: 3.938 kB / 0.5265 GB, free: 7.117 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: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.01985/0.8259, allocations: 6.323 MB / 0.5327 GB, free: 0.707 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.8259, allocations: 8.031 kB / 0.5327 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02174/0.8477, allocations: 3.208 MB / 0.5358 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.8593, allocations: 3.831 MB / 0.5396 GB, free: 9.586 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000636/0.86, allocations: 435.1 kB / 0.54 GB, free: 9.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002735/0.8627, allocations: 0.5621 MB / 0.5405 GB, free: 8.598 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07055/0.9333, allocations: 20.55 MB / 0.5606 GB, free: 2.891 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000374/0.9337, allocations: 71.3 kB / 0.5607 GB, free: 2.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002407/0.9362, allocations: 271.8 kB / 0.5609 GB, free: 2.555 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009769/0.946, allocations: 3.341 MB / 0.5642 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06711/1.013, allocations: 16.61 MB / 0.5804 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7961/1.809, allocations: 67.94 MB / 0.6468 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07448/1.884, allocations: 14.19 MB / 0.6606 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03047/1.914, allocations: 13.87 MB / 0.6742 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06774/1.982, allocations: 12.2 MB / 0.6861 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=264): time 6.913e-06/1.982, allocations: 0 / 0.6861 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=298): time 0.2111/2.193, allocations: 40.42 MB / 0.7255 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.715e-05/2.193, allocations: 162.8 kB / 0.7257 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01199/2.205, allocations: 5.539 MB / 0.7311 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006678/2.206, allocations: 73.7 kB / 0.7312 GB, free: 58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004464/2.211, allocations: 4.916 MB / 0.736 GB, free: 53.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001627/2.212, allocations: 1.149 MB / 0.7371 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009218/2.213, allocations: 188 kB / 0.7373 GB, free: 51.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005405/2.214, allocations: 0.6956 MB / 0.738 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008017/2.222, allocations: 3.016 MB / 0.7409 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01143/2.233, allocations: 8.593 MB / 0.7493 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/2.245, allocations: 4.916 MB / 0.7541 GB, free: 31.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/2.245, allocations: 56.28 kB / 0.7542 GB, free: 31.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.02905/2.274, allocations: 11.38 MB / 0.7653 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/2.274, allocations: 117.8 kB / 0.7654 GB, free: 20.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002227/2.274, allocations: 203.9 kB / 0.7656 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/2.276, allocations: 0.5243 MB / 0.7661 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01377/2.289, allocations: 2.269 MB / 0.7683 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/2.293, allocations: 2.712 MB / 0.7709 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009553/2.303, allocations: 0.5306 MB / 0.7715 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001587/2.305, allocations: 0.5444 MB / 0.772 GB, free: 13.32 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: 83 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (1185): * Single equations (assignments): 1180 * 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.007379/2.312, allocations: 3.175 MB / 0.7751 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/2.313, allocations: 0.5308 MB / 0.7756 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/2.323, allocations: 3.957 MB / 0.7795 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.188e-05/2.323, allocations: 29.25 kB / 0.7795 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/2.323, allocations: 4 kB / 0.7795 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.264e-05/2.323, allocations: 11.95 kB / 0.7795 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04769/2.371, allocations: 12.42 MB / 0.7916 GB, free: 8.738 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-05/2.371, allocations: 24 kB / 0.7917 GB, free: 8.715 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008352/2.38, allocations: 0.6248 MB / 0.7923 GB, free: 8.09 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/2.38, allocations: 44 kB / 0.7923 GB, free: 8.047 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006018/2.38, allocations: 96.58 kB / 0.7924 GB, free: 7.953 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001044/2.381, allocations: 55.8 kB / 0.7925 GB, free: 7.898 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-05/2.381, allocations: 43.8 kB / 0.7925 GB, free: 7.855 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/2.397, allocations: 10.68 MB / 0.8029 GB, free: 11.59 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/2.399, allocations: 0.5995 MB / 0.8035 GB, free: 10.96 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/2.4, allocations: 87.97 kB / 0.8036 GB, free: 10.88 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003734/2.404, allocations: 176.8 kB / 0.8038 GB, free: 10.71 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005952/2.405, allocations: 260.5 kB / 0.804 GB, free: 10.45 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/2.405, allocations: 112.7 kB / 0.8041 GB, free: 10.34 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01045/2.415, allocations: 3.877 MB / 0.8079 GB, free: 6.465 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.262e-06/2.415, allocations: 0 / 0.8079 GB, free: 6.465 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01531/2.431, allocations: 1.529 MB / 0.8094 GB, free: 4.941 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 122 * 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 (280): * Single equations (assignments): 275 * 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.001397/2.432, allocations: 266.9 kB / 0.8097 GB, free: 4.68 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.3769/2.809, allocations: 6.778 MB / 0.8163 GB, free: 182.3 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-05/2.809, allocations: 3.656 kB / 0.8163 GB, free: 182.3 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.005163/2.814, allocations: 1.642 MB / 0.8179 GB, free: 182.2 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005479/2.82, allocations: 0.7037 MB / 0.8186 GB, free: 182.2 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05087/2.871, allocations: 18.31 MB / 0.8365 GB, free: 172.7 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01705/2.888, allocations: 5.039 MB / 0.8414 GB, free: 171 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003365/2.891, allocations: 462.7 kB / 0.8418 GB, free: 171 MB / 0.5418 GB Notification: Performance of SimCode: time 1.262e-06/2.891, allocations: 0 / 0.8418 GB, free: 171 MB / 0.5418 GB Notification: Performance of Templates: time 0.1914/3.083, allocations: 98.93 MB / 0.9384 GB, free: 86.26 MB / 0.5418 GB