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_cpp_ModelicaTest.MultiBody.Parts.FreeBodies") Notification: Performance of loadModel(ModelicaTest): time 1.853/1.853, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.656e-05/4.667e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09639, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.4649, allocations: 92.57 MB / 414.3 MB, free: 2.676 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.4651, allocations: 69.69 kB / 414.4 MB, free: 2.668 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.8512/1.316, allocations: 142.3 MB / 0.5437 GB, free: 67.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.473e-06/1.316, allocations: 0 / 0.5437 GB, free: 67.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005103/1.317, allocations: 155.7 kB / 0.5438 GB, free: 67.87 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.04447/1.361, allocations: 8.678 MB / 0.5523 GB, free: 65.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.361, allocations: 7.781 kB / 0.5523 GB, free: 65.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04278/1.404, allocations: 7.696 MB / 0.5598 GB, free: 64.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03063/1.435, allocations: 10.93 MB / 0.5705 GB, free: 63.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006233/1.436, allocations: 0.559 MB / 0.571 GB, free: 63.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003048/1.439, allocations: 0.7625 MB / 0.5718 GB, free: 63.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04445/1.483, allocations: 17.37 MB / 0.5888 GB, free: 59.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004286/1.484, allocations: 109.8 kB / 0.5889 GB, free: 59.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002187/1.486, allocations: 359.3 kB / 0.5892 GB, free: 59.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002836/1.489, allocations: 1.598 MB / 0.5908 GB, free: 59.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03638/1.525, allocations: 13.75 MB / 0.6042 GB, free: 57.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1007/1.626, allocations: 79.01 MB / 0.6813 GB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3569/1.983, allocations: 7.229 MB / 0.6884 GB, free: 77.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00597/1.989, allocations: 3.207 MB / 0.6915 GB, free: 77.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03008/2.019, allocations: 14.67 MB / 0.7059 GB, free: 74.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/2.019, allocations: 66.14 kB / 0.7059 GB, free: 74.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 6.852e-06/2.019, allocations: 1.281 kB / 0.7059 GB, free: 74.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.08093/2.1, allocations: 22.99 MB / 0.7284 GB, free: 69.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003951/2.104, allocations: 6.237 MB / 0.7345 GB, free: 64.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/2.116, allocations: 5.756 MB / 0.7401 GB, free: 63.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007268/2.117, allocations: 68.83 kB / 0.7402 GB, free: 63.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007538/2.124, allocations: 5.067 MB / 0.7451 GB, free: 60.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003246/2.128, allocations: 1.18 MB / 0.7463 GB, free: 60.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002096/2.13, allocations: 191.5 kB / 0.7464 GB, free: 60.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001289/2.131, allocations: 0.7263 MB / 0.7471 GB, free: 59.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01699/2.148, allocations: 3.794 MB / 0.7509 GB, free: 58.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02249/2.171, allocations: 9.52 MB / 0.7601 GB, free: 49.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02375/2.195, allocations: 5.907 MB / 0.7659 GB, free: 47.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003278/2.195, allocations: 60.47 kB / 0.766 GB, free: 47.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.03811/2.233, allocations: 14.35 MB / 0.78 GB, free: 43.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/2.233, allocations: 91.03 kB / 0.7801 GB, free: 43.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01665/2.25, allocations: 6.711 MB / 0.7866 GB, free: 41.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/2.261, allocations: 2.839 MB / 0.7894 GB, free: 41.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01061/2.272, allocations: 2.346 MB / 0.7917 GB, free: 40.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/2.283, allocations: 11.27 MB / 0.8027 GB, free: 29.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0117/2.295, allocations: 0.8607 MB / 0.8035 GB, free: 29.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002104/2.297, allocations: 0.5895 MB / 0.8041 GB, free: 28.52 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.002771/2.3, allocations: 0.8655 MB / 0.805 GB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/2.301, allocations: 0.5823 MB / 0.8055 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01903/2.32, allocations: 7.537 MB / 0.8129 GB, free: 21.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01657/2.337, allocations: 6.696 MB / 0.8194 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.999e-05/2.337, allocations: 8 kB / 0.8194 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/2.337, allocations: 15.33 kB / 0.8195 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/2.353, allocations: 7.427 MB / 0.8267 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.385e-05/2.353, allocations: 7 kB / 0.8267 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004165/2.357, allocations: 0.5963 MB / 0.8273 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01171/2.369, allocations: 3.126 MB / 0.8304 GB, free: 7.574 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008002/2.37, allocations: 101 kB / 0.8304 GB, free: 7.504 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/2.388, allocations: 13.98 MB / 0.8441 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006131/2.395, allocations: 6.012 MB / 0.85 GB, free: 4.062 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3045/2.699, allocations: 11.65 MB / 0.8613 GB, free: 77.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003838/2.703, allocations: 1.137 MB / 0.8625 GB, free: 77.83 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001718/2.705, allocations: 72.52 kB / 0.8625 GB, free: 77.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005137/2.71, allocations: 377.4 kB / 0.8629 GB, free: 77.83 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001118/2.711, allocations: 219.1 kB / 0.8631 GB, free: 77.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004266/2.712, allocations: 91.25 kB / 0.8632 GB, free: 77.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009901/2.722, allocations: 4.001 MB / 0.8671 GB, free: 77.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.094e-06/2.722, allocations: 0 / 0.8671 GB, free: 77.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01164/2.733, allocations: 2.005 MB / 0.869 GB, free: 77.58 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.001048/2.734, allocations: 240.9 kB / 0.8693 GB, free: 77.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02269/2.757, allocations: 10.42 MB / 0.8795 GB, free: 76.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/2.757, allocations: 2.125 kB / 0.8795 GB, free: 76.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01158/2.769, allocations: 5.254 MB / 0.8846 GB, free: 74.83 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005662/2.774, allocations: 0.8219 MB / 0.8854 GB, free: 74.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03947/2.814, allocations: 17.25 MB / 0.9022 GB, free: 70.53 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/2.826, allocations: 5.398 MB / 0.9075 GB, free: 69.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/2.828, allocations: 490.6 kB / 0.908 GB, free: 69.63 MB / 458.7 MB Notification: Performance of SimCode: time 2.492e-06/2.828, allocations: 4 kB / 0.908 GB, free: 69.62 MB / 458.7 MB Notification: Performance of Templates: time 1.519/4.347, allocations: 0.4989 GB / 1.407 GB, free: 114.1 MB / 490.7 MB