Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,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.FreeBodies2") Notification: Performance of loadModel(ModelicaTest): time 2.378/2.378, allocations: 249.5 MB / 261.6 MB, free: 2.145 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.021e-05, allocations: 4 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3225, allocations: 58.82 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.4861, allocations: 106.5 MB / 488.7 MB, free: 1.988 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.4864, allocations: 75.95 kB / 488.8 MB, free: 1.914 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8589/1.345, allocations: 146.3 MB / 0.6202 GB, free: 53.86 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.805e-06/1.345, allocations: 0 / 0.6202 GB, free: 53.86 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0009079/1.346, allocations: 163.9 kB / 0.6204 GB, free: 53.7 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.04943/1.396, allocations: 8.864 MB / 0.629 GB, free: 44.76 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.396, allocations: 12.03 kB / 0.629 GB, free: 44.75 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04114/1.437, allocations: 7.782 MB / 0.6366 GB, free: 36.94 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02953/1.467, allocations: 11.06 MB / 0.6474 GB, free: 25.8 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005967/1.467, allocations: 0.5818 MB / 0.648 GB, free: 25.22 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002753/1.47, allocations: 0.79 MB / 0.6488 GB, free: 24.43 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0444/1.514, allocations: 18.08 MB / 0.6664 GB, free: 4.801 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003835/1.515, allocations: 99.03 kB / 0.6665 GB, free: 4.703 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002026/1.517, allocations: 375.8 kB / 0.6669 GB, free: 4.336 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002826/1.52, allocations: 1.691 MB / 0.6685 GB, free: 2.645 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04139/1.561, allocations: 14.37 MB / 0.6826 GB, free: 4.25 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4742/2.035, allocations: 81.22 MB / 0.7619 GB, free: 50.93 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02635/2.062, allocations: 7.513 MB / 0.7692 GB, free: 50.25 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005665/2.067, allocations: 3.364 MB / 0.7725 GB, free: 50.2 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0299/2.097, allocations: 17.09 MB / 0.7892 GB, free: 45.23 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/2.098, allocations: 71.12 kB / 0.7893 GB, free: 45.18 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=301): time 8.329e-06/2.098, allocations: 1.25 kB / 0.7893 GB, free: 45.18 MB / 0.4949 GB Notification: Performance of matching and sorting (n=329): time 0.08084/2.178, allocations: 24.16 MB / 0.8129 GB, free: 39.78 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00394/2.182, allocations: 6.264 MB / 0.819 GB, free: 33.67 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/2.194, allocations: 5.796 MB / 0.8246 GB, free: 31.62 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007062/2.195, allocations: 79.41 kB / 0.8247 GB, free: 31.55 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003987/2.199, allocations: 5.363 MB / 0.83 GB, free: 27.42 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001727/2.2, allocations: 1.321 MB / 0.8312 GB, free: 26.46 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009034/2.201, allocations: 200.2 kB / 0.8314 GB, free: 26.31 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005723/2.202, allocations: 0.7364 MB / 0.8322 GB, free: 25.82 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00755/2.21, allocations: 3.896 MB / 0.836 GB, free: 24.51 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/2.22, allocations: 9.672 MB / 0.8454 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/2.231, allocations: 6.043 MB / 0.8513 GB, free: 13.13 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001529/2.232, allocations: 60 kB / 0.8514 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.0432/2.275, allocations: 15.82 MB / 0.8668 GB, free: 396 kB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/2.275, allocations: 92.84 kB / 0.8669 GB, free: 304 kB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03748/2.312, allocations: 8.545 MB / 0.8753 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02015/2.333, allocations: 3.911 MB / 0.8791 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01087/2.344, allocations: 2.371 MB / 0.8814 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02207/2.366, allocations: 13.54 MB / 0.8946 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01197/2.378, allocations: 0.8752 MB / 0.8955 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002299/2.38, allocations: 0.5972 MB / 0.896 GB, free: 9.117 MB / 0.5261 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.002575/2.383, allocations: 0.8811 MB / 0.8969 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001704/2.384, allocations: 0.6016 MB / 0.8975 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02265/2.407, allocations: 7.767 MB / 0.9051 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02015/2.427, allocations: 6.901 MB / 0.9118 GB, free: 9.539 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.142e-05/2.427, allocations: 15.75 kB / 0.9118 GB, free: 9.527 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.613e-05/2.427, allocations: 19.94 kB / 0.9119 GB, free: 9.508 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3712/2.799, allocations: 19.4 MB / 0.9308 GB, free: 137.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.445e-05/2.799, allocations: 7.062 kB / 0.9308 GB, free: 137.1 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004387/2.803, allocations: 0.6606 MB / 0.9314 GB, free: 137.1 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01184/2.815, allocations: 3.129 MB / 0.9345 GB, free: 137 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008202/2.816, allocations: 104.2 kB / 0.9346 GB, free: 137 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01656/2.832, allocations: 14 MB / 0.9483 GB, free: 129.3 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003894/2.836, allocations: 6.03 MB / 0.9542 GB, free: 123.8 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02547/2.862, allocations: 12.71 MB / 0.9666 GB, free: 122.2 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002078/2.864, allocations: 0.6519 MB / 0.9672 GB, free: 122.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002007/2.866, allocations: 89.47 kB / 0.9673 GB, free: 122.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005183/2.871, allocations: 387.7 kB / 0.9677 GB, free: 122.1 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/2.872, allocations: 250.7 kB / 0.9679 GB, free: 122.1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003999/2.873, allocations: 104.6 kB / 0.968 GB, free: 122.1 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.009068/2.882, allocations: 4.029 MB / 0.9719 GB, free: 121.9 MB / 0.5418 GB Notification: Performance of sort global known variables: time 9.58e-07/2.882, allocations: 0 / 0.9719 GB, free: 121.9 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01138/2.893, allocations: 2.099 MB / 0.974 GB, free: 121.9 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.001029/2.894, allocations: 257.6 kB / 0.9742 GB, free: 121.8 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02181/2.916, allocations: 11.04 MB / 0.985 GB, free: 119.6 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 9.772e-06/2.916, allocations: 3.938 kB / 0.985 GB, free: 119.6 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01154/2.928, allocations: 5.371 MB / 0.9903 GB, free: 117 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005804/2.934, allocations: 0.8621 MB / 0.9911 GB, free: 116.7 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0374/2.971, allocations: 16.95 MB / 1.008 GB, free: 109.9 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/2.982, allocations: 5.544 MB / 1.013 GB, free: 106.2 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01136/2.994, allocations: 3.041 MB / 1.016 GB, free: 104.2 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002146/2.996, allocations: 435.2 kB / 1.016 GB, free: 103.8 MB / 0.5418 GB Notification: Performance of SimCode: time 1.913e-06/2.996, allocations: 0 / 1.016 GB, free: 103.8 MB / 0.5418 GB Notification: Performance of Templates: time 0.1841/3.18, allocations: 75.37 MB / 1.09 GB, free: 38.55 MB / 0.5418 GB