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.3_ModelicaTest.MultiBody.Parts.FreeBodies") Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.88e-05/2.891e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3389, allocations: 58.83 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.5146, allocations: 106.5 MB / 488.7 MB, free: 2.023 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.5149, allocations: 75.95 kB / 488.8 MB, free: 1.949 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7975/1.312, allocations: 146.3 MB / 0.6202 GB, free: 53.26 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.371e-06/1.312, allocations: 0 / 0.6202 GB, free: 53.26 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004274/1.313, allocations: 160 kB / 0.6203 GB, free: 53.11 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.04274/1.356, allocations: 8.868 MB / 0.629 GB, free: 44.16 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/1.356, allocations: 8.031 kB / 0.629 GB, free: 44.15 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04187/1.398, allocations: 7.782 MB / 0.6366 GB, free: 36.34 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02984/1.428, allocations: 11.06 MB / 0.6474 GB, free: 25.21 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006404/1.428, allocations: 0.5779 MB / 0.648 GB, free: 24.63 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/1.431, allocations: 0.7978 MB / 0.6487 GB, free: 23.83 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04199/1.473, allocations: 18.08 MB / 0.6664 GB, free: 4.203 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003462/1.474, allocations: 103 kB / 0.6665 GB, free: 4.102 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001364/1.475, allocations: 379.7 kB / 0.6668 GB, free: 3.73 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002612/1.478, allocations: 1.691 MB / 0.6685 GB, free: 2.039 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04167/1.519, allocations: 14.37 MB / 0.6825 GB, free: 3.648 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8277/2.347, allocations: 81.23 MB / 0.7619 GB, free: 49.55 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02857/2.376, allocations: 7.513 MB / 0.7692 GB, free: 48.88 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00608/2.382, allocations: 3.362 MB / 0.7725 GB, free: 48.83 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03205/2.414, allocations: 17.08 MB / 0.7892 GB, free: 43.86 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/2.414, allocations: 67.41 kB / 0.7892 GB, free: 43.81 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=301): time 7.486e-06/2.414, allocations: 2.469 kB / 0.7892 GB, free: 43.81 MB / 0.4949 GB Notification: Performance of matching and sorting (n=329): time 0.08498/2.499, allocations: 24.17 MB / 0.8128 GB, free: 38.27 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003955/2.503, allocations: 6.27 MB / 0.8189 GB, free: 32.16 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/2.514, allocations: 5.795 MB / 0.8246 GB, free: 30.11 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007057/2.515, allocations: 77.98 kB / 0.8247 GB, free: 30.04 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003973/2.519, allocations: 5.367 MB / 0.8299 GB, free: 25.91 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001834/2.521, allocations: 1.318 MB / 0.8312 GB, free: 24.95 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/2.522, allocations: 199.3 kB / 0.8314 GB, free: 24.8 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006999/2.523, allocations: 0.7311 MB / 0.8321 GB, free: 24.32 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007813/2.531, allocations: 3.906 MB / 0.8359 GB, free: 23 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01153/2.542, allocations: 9.661 MB / 0.8454 GB, free: 13.92 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/2.554, allocations: 6.047 MB / 0.8513 GB, free: 11.55 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000198/2.554, allocations: 56 kB / 0.8513 GB, free: 11.49 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.04318/2.597, allocations: 15.83 MB / 0.8668 GB, free: 14.84 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003089/2.598, allocations: 96.77 kB / 0.8669 GB, free: 14.75 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04605/2.644, allocations: 7.858 MB / 0.8745 GB, free: 8.527 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02841/2.672, allocations: 3.898 MB / 0.8783 GB, free: 5.914 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01075/2.683, allocations: 2.378 MB / 0.8807 GB, free: 3.867 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/2.705, allocations: 13.53 MB / 0.8939 GB, free: 7.051 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01204/2.717, allocations: 0.8742 MB / 0.8947 GB, free: 6.398 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002436/2.719, allocations: 0.5994 MB / 0.8953 GB, free: 5.824 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 936 * Number of states: 0 () * Number of discrete variables: 78 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1240): * Single equations (assignments): 1215 * 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.00278/2.722, allocations: 0.886 MB / 0.8962 GB, free: 4.941 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/2.724, allocations: 0.5978 MB / 0.8968 GB, free: 4.336 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02269/2.746, allocations: 7.81 MB / 0.9044 GB, free: 14.25 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01971/2.766, allocations: 6.905 MB / 0.9111 GB, free: 7.527 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.071e-05/2.766, allocations: 8 kB / 0.9111 GB, free: 7.52 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.047e-05/2.766, allocations: 19.94 kB / 0.9112 GB, free: 7.5 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3669/3.133, allocations: 19.4 MB / 0.9301 GB, free: 134.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-05/3.133, allocations: 5.531 kB / 0.9301 GB, free: 134.7 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004864/3.138, allocations: 0.6611 MB / 0.9308 GB, free: 134.7 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01345/3.152, allocations: 3.133 MB / 0.9338 GB, free: 134.6 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000824/3.153, allocations: 104.5 kB / 0.9339 GB, free: 134.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/3.17, allocations: 13.99 MB / 0.9476 GB, free: 126.9 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003874/3.174, allocations: 6.028 MB / 0.9535 GB, free: 121.5 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02701/3.201, allocations: 12.7 MB / 0.9659 GB, free: 119.8 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/3.203, allocations: 0.6565 MB / 0.9665 GB, free: 119.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001991/3.205, allocations: 88.02 kB / 0.9666 GB, free: 119.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00997/3.215, allocations: 388.1 kB / 0.967 GB, free: 119.7 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001917/3.217, allocations: 252.4 kB / 0.9672 GB, free: 119.7 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008422/3.218, allocations: 105.6 kB / 0.9673 GB, free: 119.7 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01647/3.234, allocations: 4.023 MB / 0.9712 GB, free: 119.5 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.488e-06/3.234, allocations: 0 / 0.9712 GB, free: 119.5 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02221/3.257, allocations: 2.1 MB / 0.9733 GB, free: 119.5 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (269): * Single equations (assignments): 252 * 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.001526/3.258, allocations: 252.4 kB / 0.9735 GB, free: 119.4 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0395/3.298, allocations: 11.04 MB / 0.9843 GB, free: 116.8 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-05/3.298, allocations: 5.812 kB / 0.9843 GB, free: 116.8 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01181/3.31, allocations: 5.377 MB / 0.9896 GB, free: 114.3 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005942/3.316, allocations: 0.8583 MB / 0.9904 GB, free: 113.9 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0366/3.352, allocations: 16.95 MB / 1.007 GB, free: 107.1 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01049/3.363, allocations: 5.542 MB / 1.012 GB, free: 103.1 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01056/3.373, allocations: 3.038 MB / 1.015 GB, free: 101.1 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002053/3.376, allocations: 434.2 kB / 1.016 GB, free: 100.8 MB / 0.5418 GB Notification: Performance of SimCode: time 2.034e-06/3.376, allocations: 4 kB / 1.016 GB, free: 100.8 MB / 0.5418 GB Notification: Performance of Templates: time 0.1971/3.573, allocations: 75.37 MB / 1.089 GB, free: 34.78 MB / 0.5418 GB