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_trunk_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") Notification: Performance of loadModel(ModelicaTest): time 2.58/2.58, allocations: 270 MB / 283.6 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.834e-05, allocations: 4 kB / 348.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3518, allocations: 61.87 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2183/0.5701, allocations: 108.6 MB / 0.5068 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.5704, allocations: 83.95 kB / 0.5068 GB, free: 13.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7732/1.344, allocations: 148 MB / 0.6514 GB, free: 5.051 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.481e-06/1.344, allocations: 4 kB / 0.6514 GB, free: 5.047 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005346/1.344, allocations: 159.9 kB / 0.6516 GB, free: 4.891 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: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.04566/1.39, allocations: 8.853 MB / 0.6602 GB, free: 11.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.39, allocations: 8.031 kB / 0.6602 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04433/1.434, allocations: 7.778 MB / 0.6678 GB, free: 4.148 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03444/1.469, allocations: 10.42 MB / 0.678 GB, free: 9.645 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008823/1.47, allocations: 0.5896 MB / 0.6786 GB, free: 9.055 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003514/1.473, allocations: 0.7808 MB / 0.6793 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05262/1.526, allocations: 18.08 MB / 0.697 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005268/1.526, allocations: 107.1 kB / 0.6971 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002844/1.529, allocations: 379.8 kB / 0.6975 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003641/1.533, allocations: 1.683 MB / 0.6991 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04361/1.577, allocations: 14.37 MB / 0.7131 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4388/2.015, allocations: 81.21 MB / 0.7924 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02866/2.044, allocations: 7.539 MB / 0.7998 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00615/2.05, allocations: 3.377 MB / 0.8031 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03199/2.082, allocations: 17.18 MB / 0.8199 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/2.082, allocations: 71.03 kB / 0.8199 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 8.329e-06/2.083, allocations: 0 / 0.8199 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=329): time 0.08541/2.168, allocations: 24.02 MB / 0.8434 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004063/2.172, allocations: 6.265 MB / 0.8495 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/2.185, allocations: 5.73 MB / 0.8551 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007341/2.186, allocations: 76.75 kB / 0.8552 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004131/2.19, allocations: 5.35 MB / 0.8604 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001806/2.192, allocations: 1.312 MB / 0.8617 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/2.193, allocations: 204.2 kB / 0.8619 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006636/2.193, allocations: 0.7311 MB / 0.8626 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008058/2.202, allocations: 3.928 MB / 0.8664 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01365/2.215, allocations: 9.69 MB / 0.8759 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/2.228, allocations: 6.066 MB / 0.8818 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000214/2.229, allocations: 60 kB / 0.8819 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.04806/2.277, allocations: 15.88 MB / 0.8974 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/2.277, allocations: 96 kB / 0.8975 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02501/2.302, allocations: 7.899 MB / 0.9052 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02038/2.322, allocations: 3.945 MB / 0.909 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01059/2.333, allocations: 2.368 MB / 0.9114 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02358/2.357, allocations: 13.62 MB / 0.9247 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3619/2.718, allocations: 0.9189 MB / 0.9256 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002773/2.721, allocations: 0.6008 MB / 0.9261 GB, free: 125.8 MB / 0.5573 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.003455/2.725, allocations: 0.8812 MB / 0.927 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/2.726, allocations: 0.5983 MB / 0.9276 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02222/2.749, allocations: 7.793 MB / 0.9352 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01861/2.767, allocations: 6.933 MB / 0.942 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.761e-05/2.767, allocations: 7.5 kB / 0.942 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.16e-05/2.767, allocations: 14.86 kB / 0.942 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04945/2.817, allocations: 19.54 MB / 0.9611 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.946e-05/2.817, allocations: 8.938 kB / 0.9611 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004715/2.822, allocations: 0.6517 MB / 0.9617 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0134/2.835, allocations: 3.136 MB / 0.9648 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008399/2.836, allocations: 107.4 kB / 0.9649 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/2.853, allocations: 14.02 MB / 0.9786 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003738/2.857, allocations: 6.018 MB / 0.9845 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02724/2.884, allocations: 12.72 MB / 0.9969 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/2.886, allocations: 0.6499 MB / 0.9975 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002038/2.888, allocations: 89.53 kB / 0.9976 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005606/2.894, allocations: 386 kB / 0.998 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001142/2.895, allocations: 246 kB / 0.9982 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005121/2.896, allocations: 104.8 kB / 0.9983 GB, free: 107 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009678/2.906, allocations: 3.976 MB / 1.002 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.212e-06/2.906, allocations: 2.844 kB / 1.002 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0122/2.918, allocations: 2.097 MB / 1.004 GB, free: 105.4 MB / 0.5573 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.001077/2.919, allocations: 274.4 kB / 1.004 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02263/2.942, allocations: 11.07 MB / 1.015 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/2.942, allocations: 3.25 kB / 1.015 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01246/2.954, allocations: 5.397 MB / 1.021 GB, free: 98.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005821/2.96, allocations: 0.862 MB / 1.021 GB, free: 98.3 MB / 0.5573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72: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 trunk/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72: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 trunk/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72: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 trunk/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72: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 trunk/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72: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 trunk/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72: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.03718/2.997, allocations: 16.98 MB / 1.038 GB, free: 84.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01169/3.009, allocations: 5.524 MB / 1.043 GB, free: 80.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01098/3.02, allocations: 3.03 MB / 1.046 GB, free: 78.94 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002146/3.022, allocations: 433.4 kB / 1.047 GB, free: 78.55 MB / 0.5573 GB Notification: Performance of SimCode: time 1.982e-06/3.022, allocations: 0 / 1.047 GB, free: 78.55 MB / 0.5573 GB Notification: Performance of Templates: time 0.1898/3.212, allocations: 75.31 MB / 1.12 GB, free: 10.41 MB / 0.5573 GB