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_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.473e-05, allocations: 0 / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2981, allocations: 44.5 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.1294/0.4276, allocations: 86.59 MB / 389.9 MB, free: 6.906 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05238/0.48, allocations: 18.14 MB / 408 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02016/0.5003, allocations: 466.9 kB / 408.5 MB, free: 4.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01683/0.5171, allocations: 4.624 MB / 413.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05405/0.5713, allocations: 12.37 MB / 425.5 MB, free: 3.199 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009098/0.5804, allocations: 1.393 MB / 426.9 MB, free: 1.805 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.3215/0.902, allocations: 4.127 MB / 431 MB, free: 3.434 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01307/0.9151, allocations: 6.766 MB / 437.8 MB, free: 2.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005126/0.9203, allocations: 1.927 MB / 439.7 MB, free: 2.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006059/0.9264, allocations: 2.88 MB / 442.6 MB, free: 2.895 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004345/0.9308, allocations: 0.9663 MB / 443.5 MB, free: 2.891 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002549/0.9334, allocations: 223.6 kB / 443.8 MB, free: 2.891 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00579/0.9393, allocations: 3.391 MB / 447.2 MB, free: 2.891 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0036/0.9429, allocations: 0.5509 MB / 447.7 MB, free: 2.891 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02337/0.9663, allocations: 12.3 MB / 460 MB, free: 0 / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9664, allocations: 0 / 460 MB, free: 0 / 362.7 MB Notification: Performance of FrontEnd: time 4.578e-06/0.9664, allocations: 64 / 460 MB, free: 0 / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005954/0.967, allocations: 2.812 kB / 460 MB, free: 0 / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2934 * Number of variables: 2934 Notification: Performance of Generate backend data structure: time 0.03143/0.9985, allocations: 7.834 MB / 467.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.9985, allocations: 9.969 kB / 467.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0351/1.034, allocations: 3.856 MB / 471.7 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01943/1.053, allocations: 7.309 MB / 479 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006415/1.054, allocations: 478.7 kB / 479.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004879/1.059, allocations: 0.7986 MB / 480.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1158/1.175, allocations: 29.3 MB / 0.4976 GB, free: 260 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005672/1.175, allocations: 120.6 kB / 0.4977 GB, free: 188 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003411/1.179, allocations: 298.3 kB / 0.498 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01285/1.192, allocations: 4.149 MB / 0.5021 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.124/1.316, allocations: 30.43 MB / 0.5318 GB, free: 6.652 MB / 426.7 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.5974/1.913, allocations: 103 MB / 0.6324 GB, free: 136 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.128/2.041, allocations: 20.04 MB / 0.6519 GB, free: 133.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009209/2.042, allocations: 386.5 kB / 0.6523 GB, free: 133.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.224e-05/2.042, allocations: 74.34 kB / 0.6524 GB, free: 133.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=314): time 7.224e-06/2.042, allocations: 0 / 0.6524 GB, free: 133.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=412): time 0.7191/2.761, allocations: 124.6 MB / 0.7741 GB, free: 14.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004015/2.765, allocations: 3.15 MB / 0.7771 GB, free: 10.65 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02637/2.792, allocations: 7.491 MB / 0.7845 GB, free: 3.191 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002752/2.795, allocations: 85.7 kB / 0.7845 GB, free: 3.102 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3822/3.177, allocations: 5.624 MB / 0.79 GB, free: 184.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004023/3.181, allocations: 1.578 MB / 0.7916 GB, free: 183.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002986/3.184, allocations: 220.7 kB / 0.7918 GB, free: 183.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00117/3.185, allocations: 0.7715 MB / 0.7925 GB, free: 182.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02203/3.207, allocations: 8.882 MB / 0.8012 GB, free: 181.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02648/3.234, allocations: 15.08 MB / 0.8159 GB, free: 169.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02633/3.26, allocations: 11.12 MB / 0.8268 GB, free: 165.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002355/3.26, allocations: 65.59 kB / 0.8269 GB, free: 165.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=1440) (initialization): time 0.1774/3.438, allocations: 37.11 MB / 0.8631 GB, free: 138.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002169/3.438, allocations: 96 kB / 0.8632 GB, free: 138.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09024/3.528, allocations: 17.5 MB / 0.8803 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09504/3.624, allocations: 14.58 MB / 0.8945 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0173/3.641, allocations: 2.659 MB / 0.8971 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1395/3.78, allocations: 58.15 MB / 0.9539 GB, free: 45.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02059/3.801, allocations: 1.244 MB / 0.9551 GB, free: 43.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003617/3.805, allocations: 0.6795 MB / 0.9558 GB, free: 43.29 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 997 * Number of states: 0 () * Number of discrete variables: 84 (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.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 (1270): * Single equations (assignments): 1256 * 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%) 66,(6,100.0%) 36,(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01341/3.818, allocations: 3.975 MB / 0.9597 GB, free: 39.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003524/3.822, allocations: 0.6827 MB / 0.9603 GB, free: 38.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3764/4.198, allocations: 11.86 MB / 0.9719 GB, free: 166.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1305/4.329, allocations: 26.64 MB / 0.9979 GB, free: 163 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001119/4.329, allocations: 27.69 kB / 0.998 GB, free: 163 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001192/4.329, allocations: 15.23 kB / 0.998 GB, free: 163 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1823/4.511, allocations: 50.21 MB / 1.047 GB, free: 124.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001101/4.512, allocations: 4 kB / 1.047 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008402/4.52, allocations: 0.8306 MB / 1.048 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08095/4.601, allocations: 12.84 MB / 1.06 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002093/4.603, allocations: 131.8 kB / 1.06 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1245/4.728, allocations: 51.8 MB / 1.111 GB, free: 58.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00246/4.73, allocations: 2.988 MB / 1.114 GB, free: 55.42 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4565/5.187, allocations: 39.43 MB / 1.152 GB, free: 153.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002792/5.19, allocations: 0.7515 MB / 1.153 GB, free: 153.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004763/5.194, allocations: 80.62 kB / 1.153 GB, free: 153.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01435/5.209, allocations: 0.7897 MB / 1.154 GB, free: 153.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003267/5.212, allocations: 324.5 kB / 1.154 GB, free: 153.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002106/5.214, allocations: 156.8 kB / 1.155 GB, free: 153.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01473/5.229, allocations: 5.358 MB / 1.16 GB, free: 153 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.022e-06/5.229, allocations: 0 / 1.16 GB, free: 153 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01905/5.248, allocations: 3.01 MB / 1.163 GB, free: 152.8 MB / 474.7 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],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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 256 * 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%) 66} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002797/5.251, allocations: 255.1 kB / 1.163 GB, free: 152.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.05121/5.302, allocations: 21.15 MB / 1.184 GB, free: 144.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/5.302, allocations: 0 / 1.184 GB, free: 144.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02242/5.325, allocations: 9.591 MB / 1.193 GB, free: 140.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008763/5.334, allocations: 0.8772 MB / 1.194 GB, free: 139.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0714/5.405, allocations: 29.4 MB / 1.223 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01553/5.421, allocations: 6.334 MB / 1.229 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005827/5.427, allocations: 0.5489 MB / 1.229 GB, free: 109.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.663e-06/5.427, allocations: 0 / 1.229 GB, free: 109.4 MB / 474.7 MB Notification: Performance of Templates: time 1.405/6.832, allocations: 378 MB / 1.598 GB, free: 57.46 MB / 474.7 MB