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_ModelicaTest.MultiBody.InitializationConversion.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.513/2.513, allocations: 270.1 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.496e-05, allocations: 0 / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.6012, allocations: 103.4 MB / 0.5017 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.6015, allocations: 79.95 kB / 0.5017 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4036/1.005, allocations: 103.8 MB / 0.6031 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.281e-06/1.005, allocations: 0 / 0.6031 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000355/1.006, allocations: 88 kB / 0.6032 GB, free: 8.059 MB / 0.5105 GB 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.03643/1.042, allocations: 6.368 MB / 0.6095 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.042, allocations: 8.031 kB / 0.6095 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3451/1.387, allocations: 7.359 MB / 0.6166 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05637/1.444, allocations: 17.74 MB / 0.634 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006038/1.444, allocations: 315.5 kB / 0.6343 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002091/1.446, allocations: 439.5 kB / 0.6347 GB, free: 116 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02374/1.47, allocations: 10.47 MB / 0.6449 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00035/1.47, allocations: 82.83 kB / 0.645 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001538/1.472, allocations: 209.4 kB / 0.6452 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001995/1.474, allocations: 1.05 MB / 0.6462 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01946/1.494, allocations: 8.893 MB / 0.6549 GB, free: 112.6 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.06011/1.554, allocations: 51.22 MB / 0.7049 GB, free: 74.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/1.57, allocations: 3.812 MB / 0.7086 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005659/1.575, allocations: 1.955 MB / 0.7106 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/1.576, allocations: 28.97 kB / 0.7106 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.224e-05/1.576, allocations: 58.14 kB / 0.7106 GB, free: 71.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=188): time 1.195e-05/1.576, allocations: 0 / 0.7106 GB, free: 71.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=216): time 0.06934/1.645, allocations: 18.96 MB / 0.7291 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003888/1.649, allocations: 6.162 MB / 0.7352 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008963/1.658, allocations: 4.384 MB / 0.7394 GB, free: 51.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000521/1.659, allocations: 53.7 kB / 0.7395 GB, free: 51.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002778/1.662, allocations: 3.503 MB / 0.7429 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001291/1.663, allocations: 0.9146 MB / 0.7438 GB, free: 47.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007654/1.664, allocations: 144 kB / 0.7439 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000477/1.664, allocations: 0.608 MB / 0.7445 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005961/1.67, allocations: 3.013 MB / 0.7475 GB, free: 43.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008128/1.678, allocations: 7.302 MB / 0.7546 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007914/1.686, allocations: 4.615 MB / 0.7591 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/1.686, allocations: 44 kB / 0.7592 GB, free: 30.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.05332/1.74, allocations: 15.15 MB / 0.774 GB, free: 17.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/1.74, allocations: 72 kB / 0.774 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03782/1.778, allocations: 8.912 MB / 0.7827 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04091/1.819, allocations: 6.727 MB / 0.7893 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007159/1.826, allocations: 1.7 MB / 0.791 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3444/2.17, allocations: 15.68 MB / 0.8063 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009943/2.18, allocations: 0.7831 MB / 0.807 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00173/2.182, allocations: 453.7 kB / 0.8075 GB, free: 108.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * 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 (873): * Single equations (assignments): 848 * 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.001638/2.184, allocations: 0.6526 MB / 0.8081 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/2.185, allocations: 451.5 kB / 0.8085 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/2.187, allocations: 0.6151 MB / 0.8091 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01982/2.206, allocations: 5.974 MB / 0.815 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.657e-05/2.206, allocations: 7.094 kB / 0.815 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.772e-05/2.207, allocations: 13.28 kB / 0.815 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02799/2.235, allocations: 10.39 MB / 0.8251 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.609e-05/2.235, allocations: 3.438 kB / 0.8251 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002968/2.238, allocations: 452.8 kB / 0.8256 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01588/2.254, allocations: 3.587 MB / 0.8291 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006029/2.254, allocations: 97.06 kB / 0.8292 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/2.27, allocations: 13.6 MB / 0.8424 GB, free: 99.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00372/2.274, allocations: 5.842 MB / 0.8482 GB, free: 94.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0257/2.299, allocations: 10.65 MB / 0.8586 GB, free: 92.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/2.301, allocations: 0.5246 MB / 0.8591 GB, free: 92.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/2.302, allocations: 78.28 kB / 0.8591 GB, free: 92.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004701/2.307, allocations: 339 kB / 0.8595 GB, free: 92.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00083/2.308, allocations: 186.1 kB / 0.8596 GB, free: 92.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003049/2.308, allocations: 75 kB / 0.8597 GB, free: 92.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006597/2.315, allocations: 3.082 MB / 0.8627 GB, free: 91.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.116e-06/2.315, allocations: 0 / 0.8627 GB, free: 91.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00923/2.324, allocations: 1.623 MB / 0.8643 GB, free: 91.56 MB / 0.5261 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 (156): * Single equations (assignments): 139 * 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 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,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.000774/2.325, allocations: 229.2 kB / 0.8645 GB, free: 91.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01846/2.343, allocations: 8.895 MB / 0.8732 GB, free: 88.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.461e-06/2.343, allocations: 2.938 kB / 0.8732 GB, free: 88.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01018/2.354, allocations: 4.565 MB / 0.8777 GB, free: 85.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/2.358, allocations: 0.6263 MB / 0.8783 GB, free: 85.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/2.382, allocations: 12.23 MB / 0.8902 GB, free: 80.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006564/2.389, allocations: 3.782 MB / 0.8939 GB, free: 79.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008041/2.397, allocations: 2.269 MB / 0.8961 GB, free: 79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/2.399, allocations: 324.4 kB / 0.8964 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of SimCode: time 2.162e-06/2.399, allocations: 0 / 0.8964 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of Templates: time 0.1926/2.591, allocations: 63.01 MB / 0.958 GB, free: 34.18 MB / 0.5261 GB