Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,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.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.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.Parts.FreeBodiesEnforceStatesFalse") Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 235 MB / 247.6 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.033e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3233, allocations: 54.86 MB / 359.8 MB, free: 2.648 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.4772, allocations: 99.28 MB / 459 MB, free: 13.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4775, allocations: 80.55 kB / 459.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.775/1.253, allocations: 142.6 MB / 0.5876 GB, free: 95.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.002e-06/1.253, allocations: 0 / 0.5876 GB, free: 95.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004882/1.253, allocations: 155.8 kB / 0.5877 GB, free: 95.03 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: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.04426/1.297, allocations: 8.672 MB / 0.5962 GB, free: 89.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.297, allocations: 11.19 kB / 0.5962 GB, free: 89.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04334/1.341, allocations: 7.749 MB / 0.6038 GB, free: 84.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03035/1.371, allocations: 10.95 MB / 0.6145 GB, free: 73.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006407/1.372, allocations: 0.5641 MB / 0.615 GB, free: 73.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003107/1.375, allocations: 0.7576 MB / 0.6158 GB, free: 72.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04337/1.418, allocations: 17.36 MB / 0.6327 GB, free: 53.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004369/1.419, allocations: 95.06 kB / 0.6328 GB, free: 53.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002703/1.422, allocations: 371.8 kB / 0.6332 GB, free: 53.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002806/1.424, allocations: 1.597 MB / 0.6347 GB, free: 51.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03481/1.459, allocations: 13.75 MB / 0.6481 GB, free: 37.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.421/1.88, allocations: 79.07 MB / 0.7254 GB, free: 49.53 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02681/1.907, allocations: 6.898 MB / 0.7321 GB, free: 48.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006125/1.913, allocations: 3.213 MB / 0.7352 GB, free: 48.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03032/1.944, allocations: 14.78 MB / 0.7497 GB, free: 45.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/1.944, allocations: 68.52 kB / 0.7497 GB, free: 45.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 7.754e-06/1.944, allocations: 3.656 kB / 0.7497 GB, free: 45.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.08359/2.028, allocations: 23.04 MB / 0.7722 GB, free: 38.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004234/2.032, allocations: 6.244 MB / 0.7783 GB, free: 32.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/2.045, allocations: 5.758 MB / 0.784 GB, free: 30.74 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007054/2.046, allocations: 68.83 kB / 0.784 GB, free: 30.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004009/2.05, allocations: 5.063 MB / 0.789 GB, free: 26.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001756/2.052, allocations: 1.185 MB / 0.7901 GB, free: 25.81 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/2.053, allocations: 191.5 kB / 0.7903 GB, free: 25.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009136/2.054, allocations: 0.7234 MB / 0.791 GB, free: 25.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008186/2.062, allocations: 3.844 MB / 0.7948 GB, free: 23.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01155/2.074, allocations: 9.566 MB / 0.8041 GB, free: 14.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/2.086, allocations: 5.958 MB / 0.8099 GB, free: 12.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001724/2.086, allocations: 60.72 kB / 0.81 GB, free: 12.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.0422/2.128, allocations: 15.39 MB / 0.825 GB, free: 1.664 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/2.128, allocations: 92 kB / 0.8251 GB, free: 1.574 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0269/2.155, allocations: 7.836 MB / 0.8328 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01955/2.175, allocations: 3.898 MB / 0.8366 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01066/2.185, allocations: 2.302 MB / 0.8388 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02271/2.208, allocations: 13.6 MB / 0.8521 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0122/2.22, allocations: 0.8658 MB / 0.8529 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002471/2.223, allocations: 0.5898 MB / 0.8535 GB, free: 8.648 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 933 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (1195): * Single equations (assignments): 1170 * 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 {(4,100.0%),(3,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.003721/2.227, allocations: 0.8599 MB / 0.8544 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001721/2.228, allocations: 0.5784 MB / 0.8549 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02268/2.251, allocations: 7.563 MB / 0.8623 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01963/2.271, allocations: 6.719 MB / 0.8689 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.915e-05/2.271, allocations: 8 kB / 0.8689 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.022e-05/2.271, allocations: 11.95 kB / 0.8689 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02071/2.292, allocations: 7.454 MB / 0.8762 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-05/2.292, allocations: 4 kB / 0.8762 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004472/2.296, allocations: 0.5968 MB / 0.8768 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01308/2.309, allocations: 3.136 MB / 0.8798 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000826/2.31, allocations: 104.4 kB / 0.8799 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02228/2.332, allocations: 14.03 MB / 0.8936 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00612/2.339, allocations: 6.004 MB / 0.8995 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3956/2.734, allocations: 11.67 MB / 0.9109 GB, free: 160.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/2.736, allocations: 0.6408 MB / 0.9115 GB, free: 160.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001748/2.738, allocations: 81.44 kB / 0.9116 GB, free: 160.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005/2.743, allocations: 376.7 kB / 0.9119 GB, free: 160.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009762/2.744, allocations: 216.7 kB / 0.9121 GB, free: 160.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004377/2.745, allocations: 90 kB / 0.9122 GB, free: 160.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01042/2.755, allocations: 4.002 MB / 0.9161 GB, free: 160.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.059e-06/2.755, allocations: 1.594 kB / 0.9161 GB, free: 160.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01248/2.768, allocations: 2.032 MB / 0.9181 GB, free: 160.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],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],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.frame_a.r_0[1],bodyBox.body.frame_a.r_0[2],bodyBox.body.frame_a.r_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 216 * 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.001042/2.769, allocations: 245 kB / 0.9184 GB, free: 160.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02434/2.793, allocations: 10.84 MB / 0.9289 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.779e-06/2.793, allocations: 2.375 kB / 0.9289 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01263/2.806, allocations: 5.306 MB / 0.9341 GB, free: 157.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00609/2.812, allocations: 0.8237 MB / 0.9349 GB, free: 157.2 MB / 0.5417 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1838:5-1840:74:writable] Warning: Variable pointMass.v_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1838:5-1840:74:writable] Warning: Variable pointMass.v_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1838:5-1840:74:writable] Warning: Variable pointMass.v_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1835:5-1837:74:writable] Warning: Variable pointMass.r_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1835:5-1837:74:writable] Warning: Variable pointMass.r_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1835:5-1837:74:writable] Warning: Variable pointMass.r_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03864/2.851, allocations: 17.3 MB / 0.9518 GB, free: 152.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01111/2.862, allocations: 5.408 MB / 0.9571 GB, free: 151.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002424/2.864, allocations: 493.2 kB / 0.9576 GB, free: 151 MB / 0.5417 GB Notification: Performance of SimCode: time 1.999e-06/2.864, allocations: 0 / 0.9576 GB, free: 151 MB / 0.5417 GB Notification: Performance of Templates: time 1.226/4.091, allocations: 0.4999 GB / 1.457 GB, free: 43.21 MB / 0.5417 GB