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.2_ModelicaTest.MultiBody.Parts.FreeBodies") Notification: Performance of loadModel(ModelicaTest): time 2.354/2.354, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.692e-05, allocations: 4 kB / 304.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3287, allocations: 54.85 MB / 359.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.5218, allocations: 99.27 MB / 459.1 MB, free: 13.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003856/0.5223, allocations: 71.97 kB / 459.1 MB, free: 13.53 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6721:35-6721: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.2/MultiBody.mo:6722:13-6722: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.2/MultiBody.mo:6743:35-6743: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.2/MultiBody.mo:6744:13-6744: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.2/MultiBody.mo:6765:35-6765: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.2/MultiBody.mo:6766:13-6766: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.2/MultiBody.mo:6793:35-6793: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.2/MultiBody.mo:6794:13-6794: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.2/MultiBody.mo:6805:35-6805: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.2/MultiBody.mo:6806:13-6806:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.8587/1.381, allocations: 142.5 MB / 0.5876 GB, free: 95.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.174e-06/1.381, allocations: 0 / 0.5876 GB, free: 95.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008768/1.382, allocations: 152.5 kB / 0.5877 GB, free: 95.32 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.04258/1.425, allocations: 8.669 MB / 0.5962 GB, free: 90.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.425, allocations: 11.25 kB / 0.5962 GB, free: 90.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04208/1.467, allocations: 7.75 MB / 0.6037 GB, free: 84.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02895/1.496, allocations: 10.96 MB / 0.6144 GB, free: 73.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005775/1.496, allocations: 0.5658 MB / 0.615 GB, free: 73.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002808/1.499, allocations: 0.7594 MB / 0.6157 GB, free: 72.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04109/1.54, allocations: 17.36 MB / 0.6327 GB, free: 53.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003966/1.541, allocations: 111 kB / 0.6328 GB, free: 53.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001905/1.543, allocations: 359.8 kB / 0.6331 GB, free: 53.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002553/1.545, allocations: 1.597 MB / 0.6347 GB, free: 51.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03378/1.579, allocations: 13.75 MB / 0.6481 GB, free: 37.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5431/2.122, allocations: 79.02 MB / 0.7253 GB, free: 50.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03057/2.153, allocations: 6.877 MB / 0.732 GB, free: 49.41 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005756/2.159, allocations: 3.202 MB / 0.7351 GB, free: 49.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02624/2.185, allocations: 14.7 MB / 0.7495 GB, free: 46.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/2.185, allocations: 66.94 kB / 0.7496 GB, free: 46.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 7.616e-06/2.185, allocations: 3.375 kB / 0.7496 GB, free: 46.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.1039/2.289, allocations: 22.98 MB / 0.772 GB, free: 39.67 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005996/2.295, allocations: 6.244 MB / 0.7781 GB, free: 33.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01655/2.312, allocations: 5.758 MB / 0.7837 GB, free: 31.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008013/2.312, allocations: 67.77 kB / 0.7838 GB, free: 31.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003793/2.316, allocations: 5.28 MB / 0.7889 GB, free: 27.33 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001511/2.318, allocations: 1.178 MB / 0.7901 GB, free: 26.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007598/2.318, allocations: 194.7 kB / 0.7903 GB, free: 26.33 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005214/2.319, allocations: 0.7146 MB / 0.791 GB, free: 25.85 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007085/2.326, allocations: 3.818 MB / 0.7947 GB, free: 24.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/2.337, allocations: 9.551 MB / 0.804 GB, free: 15.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/2.348, allocations: 5.927 MB / 0.8098 GB, free: 13.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001696/2.348, allocations: 65.05 kB / 0.8099 GB, free: 13.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.04181/2.39, allocations: 15.58 MB / 0.8251 GB, free: 1.871 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/2.39, allocations: 96.97 kB / 0.8252 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02545/2.416, allocations: 7.713 MB / 0.8327 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01987/2.436, allocations: 3.904 MB / 0.8365 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/2.447, allocations: 2.305 MB / 0.8388 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02238/2.469, allocations: 13.59 MB / 0.8521 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/2.481, allocations: 0.863 MB / 0.8529 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002151/2.483, allocations: 0.5898 MB / 0.8535 GB, free: 8.555 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.002147/2.485, allocations: 0.8668 MB / 0.8543 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/2.487, allocations: 0.5823 MB / 0.8549 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02152/2.508, allocations: 7.525 MB / 0.8622 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01899/2.527, allocations: 6.7 MB / 0.8688 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.173e-05/2.527, allocations: 11.98 kB / 0.8688 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.088e-05/2.528, allocations: 11.95 kB / 0.8688 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/2.547, allocations: 7.425 MB / 0.8761 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.756e-05/2.547, allocations: 4 kB / 0.8761 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004415/2.552, allocations: 0.5967 MB / 0.8766 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01307/2.565, allocations: 3.14 MB / 0.8797 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008054/2.566, allocations: 91.91 kB / 0.8798 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02139/2.587, allocations: 13.99 MB / 0.8935 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006048/2.593, allocations: 6.027 MB / 0.8993 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3743/2.967, allocations: 11.64 MB / 0.9107 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/2.97, allocations: 0.6359 MB / 0.9113 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001739/2.971, allocations: 76.28 kB / 0.9114 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00499/2.976, allocations: 373.1 kB / 0.9118 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/2.977, allocations: 220 kB / 0.912 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004846/2.978, allocations: 91.84 kB / 0.9121 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01009/2.988, allocations: 4.001 MB / 0.916 GB, free: 160.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.121e-06/2.988, allocations: 0 / 0.916 GB, free: 160.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01243/3, allocations: 2.03 MB / 0.9179 GB, free: 160.9 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.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.001078/3.002, allocations: 234.9 kB / 0.9182 GB, free: 160.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02546/3.027, allocations: 10.8 MB / 0.9287 GB, free: 159.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.04e-06/3.027, allocations: 0 / 0.9287 GB, free: 159.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01232/3.039, allocations: 5.247 MB / 0.9338 GB, free: 157.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00587/3.045, allocations: 0.8225 MB / 0.9346 GB, free: 157.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03587/3.081, allocations: 16.43 MB / 0.9507 GB, free: 153.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/3.091, allocations: 5.401 MB / 0.956 GB, free: 152.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0104/3.102, allocations: 2.92 MB / 0.9588 GB, free: 152 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/3.104, allocations: 423 kB / 0.9592 GB, free: 152 MB / 0.5417 GB Notification: Performance of SimCode: time 2.607e-06/3.104, allocations: 0 / 0.9592 GB, free: 152 MB / 0.5417 GB Notification: Performance of Templates: time 0.2194/3.323, allocations: 73.93 MB / 1.031 GB, free: 103.7 MB / 0.5417 GB