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_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") Notification: Performance of loadModel(ModelicaTest): time 2.561/2.561, allocations: 270 MB / 283.6 MB, free: 1.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.34e-05, allocations: 4 kB / 348.4 MB, free: 2.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3325, allocations: 61.87 MB / 410.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2185/0.551, allocations: 108.6 MB / 0.5067 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.5513, allocations: 75.95 kB / 0.5068 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8024/1.354, allocations: 148 MB / 0.6514 GB, free: 5.203 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.296e-06/1.354, allocations: 0 / 0.6514 GB, free: 5.203 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005312/1.354, allocations: 160 kB / 0.6515 GB, free: 5.047 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.04673/1.401, allocations: 8.848 MB / 0.6602 GB, free: 12.12 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.401, allocations: 8.031 kB / 0.6602 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04527/1.446, allocations: 7.778 MB / 0.6678 GB, free: 4.309 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03459/1.481, allocations: 10.42 MB / 0.678 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008973/1.482, allocations: 0.5857 MB / 0.6785 GB, free: 9.219 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00354/1.486, allocations: 0.8003 MB / 0.6793 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05392/1.54, allocations: 18.08 MB / 0.697 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004992/1.54, allocations: 103 kB / 0.6971 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002798/1.543, allocations: 379.8 kB / 0.6974 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003722/1.547, allocations: 1.683 MB / 0.6991 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04375/1.59, allocations: 14.37 MB / 0.7131 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4347/2.025, allocations: 81.21 MB / 0.7924 GB, free: 39.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02957/2.055, allocations: 7.544 MB / 0.7998 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005974/2.061, allocations: 3.376 MB / 0.8031 GB, free: 39.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03283/2.094, allocations: 17.18 MB / 0.8199 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/2.094, allocations: 68.89 kB / 0.8199 GB, free: 30.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 7.708e-06/2.094, allocations: 3.031 kB / 0.8199 GB, free: 30.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=329): time 0.08573/2.18, allocations: 24.02 MB / 0.8434 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004093/2.184, allocations: 6.258 MB / 0.8495 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01292/2.197, allocations: 5.735 MB / 0.8551 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006933/2.197, allocations: 81.69 kB / 0.8552 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00402/2.201, allocations: 5.346 MB / 0.8604 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001772/2.203, allocations: 1.321 MB / 0.8617 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/2.204, allocations: 196.6 kB / 0.8619 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007179/2.205, allocations: 0.7293 MB / 0.8626 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007873/2.213, allocations: 3.923 MB / 0.8664 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01321/2.226, allocations: 9.689 MB / 0.8759 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/2.239, allocations: 6.076 MB / 0.8818 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001948/2.24, allocations: 60 kB / 0.8819 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.04846/2.288, allocations: 15.87 MB / 0.8974 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001938/2.288, allocations: 92 kB / 0.8975 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02542/2.314, allocations: 7.899 MB / 0.9052 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02047/2.334, allocations: 3.914 MB / 0.909 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01086/2.345, allocations: 2.364 MB / 0.9113 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02327/2.369, allocations: 13.64 MB / 0.9246 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3628/2.731, allocations: 0.8732 MB / 0.9255 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003857/2.735, allocations: 0.5988 MB / 0.9261 GB, free: 124.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.004653/2.74, allocations: 0.8793 MB / 0.9269 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002396/2.743, allocations: 0.6004 MB / 0.9275 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02279/2.765, allocations: 7.794 MB / 0.9351 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01851/2.784, allocations: 6.94 MB / 0.9419 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.17e-05/2.784, allocations: 6.469 kB / 0.9419 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-05/2.784, allocations: 17.89 kB / 0.9419 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04906/2.833, allocations: 19.53 MB / 0.961 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-05/2.833, allocations: 3.75 kB / 0.961 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004619/2.838, allocations: 0.6544 MB / 0.9616 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01306/2.851, allocations: 3.141 MB / 0.9647 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008417/2.852, allocations: 107.8 kB / 0.9648 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/2.869, allocations: 14.01 MB / 0.9785 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003919/2.873, allocations: 6.027 MB / 0.9844 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02758/2.901, allocations: 12.72 MB / 0.9968 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/2.903, allocations: 0.6478 MB / 0.9974 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002033/2.905, allocations: 90.72 kB / 0.9975 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005697/2.911, allocations: 380.7 kB / 0.9979 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/2.912, allocations: 246.2 kB / 0.9981 GB, free: 106 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004185/2.912, allocations: 100.6 kB / 0.9982 GB, free: 106 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009339/2.921, allocations: 3.987 MB / 1.002 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.64e-07/2.922, allocations: 2.625 kB / 1.002 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01204/2.934, allocations: 2.093 MB / 1.004 GB, free: 104.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.001098/2.935, allocations: 270.6 kB / 1.004 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02311/2.958, allocations: 11.08 MB / 1.015 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/2.958, allocations: 0 / 1.015 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01192/2.97, allocations: 5.396 MB / 1.021 GB, free: 97.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005708/2.976, allocations: 0.8574 MB / 1.021 GB, free: 97.28 MB / 0.5573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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.03659/3.012, allocations: 16.97 MB / 1.038 GB, free: 84.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01078/3.023, allocations: 5.525 MB / 1.043 GB, free: 80.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01054/3.034, allocations: 3.033 MB / 1.046 GB, free: 78.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002027/3.036, allocations: 434.2 kB / 1.047 GB, free: 78.31 MB / 0.5573 GB Notification: Performance of SimCode: time 2.165e-06/3.036, allocations: 0 / 1.047 GB, free: 78.31 MB / 0.5573 GB Notification: Performance of Templates: time 0.2319/3.268, allocations: 75.32 MB / 1.12 GB, free: 10.25 MB / 0.5573 GB