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_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.407/2.407, allocations: 269 MB / 284.1 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.726e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 61.9 MB / 410.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Bodies): time 0.4655/0.6023, allocations: 41.82 MB / 452.7 MB, free: 5.285 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02997/0.6324, allocations: 9.668 MB / 462.4 MB, free: 14.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01187/0.6443, allocations: 225.1 kB / 462.6 MB, free: 14.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008555/0.6529, allocations: 2.132 MB / 464.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02592/0.6789, allocations: 6.166 MB / 470.9 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004221/0.6831, allocations: 0.7596 MB / 471.7 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1224/0.8055, allocations: 47.5 MB / 0.507 GB, free: 11.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006421/0.812, allocations: 3.133 MB / 0.5101 GB, free: 8.047 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002731/0.8148, allocations: 1.118 MB / 0.5112 GB, free: 6.926 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00392/0.8188, allocations: 1.781 MB / 0.5129 GB, free: 5.141 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003855/0.8227, allocations: 1.178 MB / 0.5141 GB, free: 3.961 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.8238, allocations: 168 kB / 0.5142 GB, free: 3.797 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003167/0.827, allocations: 1.956 MB / 0.5161 GB, free: 1.836 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.8289, allocations: 328 kB / 0.5165 GB, free: 1.516 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.8402, allocations: 6.432 MB / 0.5227 GB, free: 11.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8402, allocations: 0 / 0.5227 GB, free: 11.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.8403, allocations: 4 kB / 0.5227 GB, free: 11.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002575/0.8405, allocations: 0 / 0.5227 GB, free: 11.07 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: 1498 * Number of variables: 1498 Notification: Performance of Generate backend data structure: time 0.01998/0.8605, allocations: 4.925 MB / 0.5275 GB, free: 6.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.8606, allocations: 8.031 kB / 0.5276 GB, free: 6.062 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2396/1.1, allocations: 15.7 MB / 0.5429 GB, free: 6.328 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01666/1.117, allocations: 5.276 MB / 0.548 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003352/1.117, allocations: 229.7 kB / 0.5483 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004268/1.122, allocations: 0.6553 MB / 0.5489 GB, free: 92 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02916/1.151, allocations: 10.6 MB / 0.5593 GB, free: 4.699 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002963/1.151, allocations: 63.44 kB / 0.5593 GB, free: 4.637 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001278/1.152, allocations: 147.9 kB / 0.5595 GB, free: 4.492 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005409/1.158, allocations: 1.939 MB / 0.5613 GB, free: 2.555 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02993/1.188, allocations: 9.676 MB / 0.5708 GB, free: 8.867 MB / 490.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.454/1.642, allocations: 44.28 MB / 0.614 GB, free: 143 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/1.657, allocations: 4.053 MB / 0.618 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/1.658, allocations: 24.06 kB / 0.618 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/1.658, allocations: 62.19 kB / 0.6181 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 6.352e-06/1.658, allocations: 1.25 kB / 0.6181 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=218): time 0.09393/1.752, allocations: 23.12 MB / 0.6407 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004848/1.757, allocations: 6.237 MB / 0.6467 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/1.768, allocations: 5.458 MB / 0.6521 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008208/1.769, allocations: 57.77 kB / 0.6521 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002995/1.772, allocations: 3.304 MB / 0.6554 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001892/1.774, allocations: 0.907 MB / 0.6562 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/1.775, allocations: 147.6 kB / 0.6564 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005752/1.776, allocations: 0.6136 MB / 0.657 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008341/1.784, allocations: 3.285 MB / 0.6602 GB, free: 120 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01097/1.795, allocations: 7.551 MB / 0.6676 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/1.806, allocations: 4.816 MB / 0.6723 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001585/1.807, allocations: 47.95 kB / 0.6723 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.08949/1.896, allocations: 16.92 MB / 0.6888 GB, free: 91.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/1.896, allocations: 68.94 kB / 0.6889 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07067/1.967, allocations: 10.38 MB / 0.699 GB, free: 81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07787/2.045, allocations: 7.971 MB / 0.7068 GB, free: 72.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01009/2.055, allocations: 1.719 MB / 0.7085 GB, free: 71.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06034/2.115, allocations: 21.36 MB / 0.7294 GB, free: 49.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01726/2.133, allocations: 0.7658 MB / 0.7301 GB, free: 48.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002128/2.135, allocations: 460.8 kB / 0.7306 GB, free: 47.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (866): * Single equations (assignments): 841 * 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.007907/2.143, allocations: 2.286 MB / 0.7328 GB, free: 45.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002061/2.145, allocations: 450.2 kB / 0.7332 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/2.147, allocations: 0.6179 MB / 0.7338 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02936/2.177, allocations: 6.232 MB / 0.7399 GB, free: 38.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.104e-05/2.177, allocations: 11.95 kB / 0.7399 GB, free: 38.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.366e-05/2.177, allocations: 15.97 kB / 0.7399 GB, free: 38.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03273/2.21, allocations: 10.63 MB / 0.7503 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.823e-05/2.21, allocations: 7.953 kB / 0.7503 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004556/2.214, allocations: 491.2 kB / 0.7508 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0239/2.238, allocations: 3.678 MB / 0.7544 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007435/2.239, allocations: 88.28 kB / 0.7545 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02063/2.26, allocations: 13.91 MB / 0.768 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004451/2.264, allocations: 5.929 MB / 0.7738 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03908/2.303, allocations: 11.02 MB / 0.7846 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/2.306, allocations: 0.5692 MB / 0.7852 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/2.307, allocations: 69.61 kB / 0.7852 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005985/2.313, allocations: 339.4 kB / 0.7855 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000872/2.314, allocations: 191.5 kB / 0.7857 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003305/2.314, allocations: 77.38 kB / 0.7858 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008938/2.323, allocations: 3.953 MB / 0.7897 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.21e-07/2.324, allocations: 0 / 0.7897 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01066/2.334, allocations: 1.752 MB / 0.7914 GB, free: 15.88 MB / 0.5417 GB 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.001286/2.336, allocations: 285.2 kB / 0.7916 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02866/2.364, allocations: 9.586 MB / 0.801 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/2.364, allocations: 4.062 kB / 0.801 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01592/2.38, allocations: 4.773 MB / 0.8057 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006454/2.387, allocations: 0.6358 MB / 0.8063 GB, free: 128 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3826/2.769, allocations: 16.88 MB / 0.8228 GB, free: 195.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009007/2.778, allocations: 3.779 MB / 0.8265 GB, free: 194.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002447/2.781, allocations: 390 kB / 0.8268 GB, free: 194.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.112e-06/2.781, allocations: 0 / 0.8268 GB, free: 194.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.9004/3.681, allocations: 341.2 MB / 1.16 GB, free: 79.2 MB / 0.5573 GB