Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.body.Q.1.|body1.body.Q.2.|body1.body.Q.3.|body1.body.Q.4.|body1.body.frame_a.r_0.1.|body1.body.frame_a.r_0.2.|body1.body.frame_a.r_0.3.|body1.body.w_a.1.|body1.body.w_a.2.|body1.body.w_a.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.body.Q.1.|body2.body.Q.2.|body2.body.Q.3.|body2.body.Q.4.|body2.body.frame_a.r_0.1.|body2.body.frame_a.r_0.2.|body2.body.frame_a.r_0.3.|body2.body.w_a.1.|body2.body.w_a.2.|body2.body.w_a.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.body.Q.1.|body3.body.Q.2.|body3.body.Q.3.|body3.body.Q.4.|body3.body.frame_a.r_0.1.|body3.body.frame_a.r_0.2.|body3.body.frame_a.r_0.3.|body3.body.w_a.1.|body3.body.w_a.2.|body3.body.w_a.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.478e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3887, allocations: 54.86 MB / 362.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Bodies): time 0.06641/0.4552, allocations: 40.08 MB / 402.9 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02667/0.4819, allocations: 9.318 MB / 412.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008874/0.4909, allocations: 219.4 kB / 412.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007303/0.4982, allocations: 2.084 MB / 414.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02205/0.5203, allocations: 5.949 MB / 420.5 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003962/0.5243, allocations: 0.7567 MB / 421.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0505/0.5749, allocations: 17.07 MB / 438.3 MB, free: 2.215 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006714/0.5817, allocations: 3.138 MB / 441.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.5847, allocations: 1.118 MB / 442.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0039/0.5886, allocations: 1.789 MB / 444.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003702/0.5924, allocations: 1.217 MB / 445.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.5938, allocations: 168 kB / 445.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003347/0.5972, allocations: 1.964 MB / 447.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.599, allocations: 328 kB / 448 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.6099, allocations: 6.492 MB / 454.5 MB, free: 1.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.61, allocations: 0 / 454.5 MB, free: 1.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.61, allocations: 4 kB / 454.5 MB, free: 1.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002719/0.6103, allocations: 3.938 kB / 454.5 MB, free: 1.922 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: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.02612/0.6364, allocations: 4.921 MB / 459.5 MB, free: 12.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.6365, allocations: 12.03 kB / 459.5 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3189/0.9554, allocations: 15.71 MB / 475.2 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/0.9731, allocations: 5.893 MB / 481.1 MB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003372/0.9735, allocations: 229.7 kB / 481.3 MB, free: 6.977 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004069/0.9775, allocations: 0.6552 MB / 482 MB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02857/1.006, allocations: 10.59 MB / 492.5 MB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002467/1.006, allocations: 63.44 kB / 492.6 MB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007891/1.007, allocations: 151.8 kB / 492.8 MB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005325/1.013, allocations: 1.931 MB / 494.7 MB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3327/1.345, allocations: 9.661 MB / 0.4925 GB, free: 117.7 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.07506/1.42, allocations: 44.27 MB / 0.5358 GB, free: 84.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01406/1.435, allocations: 4.055 MB / 0.5397 GB, free: 80.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/1.435, allocations: 34.66 kB / 0.5398 GB, free: 80.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/1.435, allocations: 56.77 kB / 0.5398 GB, free: 80.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 7.174e-06/1.435, allocations: 0 / 0.5398 GB, free: 80.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.1181/1.553, allocations: 23.41 MB / 0.5627 GB, free: 56.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007433/1.561, allocations: 6.233 MB / 0.5687 GB, free: 49.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01799/1.579, allocations: 5.53 MB / 0.5742 GB, free: 43.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001014/1.58, allocations: 57.53 kB / 0.5742 GB, free: 43.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004727/1.584, allocations: 3.291 MB / 0.5774 GB, free: 40.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002412/1.587, allocations: 0.913 MB / 0.5783 GB, free: 39.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001698/1.589, allocations: 143.5 kB / 0.5784 GB, free: 39.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008682/1.59, allocations: 0.6126 MB / 0.579 GB, free: 38.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01276/1.602, allocations: 3.285 MB / 0.5823 GB, free: 35.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02005/1.623, allocations: 7.531 MB / 0.5896 GB, free: 25.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01361/1.636, allocations: 4.816 MB / 0.5943 GB, free: 20.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/1.636, allocations: 44 kB / 0.5944 GB, free: 20.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.08804/1.724, allocations: 16.89 MB / 0.6109 GB, free: 3.902 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/1.725, allocations: 72.03 kB / 0.6109 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07304/1.798, allocations: 10.37 MB / 0.621 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0836/1.881, allocations: 7.979 MB / 0.6288 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01497/1.896, allocations: 1.708 MB / 0.6305 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07354/1.97, allocations: 21.37 MB / 0.6514 GB, free: 9.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/1.982, allocations: 0.7643 MB / 0.6521 GB, free: 8.738 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001963/1.984, allocations: 447.9 kB / 0.6525 GB, free: 8.301 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 683 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 (863): * Single equations (assignments): 838 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007036/1.991, allocations: 2.294 MB / 0.6548 GB, free: 5.996 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001747/1.993, allocations: 458.1 kB / 0.6552 GB, free: 5.543 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/1.996, allocations: 0.618 MB / 0.6558 GB, free: 4.918 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03052/2.026, allocations: 6.232 MB / 0.6619 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.559e-05/2.026, allocations: 8.375 kB / 0.6619 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.06e-05/2.026, allocations: 11.92 kB / 0.6619 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0358/2.062, allocations: 10.65 MB / 0.6723 GB, free: 3.863 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.576e-05/2.062, allocations: 4 kB / 0.6723 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004822/2.067, allocations: 499.4 kB / 0.6728 GB, free: 3.371 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3993/2.466, allocations: 3.674 MB / 0.6764 GB, free: 162.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008032/2.467, allocations: 95.58 kB / 0.6765 GB, free: 162.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03018/2.497, allocations: 13.9 MB / 0.6901 GB, free: 154.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005874/2.503, allocations: 5.914 MB / 0.6959 GB, free: 149.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04779/2.551, allocations: 11.02 MB / 0.7066 GB, free: 145.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/2.553, allocations: 0.5724 MB / 0.7072 GB, free: 144.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001784/2.555, allocations: 67 kB / 0.7072 GB, free: 144.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006004/2.561, allocations: 345.7 kB / 0.7076 GB, free: 144.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008559/2.562, allocations: 190.9 kB / 0.7077 GB, free: 144.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003026/2.562, allocations: 70.3 kB / 0.7078 GB, free: 144.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008515/2.571, allocations: 4.015 MB / 0.7117 GB, free: 143.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.214e-06/2.571, allocations: 0 / 0.7117 GB, free: 143.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009859/2.581, allocations: 1.762 MB / 0.7135 GB, free: 143.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 141 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/2.582, allocations: 274.1 kB / 0.7137 GB, free: 143.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02541/2.608, allocations: 9.574 MB / 0.7231 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/2.608, allocations: 4 kB / 0.7231 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01428/2.622, allocations: 4.78 MB / 0.7277 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005665/2.628, allocations: 0.6472 MB / 0.7284 GB, free: 130.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/2.66, allocations: 16.9 MB / 0.7449 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006333/2.666, allocations: 3.797 MB / 0.7486 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002265/2.669, allocations: 391.2 kB / 0.749 GB, free: 109.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.363e-06/2.669, allocations: 0 / 0.749 GB, free: 109.2 MB / 490.7 MB Notification: Performance of Templates: time 1.221/3.889, allocations: 342 MB / 1.083 GB, free: 143.4 MB / 0.4948 GB