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.162/2.162, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.096e-05, allocations: 4 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3283, allocations: 54.84 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.4792, allocations: 95.29 MB / 455 MB, free: 1.691 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.4795, allocations: 79.95 kB / 455.1 MB, free: 1.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6344/1.114, allocations: 102.4 MB / 0.5444 GB, free: 102.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.439e-06/1.114, allocations: 3.344 kB / 0.5444 GB, free: 102.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003678/1.114, allocations: 83.66 kB / 0.5445 GB, free: 102.8 MB / 458.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.03703/1.151, allocations: 6.376 MB / 0.5507 GB, free: 100.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.151, allocations: 7.625 kB / 0.5507 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04025/1.192, allocations: 7.372 MB / 0.5579 GB, free: 100.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05413/1.246, allocations: 18.22 MB / 0.5757 GB, free: 99.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003429/1.246, allocations: 309 kB / 0.576 GB, free: 99.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/1.248, allocations: 442 kB / 0.5764 GB, free: 99.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02173/1.27, allocations: 10.45 MB / 0.5866 GB, free: 93.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002652/1.27, allocations: 87.83 kB / 0.5867 GB, free: 93.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/1.271, allocations: 198.9 kB / 0.5869 GB, free: 93.72 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001744/1.273, allocations: 1.052 MB / 0.5879 GB, free: 93.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01932/1.292, allocations: 8.882 MB / 0.5966 GB, free: 89.45 MB / 458.7 MB 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.05791/1.35, allocations: 51.24 MB / 0.6467 GB, free: 36.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/1.36, allocations: 3.786 MB / 0.6504 GB, free: 32.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003146/1.363, allocations: 1.952 MB / 0.6523 GB, free: 31.01 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/1.364, allocations: 24.06 kB / 0.6523 GB, free: 30.99 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/1.364, allocations: 63.69 kB / 0.6523 GB, free: 30.92 MB / 458.7 MB Notification: Performance of pre-optimization done (n=188): time 6.699e-06/1.364, allocations: 0 / 0.6523 GB, free: 30.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=216): time 0.05048/1.414, allocations: 19.23 MB / 0.6711 GB, free: 11.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00373/1.418, allocations: 6.159 MB / 0.6771 GB, free: 4.566 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008253/1.426, allocations: 4.459 MB / 0.6815 GB, free: 116 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005219/1.427, allocations: 53.7 kB / 0.6815 GB, free: 56 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003687/1.431, allocations: 3.342 MB / 0.6848 GB, free: 12.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001615/1.432, allocations: 0.9119 MB / 0.6857 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000694/1.433, allocations: 147.3 kB / 0.6858 GB, free: 11.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006272/1.434, allocations: 0.6127 MB / 0.6864 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006787/1.44, allocations: 3.009 MB / 0.6894 GB, free: 8.043 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/1.451, allocations: 7.279 MB / 0.6965 GB, free: 14.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009467/1.461, allocations: 4.592 MB / 0.701 GB, free: 10.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/1.461, allocations: 44 kB / 0.701 GB, free: 9.996 MB / 490.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.3747/1.836, allocations: 14.95 MB / 0.7156 GB, free: 109.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/1.836, allocations: 74.73 kB / 0.7157 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03953/1.875, allocations: 8.915 MB / 0.7244 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04136/1.917, allocations: 6.728 MB / 0.7309 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006967/1.924, allocations: 1.682 MB / 0.7326 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02526/1.949, allocations: 15.7 MB / 0.7479 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009528/1.959, allocations: 0.7859 MB / 0.7487 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/1.96, allocations: 454.5 kB / 0.7491 GB, free: 101.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 694 * 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 (870): * Single equations (assignments): 845 * 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.00134/1.961, allocations: 0.6506 MB / 0.7498 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.962, allocations: 454.4 kB / 0.7502 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/1.964, allocations: 0.6133 MB / 0.7508 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01769/1.982, allocations: 5.973 MB / 0.7566 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.255e-05/1.982, allocations: 9.922 kB / 0.7566 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.703e-05/1.982, allocations: 7.453 kB / 0.7566 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02295/2.005, allocations: 10.42 MB / 0.7668 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/2.005, allocations: 3.188 kB / 0.7668 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003008/2.008, allocations: 447.4 kB / 0.7672 GB, free: 98.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01586/2.024, allocations: 3.597 MB / 0.7708 GB, free: 97.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005508/2.024, allocations: 90.67 kB / 0.7708 GB, free: 97.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/2.04, allocations: 13.6 MB / 0.7841 GB, free: 88.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003536/2.043, allocations: 5.845 MB / 0.7898 GB, free: 82.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02435/2.068, allocations: 10.65 MB / 0.8002 GB, free: 78.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/2.069, allocations: 0.5412 MB / 0.8008 GB, free: 78.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008402/2.07, allocations: 63.22 kB / 0.8008 GB, free: 78.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/2.074, allocations: 344.3 kB / 0.8011 GB, free: 78.65 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000562/2.074, allocations: 181.2 kB / 0.8013 GB, free: 78.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002871/2.075, allocations: 75.45 kB / 0.8014 GB, free: 78.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005688/2.08, allocations: 3.146 MB / 0.8045 GB, free: 77.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.143e-06/2.08, allocations: 3.469 kB / 0.8045 GB, free: 77.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008571/2.089, allocations: 1.624 MB / 0.8061 GB, free: 77.4 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 (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.0007123/2.09, allocations: 225.8 kB / 0.8063 GB, free: 77.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01744/2.107, allocations: 8.903 MB / 0.815 GB, free: 69.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.015e-06/2.107, allocations: 0.9375 kB / 0.815 GB, free: 69.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008992/2.116, allocations: 4.588 MB / 0.8194 GB, free: 65.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/2.12, allocations: 0.6251 MB / 0.8201 GB, free: 64.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/2.142, allocations: 12.8 MB / 0.8326 GB, free: 52.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004886/2.147, allocations: 3.792 MB / 0.8363 GB, free: 48.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001616/2.149, allocations: 375.3 kB / 0.8366 GB, free: 47.89 MB / 490.7 MB Notification: Performance of SimCode: time 2.161e-06/2.149, allocations: 0 / 0.8366 GB, free: 47.89 MB / 490.7 MB Notification: Performance of Templates: time 1.004/3.153, allocations: 336.7 MB / 1.165 GB, free: 124.9 MB / 0.5261 GB