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_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") Notification: Performance of loadModel(ModelicaTest): time 1.796/1.796, allocations: 209.3 MB / 221.9 MB, free: 1.852 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.553e-05, allocations: 4 kB / 273.1 MB, free: 0.7266 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.0903, allocations: 48.71 MB / 321.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3595/0.4499, allocations: 92.57 MB / 414.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4501, allocations: 71.97 kB / 414.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7592/1.209, allocations: 142.4 MB / 0.5437 GB, free: 87.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.877e-06/1.209, allocations: 0 / 0.5437 GB, free: 87.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004796/1.21, allocations: 152.3 kB / 0.5439 GB, free: 87.33 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.04312/1.253, allocations: 8.672 MB / 0.5524 GB, free: 84.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.253, allocations: 10.75 kB / 0.5524 GB, free: 84.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04396/1.297, allocations: 7.698 MB / 0.5599 GB, free: 83.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03193/1.329, allocations: 10.93 MB / 0.5706 GB, free: 81.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006439/1.33, allocations: 0.5568 MB / 0.5711 GB, free: 80.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003128/1.333, allocations: 0.7581 MB / 0.5718 GB, free: 80.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04425/1.377, allocations: 17.35 MB / 0.5888 GB, free: 64.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004537/1.378, allocations: 108.1 kB / 0.5889 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002485/1.38, allocations: 363.3 kB / 0.5892 GB, free: 64.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002919/1.383, allocations: 1.6 MB / 0.5908 GB, free: 62.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03637/1.419, allocations: 13.75 MB / 0.6042 GB, free: 48.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3995/1.819, allocations: 79.04 MB / 0.6814 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02751/1.847, allocations: 6.897 MB / 0.6881 GB, free: 43.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006289/1.853, allocations: 3.224 MB / 0.6913 GB, free: 43.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0298/1.883, allocations: 14.75 MB / 0.7057 GB, free: 40.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/1.883, allocations: 69.75 kB / 0.7058 GB, free: 40.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 7.305e-06/1.883, allocations: 0 / 0.7058 GB, free: 40.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.08198/1.965, allocations: 23.06 MB / 0.7283 GB, free: 34.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004039/1.969, allocations: 6.234 MB / 0.7344 GB, free: 28.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/1.982, allocations: 5.768 MB / 0.74 GB, free: 26.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006902/1.983, allocations: 70.83 kB / 0.7401 GB, free: 26.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003996/1.987, allocations: 5.063 MB / 0.745 GB, free: 22.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00178/1.989, allocations: 1.179 MB / 0.7462 GB, free: 21.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/1.99, allocations: 197.2 kB / 0.7464 GB, free: 21.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006854/1.99, allocations: 0.7203 MB / 0.7471 GB, free: 20.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008422/1.999, allocations: 3.816 MB / 0.7508 GB, free: 19.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0116/2.01, allocations: 9.547 MB / 0.7601 GB, free: 10.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/2.022, allocations: 5.927 MB / 0.7659 GB, free: 8.824 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002081/2.023, allocations: 57.12 kB / 0.766 GB, free: 8.824 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.03673/2.059, allocations: 14.4 MB / 0.78 GB, free: 3.031 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/2.06, allocations: 92 kB / 0.7801 GB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02611/2.086, allocations: 7.216 MB / 0.7871 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/2.097, allocations: 2.833 MB / 0.7899 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01122/2.109, allocations: 2.353 MB / 0.7922 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/2.124, allocations: 11.26 MB / 0.8032 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.012/2.136, allocations: 0.8681 MB / 0.8041 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002335/2.139, allocations: 0.5884 MB / 0.8046 GB, free: 14.19 MB / 474.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.003171/2.142, allocations: 0.8605 MB / 0.8055 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00166/2.143, allocations: 0.5823 MB / 0.806 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02209/2.166, allocations: 7.556 MB / 0.8134 GB, free: 6.812 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01981/2.185, allocations: 6.709 MB / 0.82 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.805e-05/2.186, allocations: 8 kB / 0.82 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.855e-05/2.186, allocations: 11.95 kB / 0.82 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/2.204, allocations: 7.469 MB / 0.8273 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.285e-05/2.204, allocations: 0 / 0.8273 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004447/2.209, allocations: 0.6007 MB / 0.8279 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0132/2.222, allocations: 3.128 MB / 0.8309 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007431/2.223, allocations: 103.3 kB / 0.831 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/2.245, allocations: 14.03 MB / 0.8447 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.279/2.524, allocations: 6.016 MB / 0.8506 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03065/2.555, allocations: 11.67 MB / 0.862 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004036/2.559, allocations: 1.135 MB / 0.8631 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001948/2.561, allocations: 79.88 kB / 0.8632 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005487/2.567, allocations: 374.1 kB / 0.8635 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001141/2.568, allocations: 221.2 kB / 0.8637 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004546/2.568, allocations: 87.17 kB / 0.8638 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01098/2.579, allocations: 4.002 MB / 0.8677 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.319e-06/2.579, allocations: 4.688 kB / 0.8677 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01254/2.592, allocations: 2.009 MB / 0.8697 GB, free: 139.8 MB / 0.4948 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.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 (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.001125/2.593, allocations: 246.3 kB / 0.8699 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02379/2.617, allocations: 10.45 MB / 0.8801 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.131e-06/2.617, allocations: 3.594 kB / 0.8801 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01271/2.63, allocations: 5.3 MB / 0.8853 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006136/2.636, allocations: 0.8288 MB / 0.8861 GB, free: 137.1 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1845:5-1847:74: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 3.2.1/Mechanics/MultiBody/Parts.mo:1845:5-1847:74: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 3.2.1/Mechanics/MultiBody/Parts.mo:1845:5-1847:74: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 3.2.1/Mechanics/MultiBody/Parts.mo:1842:5-1844:74: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 3.2.1/Mechanics/MultiBody/Parts.mo:1842:5-1844:74: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 3.2.1/Mechanics/MultiBody/Parts.mo:1842:5-1844:74: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.04187/2.678, allocations: 17.28 MB / 0.903 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01207/2.69, allocations: 5.405 MB / 0.9083 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002509/2.692, allocations: 0.4911 MB / 0.9088 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.771e-06/2.692, allocations: 0 / 0.9088 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of Templates: time 1.567/4.259, allocations: 0.4986 GB / 1.407 GB, free: 142.3 MB / 0.4948 GB