Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.r_0.1.|body.r_0.2.|body.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.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.r_0.1.|bodyBox.r_0.2.|bodyBox.r_0.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.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.r_0.1.|bodyCylinder.r_0.2.|bodyCylinder.r_0.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.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.r_0.1.|bodyShape.r_0.2.|bodyShape.r_0.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.1_ModelicaTest.MultiBody.Parts.FreeBodies") Notification: Performance of loadModel(ModelicaTest): time 2.002/2.002, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.726e-05, allocations: 4 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 48.7 MB / 321.8 MB, free: 2.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.476, allocations: 92.57 MB / 414.4 MB, free: 2.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4762, allocations: 73.84 kB / 414.4 MB, free: 2.305 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7433:35-7433:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7434:13-7434:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7456:35-7456:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7457:13-7457:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7478:35-7478:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7479:13-7479:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7506:35-7506:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7507:13-7507:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7518:35-7518:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7519:13-7519:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.8658/1.342, allocations: 142.3 MB / 0.5437 GB, free: 68.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.379e-06/1.342, allocations: 0 / 0.5437 GB, free: 68.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005111/1.343, allocations: 155.7 kB / 0.5439 GB, free: 68.56 MB / 426.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.0493/1.392, allocations: 8.677 MB / 0.5523 GB, free: 65.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.392, allocations: 10.72 kB / 0.5523 GB, free: 65.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04072/1.433, allocations: 7.696 MB / 0.5599 GB, free: 65.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03295/1.466, allocations: 10.91 MB / 0.5705 GB, free: 64.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008722/1.467, allocations: 0.5596 MB / 0.5711 GB, free: 64.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004297/1.471, allocations: 0.7616 MB / 0.5718 GB, free: 64.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04939/1.52, allocations: 17.37 MB / 0.5888 GB, free: 60.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003971/1.521, allocations: 106.6 kB / 0.5889 GB, free: 60.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001859/1.523, allocations: 358.4 kB / 0.5892 GB, free: 60.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002951/1.526, allocations: 1.595 MB / 0.5908 GB, free: 60.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03686/1.563, allocations: 13.75 MB / 0.6042 GB, free: 57.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1005/1.663, allocations: 79.01 MB / 0.6814 GB, free: 3.551 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3008/1.964, allocations: 7.126 MB / 0.6883 GB, free: 77.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005927/1.97, allocations: 3.205 MB / 0.6914 GB, free: 77.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02983/2, allocations: 14.68 MB / 0.7058 GB, free: 74.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/2, allocations: 70.02 kB / 0.7058 GB, free: 74.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 8.231e-06/2, allocations: 2.906 kB / 0.7059 GB, free: 74.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.0784/2.078, allocations: 22.98 MB / 0.7283 GB, free: 70.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004078/2.082, allocations: 6.237 MB / 0.7344 GB, free: 64.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/2.095, allocations: 5.757 MB / 0.74 GB, free: 63.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000686/2.096, allocations: 69.23 kB / 0.7401 GB, free: 63.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003956/2.1, allocations: 5.283 MB / 0.7452 GB, free: 61.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001597/2.101, allocations: 1.178 MB / 0.7464 GB, free: 60.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009814/2.102, allocations: 196.6 kB / 0.7466 GB, free: 60.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006222/2.103, allocations: 0.7189 MB / 0.7473 GB, free: 60.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00786/2.111, allocations: 3.791 MB / 0.751 GB, free: 59.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01107/2.122, allocations: 9.526 MB / 0.7603 GB, free: 50.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/2.133, allocations: 5.904 MB / 0.766 GB, free: 48.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001572/2.133, allocations: 56.78 kB / 0.7661 GB, free: 48.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.03658/2.169, allocations: 14.58 MB / 0.7803 GB, free: 44.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001579/2.17, allocations: 97.73 kB / 0.7804 GB, free: 44.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01599/2.186, allocations: 6.704 MB / 0.787 GB, free: 42.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01119/2.197, allocations: 2.839 MB / 0.7898 GB, free: 41.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/2.207, allocations: 2.359 MB / 0.7921 GB, free: 40.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/2.218, allocations: 11.27 MB / 0.8031 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01167/2.229, allocations: 0.862 MB / 0.8039 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001926/2.231, allocations: 0.5873 MB / 0.8045 GB, free: 28.03 MB / 442.7 MB 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 (1204): * Single equations (assignments): 1179 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * 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: 3 {1,1,1} * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001782/2.233, allocations: 0.864 MB / 0.8053 GB, free: 27.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/2.235, allocations: 0.5862 MB / 0.8059 GB, free: 26.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02675/2.261, allocations: 7.529 MB / 0.8132 GB, free: 20.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02928/2.291, allocations: 6.692 MB / 0.8198 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.477e-05/2.291, allocations: 11.94 kB / 0.8198 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-05/2.291, allocations: 13.88 kB / 0.8198 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02512/2.316, allocations: 7.434 MB / 0.8271 GB, free: 9.676 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.253e-05/2.316, allocations: 4 kB / 0.8271 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006785/2.323, allocations: 0.5987 MB / 0.8277 GB, free: 9.219 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01989/2.343, allocations: 3.132 MB / 0.8307 GB, free: 7.082 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001042/2.344, allocations: 90.92 kB / 0.8308 GB, free: 7.016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02788/2.372, allocations: 14.02 MB / 0.8445 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3466/2.718, allocations: 6.006 MB / 0.8504 GB, free: 78.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02789/2.746, allocations: 11.65 MB / 0.8617 GB, free: 77.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003736/2.75, allocations: 1.125 MB / 0.8628 GB, free: 77.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001811/2.752, allocations: 76.25 kB / 0.8629 GB, free: 77.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005183/2.757, allocations: 383.8 kB / 0.8633 GB, free: 77.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/2.758, allocations: 217.2 kB / 0.8635 GB, free: 77.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004035/2.759, allocations: 90.03 kB / 0.8636 GB, free: 77.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009881/2.769, allocations: 4.004 MB / 0.8675 GB, free: 77.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.329e-06/2.769, allocations: 0 / 0.8675 GB, free: 77.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01154/2.78, allocations: 2.005 MB / 0.8694 GB, free: 77.02 MB / 458.7 MB 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.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.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.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_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.000948/2.781, allocations: 234.2 kB / 0.8697 GB, free: 76.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02172/2.803, allocations: 10.37 MB / 0.8798 GB, free: 75.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/2.803, allocations: 0 / 0.8798 GB, free: 75.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01229/2.815, allocations: 5.237 MB / 0.8849 GB, free: 74.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005407/2.821, allocations: 0.8236 MB / 0.8857 GB, free: 74.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03527/2.856, allocations: 16.42 MB / 0.9017 GB, free: 70.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01123/2.867, allocations: 5.402 MB / 0.907 GB, free: 69.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01034/2.878, allocations: 2.933 MB / 0.9099 GB, free: 68.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002159/2.88, allocations: 429.2 kB / 0.9103 GB, free: 68.86 MB / 458.7 MB Notification: Performance of SimCode: time 2.316e-06/2.88, allocations: 0 / 0.9103 GB, free: 68.86 MB / 458.7 MB Notification: Performance of Templates: time 0.2187/3.099, allocations: 70.1 MB / 0.9787 GB, free: 28.38 MB / 458.7 MB