Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|referenceSystem.pointMass1.w_a.1.|referenceSystem.pointMass1.w_a.2.|referenceSystem.pointMass1.w_a.3.|referenceSystem.pointMass3.v_0.1.|referenceSystem.pointMass6.frame_a.r_0.1.|referenceSystem.pointMass6.frame_a.r_0.2.|referenceSystem.pointMass6.frame_a.r_0.3.|referenceSystem.pointMass6.v_0.2.|referenceSystem.pointMass6.v_0.3.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadModel(Modelica): time 2.311/2.311, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.888e-05/3.882e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1402, allocations: 50.41 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.5534/0.6937, allocations: 90.22 MB / 435.2 MB, free: 1.973 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05487/0.7487, allocations: 18.88 MB / 454.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02408/0.7728, allocations: 493.9 kB / 454.6 MB, free: 8.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01761/0.7905, allocations: 4.731 MB / 459.3 MB, free: 4.738 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05341/0.8439, allocations: 12.92 MB / 472.2 MB, free: 7.797 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008503/0.8525, allocations: 1.385 MB / 473.6 MB, free: 6.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01167/0.8642, allocations: 4.093 MB / 477.7 MB, free: 2.309 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01451/0.8788, allocations: 6.756 MB / 484.5 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005064/0.8839, allocations: 1.898 MB / 486.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006286/0.8902, allocations: 2.825 MB / 489.2 MB, free: 6.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004144/0.8944, allocations: 0.9715 MB / 490.1 MB, free: 5.797 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002159/0.8966, allocations: 216 kB / 490.4 MB, free: 5.586 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005927/0.9026, allocations: 3.339 MB / 493.7 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003057/0.9057, allocations: 0.5391 MB / 494.2 MB, free: 1.699 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01822/0.9239, allocations: 11.69 MB / 0.4941 GB, free: 5.977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.924, allocations: 0 / 0.4941 GB, free: 5.977 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.924, allocations: 0 / 0.4941 GB, free: 5.977 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005023/0.9245, allocations: 0 / 0.4941 GB, free: 5.977 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2889 * Number of variables: 2889 Notification: Performance of Generate backend data structure: time 0.02616/0.9507, allocations: 7.732 MB / 0.5016 GB, free: 14.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.9508, allocations: 8.031 kB / 0.5016 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03373/0.9845, allocations: 3.818 MB / 0.5054 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0221/1.007, allocations: 6.932 MB / 0.5121 GB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006834/1.007, allocations: 455.6 kB / 0.5126 GB, free: 2.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00419/1.012, allocations: 0.7879 MB / 0.5133 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09412/1.106, allocations: 24.19 MB / 0.537 GB, free: 8.461 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006201/1.106, allocations: 118.9 kB / 0.5371 GB, free: 8.344 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002785/1.109, allocations: 291.7 kB / 0.5373 GB, free: 8.059 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0112/1.121, allocations: 3.924 MB / 0.5412 GB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7275/1.848, allocations: 23.39 MB / 0.564 GB, free: 149.8 MB / 458.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.147/1.995, allocations: 94.59 MB / 0.6564 GB, free: 73.75 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1075/2.103, allocations: 14.55 MB / 0.6706 GB, free: 59.09 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007283/2.104, allocations: 375.4 kB / 0.6709 GB, free: 58.69 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/2.104, allocations: 76.45 kB / 0.671 GB, free: 58.6 MB / 458.8 MB Notification: Performance of pre-optimization done (n=275): time 6.502e-06/2.104, allocations: 0 / 0.671 GB, free: 58.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=375): time 0.9757/3.079, allocations: 95.81 MB / 0.7646 GB, free: 136 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00269/3.082, allocations: 3.136 MB / 0.7677 GB, free: 132.9 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01606/3.098, allocations: 7.189 MB / 0.7747 GB, free: 128.4 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001268/3.1, allocations: 78.8 kB / 0.7747 GB, free: 128.3 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005135/3.105, allocations: 5.741 MB / 0.7804 GB, free: 123 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002601/3.107, allocations: 1.461 MB / 0.7818 GB, free: 121.6 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00186/3.109, allocations: 225.3 kB / 0.782 GB, free: 121.4 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001045/3.11, allocations: 0.7821 MB / 0.7828 GB, free: 120.6 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01333/3.124, allocations: 5.874 MB / 0.7885 GB, free: 114.7 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01705/3.141, allocations: 12.4 MB / 0.8006 GB, free: 99.27 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01759/3.158, allocations: 8.221 MB / 0.8086 GB, free: 91.18 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002166/3.159, allocations: 71.94 kB / 0.8087 GB, free: 91.11 MB / 458.8 MB Notification: Performance of matching and sorting (n=1459) (initialization): time 0.108/3.267, allocations: 26.84 MB / 0.8349 GB, free: 64.25 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/3.267, allocations: 106.3 kB / 0.835 GB, free: 64.15 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02862/3.296, allocations: 7.134 MB / 0.842 GB, free: 57 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0652/3.361, allocations: 9.744 MB / 0.8515 GB, free: 47.23 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0145/3.375, allocations: 2.46 MB / 0.8539 GB, free: 44.77 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4528/3.828, allocations: 42.65 MB / 0.8955 GB, free: 122.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01553/3.844, allocations: 0.8865 MB / 0.8964 GB, free: 122.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003078/3.847, allocations: 0.6773 MB / 0.8971 GB, free: 122.3 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1053 * Number of states: 0 () * Number of discrete variables: 89 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,referenceSystem.fixedTranslation5.color[3],referenceSystem.fixedTranslation5.color[2],referenceSystem.fixedTranslation5.color[1],referenceSystem.fixedTranslation4.color[3],referenceSystem.fixedTranslation4.color[2],referenceSystem.fixedTranslation4.color[1],referenceSystem.fixedTranslation3.color[3],referenceSystem.fixedTranslation3.color[2],referenceSystem.fixedTranslation3.color[1],referenceSystem.fixedTranslation2.color[3],referenceSystem.fixedTranslation2.color[2],referenceSystem.fixedTranslation2.color[1],referenceSystem.fixedTranslation1.color[3],referenceSystem.fixedTranslation1.color[2],referenceSystem.fixedTranslation1.color[1],referenceSystem.fixedTranslation.color[3],referenceSystem.fixedTranslation.color[2],referenceSystem.fixedTranslation.color[1],referenceSystem.pointMass6.sphereColor[3],referenceSystem.pointMass6.sphereColor[2],referenceSystem.pointMass6.sphereColor[1],referenceSystem.pointMass5.sphereColor[3],referenceSystem.pointMass5.sphereColor[2],referenceSystem.pointMass5.sphereColor[1],referenceSystem.pointMass4.sphereColor[3],referenceSystem.pointMass4.sphereColor[2],referenceSystem.pointMass4.sphereColor[1],referenceSystem.pointMass3.sphereColor[3],referenceSystem.pointMass3.sphereColor[2],referenceSystem.pointMass3.sphereColor[1],referenceSystem.pointMass2.sphereColor[3],referenceSystem.pointMass2.sphereColor[2],referenceSystem.pointMass2.sphereColor[1],referenceSystem.pointMass1.sphereColor[3],referenceSystem.pointMass1.sphereColor[2],referenceSystem.pointMass1.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],pointMass6.sphereColor[3],pointMass6.sphereColor[2],pointMass6.sphereColor[1],pointMass5.sphereColor[3],pointMass5.sphereColor[2],pointMass5.sphereColor[1],pointMass4.sphereColor[3],pointMass4.sphereColor[2],pointMass4.sphereColor[1],pointMass3.sphereColor[3],pointMass3.sphereColor[2],pointMass3.sphereColor[1],pointMass2.sphereColor[3],pointMass2.sphereColor[2],pointMass2.sphereColor[1],pointMass1.sphereColor[3],pointMass1.sphereColor[2],pointMass1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1322): * Single equations (assignments): 1308 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 36,(3,100.0%) 2,(6,100.0%) 36} * Non-linear torn systems: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.0123/3.859, allocations: 3.958 MB / 0.9009 GB, free: 122.1 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002453/3.862, allocations: 0.6735 MB / 0.9016 GB, free: 122.1 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/3.866, allocations: 1.07 MB / 0.9026 GB, free: 121.8 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07386/3.94, allocations: 16.14 MB / 0.9184 GB, free: 117.7 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.428e-05/3.94, allocations: 23.62 kB / 0.9184 GB, free: 117.7 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/3.94, allocations: 18.42 kB / 0.9184 GB, free: 117.7 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1221/4.062, allocations: 34.3 MB / 0.9519 GB, free: 99.68 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.98e-05/4.063, allocations: 4 kB / 0.952 GB, free: 99.68 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004973/4.068, allocations: 0.5304 MB / 0.9525 GB, free: 99.17 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05974/4.127, allocations: 8.06 MB / 0.9603 GB, free: 91.16 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001243/4.129, allocations: 111.9 kB / 0.9604 GB, free: 91.05 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0796/4.208, allocations: 36.62 MB / 0.9962 GB, free: 54.11 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002406/4.211, allocations: 2.972 MB / 0.9991 GB, free: 50.88 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08682/4.298, allocations: 24.42 MB / 1.023 GB, free: 26.71 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/4.3, allocations: 0.7053 MB / 1.024 GB, free: 26.2 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003034/4.303, allocations: 75.98 kB / 1.024 GB, free: 26.12 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008334/4.311, allocations: 439.2 kB / 1.024 GB, free: 25.69 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001804/4.313, allocations: 283.2 kB / 1.024 GB, free: 25.42 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007102/4.314, allocations: 123.9 kB / 1.025 GB, free: 25.3 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01136/4.325, allocations: 5.091 MB / 1.029 GB, free: 20.24 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.42e-07/4.325, allocations: 0 / 1.029 GB, free: 20.24 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01427/4.34, allocations: 2.476 MB / 1.032 GB, free: 17.77 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],referenceSystem.pointMass1.frame_a.r_0[1],referenceSystem.pointMass1.frame_a.r_0[2],referenceSystem.pointMass1.frame_a.r_0[3],referenceSystem.pointMass1.v_0[1],referenceSystem.pointMass1.v_0[2],referenceSystem.pointMass1.v_0[3],referenceSystem.pointMass6.w_a[1],referenceSystem.pointMass6.w_a[2],referenceSystem.pointMass6.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 248 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 36,(6,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001644/4.341, allocations: 258.1 kB / 1.032 GB, free: 17.52 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.03188/4.373, allocations: 14.83 MB / 1.047 GB, free: 2.625 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/4.373, allocations: 0 / 1.047 GB, free: 2.625 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01511/4.388, allocations: 6.227 MB / 1.053 GB, free: 12.3 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007867/4.396, allocations: 0.876 MB / 1.054 GB, free: 11.45 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3866/4.783, allocations: 26.3 MB / 1.079 GB, free: 134.5 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01555/4.799, allocations: 6.222 MB / 1.085 GB, free: 133.5 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003019/4.802, allocations: 0.5335 MB / 1.086 GB, free: 133.5 MB / 474.8 MB Notification: Performance of SimCode: time 1.453e-06/4.802, allocations: 0 / 1.086 GB, free: 133.5 MB / 474.8 MB Notification: Performance of Templates: time 1.327/6.129, allocations: 341.8 MB / 1.42 GB, free: 145.8 MB / 490.8 MB