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.3_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") Notification: Performance of loadModel(ModelicaTest): time 2.339/2.339, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.872e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.319, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.4898, allocations: 106.5 MB / 488.7 MB, free: 1.988 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.4901, allocations: 79.97 kB / 488.8 MB, free: 1.91 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7798/1.27, allocations: 146.3 MB / 0.6202 GB, free: 53.15 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.217e-06/1.27, allocations: 0 / 0.6202 GB, free: 53.15 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004867/1.27, allocations: 163.9 kB / 0.6204 GB, free: 52.99 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.04291/1.313, allocations: 8.864 MB / 0.629 GB, free: 44.05 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.313, allocations: 15.97 kB / 0.6291 GB, free: 44.03 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03956/1.353, allocations: 7.774 MB / 0.6366 GB, free: 36.23 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02946/1.383, allocations: 11.06 MB / 0.6474 GB, free: 25.1 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000653/1.383, allocations: 0.5818 MB / 0.648 GB, free: 24.52 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003006/1.386, allocations: 0.7978 MB / 0.6488 GB, free: 23.72 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04467/1.431, allocations: 18.07 MB / 0.6664 GB, free: 4.094 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005268/1.432, allocations: 103.1 kB / 0.6665 GB, free: 3.992 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002821/1.434, allocations: 375.8 kB / 0.6669 GB, free: 3.625 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002846/1.437, allocations: 1.695 MB / 0.6686 GB, free: 1.93 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04193/1.479, allocations: 14.37 MB / 0.6826 GB, free: 3.539 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4349/1.914, allocations: 81.3 MB / 0.762 GB, free: 50.96 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02933/1.943, allocations: 7.539 MB / 0.7693 GB, free: 50.29 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005945/1.949, allocations: 3.384 MB / 0.7726 GB, free: 50.25 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03083/1.98, allocations: 17.23 MB / 0.7895 GB, free: 45.27 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/1.98, allocations: 67.66 kB / 0.7895 GB, free: 45.23 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=301): time 7.88e-06/1.98, allocations: 0 / 0.7895 GB, free: 45.23 MB / 0.4949 GB Notification: Performance of matching and sorting (n=329): time 0.08568/2.066, allocations: 24.24 MB / 0.8132 GB, free: 39.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003887/2.07, allocations: 6.264 MB / 0.8193 GB, free: 33.39 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01187/2.082, allocations: 5.8 MB / 0.825 GB, free: 31.35 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000719/2.083, allocations: 75.06 kB / 0.8251 GB, free: 31.28 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00389/2.087, allocations: 5.366 MB / 0.8303 GB, free: 27.15 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001718/2.088, allocations: 1.318 MB / 0.8316 GB, free: 26.2 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009022/2.089, allocations: 205.3 kB / 0.8318 GB, free: 26.04 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005719/2.09, allocations: 0.7289 MB / 0.8325 GB, free: 25.55 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008082/2.098, allocations: 3.924 MB / 0.8363 GB, free: 24.22 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01135/2.109, allocations: 9.691 MB / 0.8458 GB, free: 15.12 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/2.121, allocations: 6.079 MB / 0.8517 GB, free: 12.69 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001761/2.121, allocations: 56 kB / 0.8518 GB, free: 12.63 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.04208/2.163, allocations: 15.88 MB / 0.8673 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/2.164, allocations: 92.94 kB / 0.8674 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02462/2.188, allocations: 7.9 MB / 0.8751 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01969/2.208, allocations: 3.908 MB / 0.8789 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01546/2.223, allocations: 2.364 MB / 0.8812 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03721/2.261, allocations: 13.53 MB / 0.8944 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01842/2.279, allocations: 0.8785 MB / 0.8953 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002331/2.281, allocations: 0.5945 MB / 0.8959 GB, free: 6.836 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 936 * Number of states: 0 () * Number of discrete variables: 78 (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.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 (1240): * Single equations (assignments): 1215 * 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.003037/2.285, allocations: 0.8865 MB / 0.8967 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001631/2.286, allocations: 0.6016 MB / 0.8973 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02209/2.308, allocations: 7.833 MB / 0.905 GB, free: 15.23 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01961/2.328, allocations: 6.936 MB / 0.9117 GB, free: 8.641 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.999e-05/2.328, allocations: 8 kB / 0.9118 GB, free: 8.633 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.012e-05/2.328, allocations: 15.94 kB / 0.9118 GB, free: 8.617 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3658/2.694, allocations: 19.54 MB / 0.9309 GB, free: 137.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/2.694, allocations: 3.844 kB / 0.9309 GB, free: 137.9 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00485/2.699, allocations: 0.6612 MB / 0.9315 GB, free: 137.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0133/2.712, allocations: 3.128 MB / 0.9346 GB, free: 137.8 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007813/2.713, allocations: 113.1 kB / 0.9347 GB, free: 137.8 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/2.73, allocations: 14.01 MB / 0.9483 GB, free: 130.1 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003823/2.734, allocations: 6.024 MB / 0.9542 GB, free: 124.7 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0265/2.761, allocations: 12.73 MB / 0.9667 GB, free: 123 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/2.763, allocations: 0.6614 MB / 0.9673 GB, free: 122.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/2.765, allocations: 94.64 kB / 0.9674 GB, free: 122.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005036/2.77, allocations: 386.2 kB / 0.9678 GB, free: 122.9 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/2.771, allocations: 244.8 kB / 0.968 GB, free: 122.9 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004164/2.771, allocations: 104.6 kB / 0.9681 GB, free: 122.9 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.008944/2.78, allocations: 4.035 MB / 0.972 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.222e-06/2.78, allocations: 0 / 0.972 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01188/2.792, allocations: 2.095 MB / 0.9741 GB, free: 122.7 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (269): * Single equations (assignments): 252 * 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.001053/2.793, allocations: 260.6 kB / 0.9743 GB, free: 122.6 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02235/2.815, allocations: 11.08 MB / 0.9852 GB, free: 119.9 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 8.778e-06/2.815, allocations: 3.094 kB / 0.9852 GB, free: 119.9 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01226/2.828, allocations: 5.392 MB / 0.9904 GB, free: 117.3 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/2.833, allocations: 0.8514 MB / 0.9913 GB, free: 117 MB / 0.5418 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Parts.mo:1808:5-1810: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.3/Mechanics/MultiBody/Parts.mo:1808:5-1810: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.3/Mechanics/MultiBody/Parts.mo:1808:5-1810: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.3/Mechanics/MultiBody/Parts.mo:1805:5-1807: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.3/Mechanics/MultiBody/Parts.mo:1805:5-1807: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.3/Mechanics/MultiBody/Parts.mo:1805:5-1807: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.03439/2.868, allocations: 17.02 MB / 1.008 GB, free: 109.9 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008643/2.876, allocations: 5.544 MB / 1.013 GB, free: 105.9 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.009952/2.886, allocations: 3.033 MB / 1.016 GB, free: 104 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001871/2.888, allocations: 433.9 kB / 1.017 GB, free: 103.6 MB / 0.5418 GB Notification: Performance of SimCode: time 1.588e-06/2.888, allocations: 0 / 1.017 GB, free: 103.6 MB / 0.5418 GB Notification: Performance of Templates: time 0.1789/3.067, allocations: 75.57 MB / 1.09 GB, free: 37.47 MB / 0.5418 GB