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.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies") Notification: Performance of loadModel(ModelicaTest): time 1.831/1.831, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.541e-05, allocations: 4 kB / 273.1 MB, free: 3.676 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08808/0.08814, allocations: 48.7 MB / 321.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.354/0.4421, allocations: 88.58 MB / 410.3 MB, free: 4.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.4424, allocations: 75.42 kB / 410.4 MB, free: 4.238 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3937/0.8361, allocations: 102.2 MB / 0.5006 GB, free: 7.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.34e-06/0.8362, allocations: 0 / 0.5006 GB, free: 7.945 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003608/0.8366, allocations: 91.98 kB / 0.5007 GB, free: 7.855 MB / 410.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.03733/0.8739, allocations: 6.368 MB / 0.5069 GB, free: 1.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.874, allocations: 12.03 kB / 0.5069 GB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04387/0.9178, allocations: 7.31 MB / 0.514 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2999/1.218, allocations: 18.18 MB / 0.5318 GB, free: 84.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004319/1.218, allocations: 308.1 kB / 0.5321 GB, free: 84.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/1.22, allocations: 439 kB / 0.5325 GB, free: 84.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02397/1.244, allocations: 10.44 MB / 0.5427 GB, free: 81.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002952/1.245, allocations: 90.03 kB / 0.5428 GB, free: 81.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001299/1.246, allocations: 204 kB / 0.543 GB, free: 81.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001991/1.248, allocations: 1.043 MB / 0.544 GB, free: 81.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0205/1.268, allocations: 8.887 MB / 0.5527 GB, free: 81.46 MB / 426.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.06398/1.332, allocations: 51.16 MB / 0.6026 GB, free: 46.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/1.344, allocations: 3.806 MB / 0.6063 GB, free: 45.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003413/1.347, allocations: 1.955 MB / 0.6083 GB, free: 44.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/1.347, allocations: 27.78 kB / 0.6083 GB, free: 44.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/1.347, allocations: 65.69 kB / 0.6083 GB, free: 44.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=188): time 6.728e-06/1.347, allocations: 0 / 0.6083 GB, free: 44.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=216): time 0.06038/1.408, allocations: 19.21 MB / 0.6271 GB, free: 35.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005909/1.414, allocations: 6.156 MB / 0.6331 GB, free: 29.55 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/1.424, allocations: 4.489 MB / 0.6375 GB, free: 27.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005388/1.425, allocations: 60.91 kB / 0.6376 GB, free: 27.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002748/1.427, allocations: 3.333 MB / 0.6408 GB, free: 25.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.429, allocations: 0.9111 MB / 0.6417 GB, free: 24.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008454/1.43, allocations: 143.9 kB / 0.6418 GB, free: 24.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004745/1.43, allocations: 0.6205 MB / 0.6424 GB, free: 23.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005759/1.436, allocations: 2.952 MB / 0.6453 GB, free: 21.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00784/1.444, allocations: 7.222 MB / 0.6524 GB, free: 12.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007826/1.452, allocations: 4.539 MB / 0.6568 GB, free: 8.336 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/1.452, allocations: 44 kB / 0.6569 GB, free: 8.293 MB / 426.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.03325/1.485, allocations: 12.25 MB / 0.6688 GB, free: 14.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/1.485, allocations: 68 kB / 0.6689 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01921/1.505, allocations: 6.164 MB / 0.6749 GB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01661/1.521, allocations: 3.481 MB / 0.6783 GB, free: 7.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009935/1.531, allocations: 1.69 MB / 0.68 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3274/1.859, allocations: 11.77 MB / 0.6914 GB, free: 83.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/1.869, allocations: 0.7763 MB / 0.6922 GB, free: 83.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001706/1.871, allocations: 452.7 kB / 0.6926 GB, free: 83.1 MB / 442.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): 8 * Torn equation systems: 6 * 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: 0 * 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: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001676/1.872, allocations: 0.6513 MB / 0.6933 GB, free: 82.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.873, allocations: 452.5 kB / 0.6937 GB, free: 82.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/1.875, allocations: 0.6148 MB / 0.6943 GB, free: 82.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01906/1.894, allocations: 5.985 MB / 0.7001 GB, free: 82.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.852e-05/1.894, allocations: 7.406 kB / 0.7002 GB, free: 82.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.993e-05/1.894, allocations: 16.09 kB / 0.7002 GB, free: 82.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0266/1.921, allocations: 10.43 MB / 0.7103 GB, free: 81.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.289e-05/1.921, allocations: 7.625 kB / 0.7104 GB, free: 81.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/1.924, allocations: 443 kB / 0.7108 GB, free: 81.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01557/1.94, allocations: 3.593 MB / 0.7143 GB, free: 81.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006018/1.941, allocations: 91.95 kB / 0.7144 GB, free: 81.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/1.957, allocations: 13.59 MB / 0.7276 GB, free: 74.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003718/1.961, allocations: 5.85 MB / 0.7334 GB, free: 68.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0254/1.986, allocations: 10.64 MB / 0.7437 GB, free: 67.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002798/1.989, allocations: 0.9065 MB / 0.7446 GB, free: 67.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/1.99, allocations: 76.19 kB / 0.7447 GB, free: 67.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005188/1.996, allocations: 333.3 kB / 0.745 GB, free: 67.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008709/1.996, allocations: 192.5 kB / 0.7452 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000296/1.997, allocations: 74.33 kB / 0.7453 GB, free: 67.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006796/2.004, allocations: 3.144 MB / 0.7483 GB, free: 66.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-06/2.004, allocations: 6.891 kB / 0.7484 GB, free: 66.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009232/2.013, allocations: 1.582 MB / 0.7499 GB, free: 66.14 MB / 442.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.0008309/2.014, allocations: 222 kB / 0.7501 GB, free: 66.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01837/2.032, allocations: 8.776 MB / 0.7587 GB, free: 62.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/2.032, allocations: 3.438 kB / 0.7587 GB, free: 62.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01043/2.043, allocations: 4.583 MB / 0.7632 GB, free: 60.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004841/2.047, allocations: 0.6242 MB / 0.7638 GB, free: 60.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02406/2.072, allocations: 12.8 MB / 0.7763 GB, free: 54.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006371/2.078, allocations: 3.78 MB / 0.78 GB, free: 53.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/2.08, allocations: 374.6 kB / 0.7803 GB, free: 53.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.78e-06/2.08, allocations: 0 / 0.7803 GB, free: 53.34 MB / 442.7 MB Notification: Performance of Templates: time 0.9324/3.012, allocations: 334.2 MB / 1.107 GB, free: 79.27 MB / 474.7 MB