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_cpp_ModelicaTest.MultiBody.Parts.FreeBodies") Notification: Performance of loadModel(ModelicaTest): time 2.142/2.142, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.409e-05, allocations: 4.938 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.329, allocations: 54.84 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.4841, allocations: 99.27 MB / 459 MB, free: 13.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4844, allocations: 75.95 kB / 459.1 MB, free: 13.62 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.7657/1.25, allocations: 142.5 MB / 0.5875 GB, free: 95.19 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.719e-06/1.25, allocations: 0 / 0.5875 GB, free: 95.19 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004901/1.251, allocations: 157.4 kB / 0.5877 GB, free: 95.18 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.04471/1.295, allocations: 8.672 MB / 0.5961 GB, free: 90.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.295, allocations: 11.19 kB / 0.5962 GB, free: 90.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0417/1.337, allocations: 7.744 MB / 0.6037 GB, free: 84.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02923/1.366, allocations: 10.96 MB / 0.6144 GB, free: 73.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006306/1.367, allocations: 0.5629 MB / 0.615 GB, free: 73.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002956/1.37, allocations: 0.761 MB / 0.6157 GB, free: 72.65 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0427/1.413, allocations: 17.35 MB / 0.6327 GB, free: 53.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004614/1.413, allocations: 111 kB / 0.6328 GB, free: 53.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00264/1.416, allocations: 359.8 kB / 0.6331 GB, free: 53.35 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002888/1.419, allocations: 1.597 MB / 0.6347 GB, free: 51.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03487/1.454, allocations: 13.74 MB / 0.6481 GB, free: 37.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4211/1.875, allocations: 79.02 MB / 0.7253 GB, free: 49.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02616/1.901, allocations: 6.872 MB / 0.732 GB, free: 48.99 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006146/1.907, allocations: 3.202 MB / 0.7351 GB, free: 48.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02715/1.935, allocations: 14.71 MB / 0.7495 GB, free: 45.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/1.935, allocations: 60.31 kB / 0.7495 GB, free: 45.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 6.856e-06/1.935, allocations: 0 / 0.7495 GB, free: 45.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.118/2.053, allocations: 22.99 MB / 0.772 GB, free: 39.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004791/2.057, allocations: 6.246 MB / 0.7781 GB, free: 33.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/2.069, allocations: 5.753 MB / 0.7837 GB, free: 31.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006711/2.069, allocations: 71.03 kB / 0.7838 GB, free: 31.05 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003404/2.073, allocations: 5.062 MB / 0.7887 GB, free: 27.04 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001529/2.074, allocations: 1.181 MB / 0.7899 GB, free: 26.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008614/2.075, allocations: 196.7 kB / 0.79 GB, free: 26.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005632/2.076, allocations: 0.7186 MB / 0.7907 GB, free: 25.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007331/2.083, allocations: 3.817 MB / 0.7945 GB, free: 24.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/2.094, allocations: 9.55 MB / 0.8038 GB, free: 15.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/2.105, allocations: 5.932 MB / 0.8096 GB, free: 13.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001223/2.105, allocations: 60.38 kB / 0.8097 GB, free: 13.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.04029/2.145, allocations: 15.35 MB / 0.8246 GB, free: 1.973 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/2.145, allocations: 92 kB / 0.8247 GB, free: 1.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0241/2.17, allocations: 7.673 MB / 0.8322 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01991/2.19, allocations: 3.905 MB / 0.836 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01052/2.2, allocations: 2.302 MB / 0.8383 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02202/2.222, allocations: 13.6 MB / 0.8516 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01169/2.234, allocations: 0.8556 MB / 0.8524 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002219/2.236, allocations: 0.5934 MB / 0.853 GB, free: 8.941 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.002309/2.238, allocations: 0.8673 MB / 0.8538 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/2.24, allocations: 0.5784 MB / 0.8544 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02117/2.261, allocations: 7.533 MB / 0.8618 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01909/2.28, allocations: 6.693 MB / 0.8683 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-05/2.28, allocations: 8 kB / 0.8683 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.688e-05/2.281, allocations: 15.95 kB / 0.8683 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/2.299, allocations: 7.42 MB / 0.8756 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-05/2.299, allocations: 7.922 kB / 0.8756 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004539/2.303, allocations: 0.5968 MB / 0.8761 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01362/2.317, allocations: 3.124 MB / 0.8792 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007764/2.318, allocations: 102.4 kB / 0.8793 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/2.339, allocations: 13.99 MB / 0.893 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006081/2.345, allocations: 6.019 MB / 0.8988 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3281/2.673, allocations: 11.64 MB / 0.9102 GB, free: 161.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/2.676, allocations: 0.6381 MB / 0.9108 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002005/2.678, allocations: 77.19 kB / 0.9109 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005477/2.683, allocations: 371.8 kB / 0.9113 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/2.684, allocations: 218.1 kB / 0.9115 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006619/2.685, allocations: 88.84 kB / 0.9115 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01076/2.696, allocations: 4.001 MB / 0.9155 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.093e-06/2.696, allocations: 0 / 0.9155 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01262/2.709, allocations: 2.035 MB / 0.9174 GB, free: 161.2 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.001072/2.71, allocations: 239.7 kB / 0.9177 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0246/2.734, allocations: 10.81 MB / 0.9282 GB, free: 159.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.698e-06/2.734, allocations: 2 kB / 0.9282 GB, free: 159.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01265/2.747, allocations: 5.264 MB / 0.9334 GB, free: 158.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005902/2.753, allocations: 0.8223 MB / 0.9342 GB, free: 158 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03836/2.791, allocations: 17.25 MB / 0.951 GB, free: 153.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01161/2.803, allocations: 5.409 MB / 0.9563 GB, free: 152.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002533/2.806, allocations: 498.4 kB / 0.9568 GB, free: 152.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.86e-06/2.806, allocations: 0 / 0.9568 GB, free: 152.1 MB / 0.5417 GB Notification: Performance of Templates: time 1.241/4.047, allocations: 0.5001 GB / 1.457 GB, free: 43.55 MB / 0.5417 GB