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_ModelicaTest.MultiBody.InitializationConversion.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.407/2.407, allocations: 234.9 MB / 249.4 MB, free: 10.99 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.318e-05/4.316e-05, allocations: 4 kB / 308 MB, free: 328 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3745, allocations: 54.87 MB / 362.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Bodies): time 0.06897/0.4436, allocations: 40.09 MB / 403 MB, free: 3.633 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03411/0.4778, allocations: 9.317 MB / 412.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0114/0.4892, allocations: 215.4 kB / 412.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009965/0.4993, allocations: 2.08 MB / 414.6 MB, free: 7.984 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02534/0.5247, allocations: 5.952 MB / 420.5 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004905/0.5296, allocations: 0.7528 MB / 421.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.05152/0.5812, allocations: 17.07 MB / 438.4 MB, free: 180 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006632/0.5879, allocations: 3.136 MB / 441.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002984/0.5909, allocations: 1.118 MB / 442.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004164/0.5951, allocations: 1.789 MB / 444.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.599, allocations: 1.221 MB / 445.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001319/0.6004, allocations: 168 kB / 445.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003375/0.6038, allocations: 1.96 MB / 447.7 MB, free: 6.719 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.6057, allocations: 331.9 kB / 448.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.6172, allocations: 6.492 MB / 454.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6172, allocations: 0 / 454.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.6173, allocations: 0 / 454.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002762/0.6175, allocations: 0 / 454.6 MB, free: 15.89 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: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.01966/0.6372, allocations: 4.929 MB / 459.5 MB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.6373, allocations: 12.03 kB / 459.5 MB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2423/0.8796, allocations: 15.71 MB / 475.2 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01823/0.8979, allocations: 5.889 MB / 481.1 MB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003732/0.8983, allocations: 233.7 kB / 481.3 MB, free: 4.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004032/0.9024, allocations: 0.6552 MB / 482 MB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3688/1.271, allocations: 10.58 MB / 492.6 MB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002687/1.272, allocations: 67.12 kB / 492.6 MB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009019/1.272, allocations: 151.1 kB / 492.8 MB, free: 103.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00499/1.277, allocations: 1.932 MB / 494.7 MB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02797/1.305, allocations: 9.669 MB / 0.4926 GB, free: 98.34 MB / 410.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.07584/1.381, allocations: 44.26 MB / 0.5358 GB, free: 53.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02052/1.402, allocations: 4.055 MB / 0.5397 GB, free: 49.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/1.402, allocations: 28.06 kB / 0.5398 GB, free: 49.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.967e-05/1.403, allocations: 62.69 kB / 0.5398 GB, free: 49.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=190): time 9.178e-06/1.403, allocations: 0 / 0.5398 GB, free: 49.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.1387/1.541, allocations: 23.41 MB / 0.5627 GB, free: 25.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007084/1.548, allocations: 6.237 MB / 0.5688 GB, free: 18.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01755/1.566, allocations: 5.534 MB / 0.5742 GB, free: 12.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00121/1.567, allocations: 57.3 kB / 0.5742 GB, free: 12.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005501/1.573, allocations: 3.454 MB / 0.5776 GB, free: 9.102 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002889/1.576, allocations: 0.9128 MB / 0.5785 GB, free: 8.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001683/1.578, allocations: 140 kB / 0.5786 GB, free: 8.059 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008297/1.579, allocations: 0.6156 MB / 0.5792 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01193/1.591, allocations: 3.281 MB / 0.5824 GB, free: 4.152 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01303/1.604, allocations: 7.527 MB / 0.5898 GB, free: 10.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/1.616, allocations: 4.811 MB / 0.5945 GB, free: 5.707 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001459/1.616, allocations: 44 kB / 0.5945 GB, free: 5.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.09864/1.715, allocations: 17.08 MB / 0.6112 GB, free: 4.527 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/1.715, allocations: 68.94 kB / 0.6113 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07655/1.792, allocations: 10.38 MB / 0.6214 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08197/1.874, allocations: 7.979 MB / 0.6292 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/1.884, allocations: 1.708 MB / 0.6309 GB, free: 292 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06059/1.945, allocations: 21.37 MB / 0.6517 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0123/1.957, allocations: 0.7641 MB / 0.6525 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001989/1.959, allocations: 451.8 kB / 0.6529 GB, free: 8.926 MB / 490.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.006997/1.966, allocations: 2.296 MB / 0.6552 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/1.968, allocations: 450.2 kB / 0.6556 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/1.97, allocations: 0.6218 MB / 0.6562 GB, free: 5.543 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.367/2.337, allocations: 6.225 MB / 0.6623 GB, free: 162.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.879e-05/2.337, allocations: 8.844 kB / 0.6623 GB, free: 162.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.859e-05/2.338, allocations: 13.25 kB / 0.6623 GB, free: 162.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03604/2.374, allocations: 10.66 MB / 0.6727 GB, free: 159.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-05/2.374, allocations: 3.938 kB / 0.6727 GB, free: 159.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006644/2.38, allocations: 493.8 kB / 0.6732 GB, free: 159.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02672/2.407, allocations: 3.674 MB / 0.6768 GB, free: 159.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007495/2.408, allocations: 89.12 kB / 0.6769 GB, free: 159.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0219/2.43, allocations: 13.91 MB / 0.6904 GB, free: 149.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004739/2.435, allocations: 5.919 MB / 0.6962 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03689/2.472, allocations: 11.02 MB / 0.707 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/2.474, allocations: 0.5705 MB / 0.7075 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002462/2.476, allocations: 71.95 kB / 0.7076 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00676/2.483, allocations: 355.9 kB / 0.7079 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/2.484, allocations: 175.6 kB / 0.7081 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003635/2.485, allocations: 78.25 kB / 0.7082 GB, free: 136.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008403/2.493, allocations: 4.013 MB / 0.7121 GB, free: 132.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.72e-07/2.493, allocations: 0 / 0.7121 GB, free: 132.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009701/2.503, allocations: 1.758 MB / 0.7138 GB, free: 131.1 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.001583/2.504, allocations: 273.3 kB / 0.7141 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02576/2.53, allocations: 9.567 MB / 0.7234 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/2.53, allocations: 0 / 0.7234 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01482/2.545, allocations: 4.754 MB / 0.7281 GB, free: 116.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006674/2.552, allocations: 0.6443 MB / 0.7287 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03277/2.585, allocations: 16.37 MB / 0.7447 GB, free: 99.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007072/2.592, allocations: 3.793 MB / 0.7484 GB, free: 95.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009913/2.602, allocations: 2.289 MB / 0.7506 GB, free: 93.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/2.604, allocations: 331.3 kB / 0.7509 GB, free: 92.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.553e-06/2.604, allocations: 0 / 0.7509 GB, free: 92.79 MB / 490.7 MB Notification: Performance of Templates: time 0.1847/2.789, allocations: 72.76 MB / 0.822 GB, free: 20.09 MB / 490.7 MB