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.1_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadModel(ModelicaTest): time 2.067/2.067, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.466e-05, allocations: 7.984 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08551/0.08557, allocations: 48.69 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4313/0.5169, allocations: 92.58 MB / 414.4 MB, free: 2.434 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.5172, allocations: 75.33 kB / 414.4 MB, free: 2.395 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7974/1.315, allocations: 142.4 MB / 0.5438 GB, free: 68.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.857e-06/1.315, allocations: 0 / 0.5438 GB, free: 68.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005136/1.315, allocations: 155.8 kB / 0.5439 GB, free: 68.19 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.04404/1.359, allocations: 8.682 MB / 0.5524 GB, free: 65.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.359, allocations: 10.53 kB / 0.5524 GB, free: 65.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04297/1.402, allocations: 7.692 MB / 0.5599 GB, free: 64.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03073/1.433, allocations: 10.93 MB / 0.5706 GB, free: 63.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005915/1.434, allocations: 0.5567 MB / 0.5711 GB, free: 63.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003014/1.437, allocations: 0.7679 MB / 0.5719 GB, free: 63.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04387/1.481, allocations: 17.36 MB / 0.5888 GB, free: 59.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005471/1.481, allocations: 110.1 kB / 0.5889 GB, free: 59.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002702/1.484, allocations: 355.5 kB / 0.5893 GB, free: 59.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003066/1.487, allocations: 1.593 MB / 0.5908 GB, free: 59.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03578/1.523, allocations: 13.76 MB / 0.6043 GB, free: 57.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1028/1.626, allocations: 79 MB / 0.6814 GB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2947/1.92, allocations: 7.131 MB / 0.6884 GB, free: 77.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006125/1.927, allocations: 3.206 MB / 0.6915 GB, free: 77.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03088/1.958, allocations: 14.68 MB / 0.7058 GB, free: 74.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/1.958, allocations: 62.86 kB / 0.7059 GB, free: 74.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 7.726e-06/1.958, allocations: 3.75 kB / 0.7059 GB, free: 74.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.106/2.064, allocations: 22.99 MB / 0.7283 GB, free: 69.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007126/2.071, allocations: 6.237 MB / 0.7344 GB, free: 64.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01806/2.089, allocations: 5.751 MB / 0.7401 GB, free: 63.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006757/2.09, allocations: 73.7 kB / 0.7401 GB, free: 63.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004065/2.094, allocations: 5.275 MB / 0.7453 GB, free: 60.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001685/2.096, allocations: 1.184 MB / 0.7464 GB, free: 60.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009607/2.097, allocations: 192.7 kB / 0.7466 GB, free: 60.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005888/2.097, allocations: 0.7201 MB / 0.7473 GB, free: 59.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007779/2.105, allocations: 3.795 MB / 0.751 GB, free: 58.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01055/2.116, allocations: 9.522 MB / 0.7603 GB, free: 49.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/2.127, allocations: 5.908 MB / 0.7661 GB, free: 48.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001685/2.127, allocations: 59.53 kB / 0.7661 GB, free: 48.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.03662/2.164, allocations: 14.58 MB / 0.7804 GB, free: 43.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/2.164, allocations: 91.94 kB / 0.7805 GB, free: 43.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01738/2.181, allocations: 6.712 MB / 0.787 GB, free: 41.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/2.193, allocations: 2.841 MB / 0.7898 GB, free: 41.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01072/2.204, allocations: 2.348 MB / 0.7921 GB, free: 40.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/2.215, allocations: 11.28 MB / 0.8031 GB, free: 29.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/2.227, allocations: 0.8572 MB / 0.8039 GB, free: 28.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002046/2.229, allocations: 0.5909 MB / 0.8045 GB, free: 27.94 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.002548/2.231, allocations: 0.8644 MB / 0.8054 GB, free: 27.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/2.233, allocations: 0.5823 MB / 0.8059 GB, free: 26.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01894/2.252, allocations: 7.54 MB / 0.8133 GB, free: 20.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0162/2.268, allocations: 6.688 MB / 0.8198 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.622e-05/2.268, allocations: 8 kB / 0.8198 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.019e-05/2.268, allocations: 17.72 kB / 0.8199 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/2.284, allocations: 7.43 MB / 0.8271 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/2.284, allocations: 4 kB / 0.8271 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004018/2.288, allocations: 0.5994 MB / 0.8277 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01161/2.3, allocations: 3.131 MB / 0.8308 GB, free: 6.988 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007451/2.301, allocations: 92.09 kB / 0.8308 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/2.319, allocations: 13.99 MB / 0.8445 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2788/2.598, allocations: 6.006 MB / 0.8504 GB, free: 77.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02811/2.626, allocations: 11.65 MB / 0.8617 GB, free: 76.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003792/2.63, allocations: 1.131 MB / 0.8629 GB, free: 76.87 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/2.632, allocations: 76.69 kB / 0.8629 GB, free: 76.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005176/2.637, allocations: 381.8 kB / 0.8633 GB, free: 76.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001085/2.638, allocations: 215.4 kB / 0.8635 GB, free: 76.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004715/2.638, allocations: 91.97 kB / 0.8636 GB, free: 76.87 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009722/2.648, allocations: 4.003 MB / 0.8675 GB, free: 76.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.127e-06/2.648, allocations: 0 / 0.8675 GB, free: 76.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01187/2.66, allocations: 2.005 MB / 0.8695 GB, free: 76.62 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.0009667/2.661, allocations: 236.2 kB / 0.8697 GB, free: 76.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02252/2.684, allocations: 10.36 MB / 0.8798 GB, free: 75.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.623e-06/2.684, allocations: 7.312 kB / 0.8798 GB, free: 75.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01226/2.696, allocations: 5.232 MB / 0.8849 GB, free: 73.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005831/2.702, allocations: 0.8312 MB / 0.8857 GB, free: 73.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03572/2.738, allocations: 16.41 MB / 0.9018 GB, free: 69.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01126/2.749, allocations: 5.402 MB / 0.907 GB, free: 68.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01494/2.764, allocations: 2.931 MB / 0.9099 GB, free: 68.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003358/2.767, allocations: 428.8 kB / 0.9103 GB, free: 68.46 MB / 458.7 MB Notification: Performance of SimCode: time 2.713e-06/2.767, allocations: 0 / 0.9103 GB, free: 68.46 MB / 458.7 MB Notification: Performance of Templates: time 0.1926/2.96, allocations: 70.1 MB / 0.9788 GB, free: 28.31 MB / 458.7 MB