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.2_cpp_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadModel(ModelicaTest): time 2.303/2.303, allocations: 234.9 MB / 250.1 MB, free: 9.926 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.318e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3904, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies2): time 0.1267/0.5171, allocations: 81.58 MB / 444.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05041/0.5676, allocations: 17.31 MB / 461.7 MB, free: 10.69 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01932/0.587, allocations: 442.9 kB / 462.2 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01507/0.6021, allocations: 4.336 MB / 466.5 MB, free: 5.898 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04601/0.6481, allocations: 11.57 MB / 478.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007617/0.6558, allocations: 1.139 MB / 479.2 MB, free: 9.152 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.05712/0.713, allocations: 18.81 MB / 498 MB, free: 6.328 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4763/1.189, allocations: 8.606 MB / 0.4948 GB, free: 20.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/1.201, allocations: 1.611 MB / 0.4963 GB, free: 20.52 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005749/1.207, allocations: 2.42 MB / 0.4987 GB, free: 20.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004439/1.211, allocations: 1.074 MB / 0.4997 GB, free: 20.51 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002716/1.214, allocations: 215.9 kB / 0.5 GB, free: 20.51 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005223/1.219, allocations: 2.917 MB / 0.5028 GB, free: 20.51 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003382/1.223, allocations: 0.5199 MB / 0.5033 GB, free: 20.51 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01492/1.238, allocations: 10.45 MB / 0.5135 GB, free: 19.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.238, allocations: 2.844 kB / 0.5135 GB, free: 19.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.607e-06/1.238, allocations: 0 / 0.5135 GB, free: 19.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005358/1.238, allocations: 0 / 0.5135 GB, free: 19.6 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.02562/1.264, allocations: 7.235 MB / 0.5206 GB, free: 15.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.264, allocations: 10.62 kB / 0.5206 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2693/1.533, allocations: 16.04 MB / 0.5363 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01916/1.552, allocations: 6.289 MB / 0.5424 GB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005437/1.553, allocations: 476.7 kB / 0.5429 GB, free: 5.309 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005395/1.558, allocations: 0.9681 MB / 0.5438 GB, free: 4.641 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05617/1.615, allocations: 17.39 MB / 0.5608 GB, free: 7.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004687/1.615, allocations: 77.06 kB / 0.5609 GB, free: 6.977 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003029/1.618, allocations: 287.2 kB / 0.5611 GB, free: 6.898 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008388/1.627, allocations: 2.666 MB / 0.5637 GB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07221/1.699, allocations: 14.72 MB / 0.5781 GB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1702/1.869, allocations: 67.63 MB / 0.6442 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03752/1.907, allocations: 7.157 MB / 0.6511 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04197/1.949, allocations: 15.08 MB / 0.6659 GB, free: 112 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.908e-05/1.949, allocations: 62.53 kB / 0.6659 GB, free: 44 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=261): time 8.065e-06/1.949, allocations: 0 / 0.6659 GB, free: 44 kB / 0.5105 GB Notification: Performance of matching and sorting (n=289): time 0.1389/2.088, allocations: 28.49 MB / 0.6938 GB, free: 3.172 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.335/2.423, allocations: 6.29 MB / 0.6999 GB, free: 224.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01888/2.442, allocations: 6.339 MB / 0.7061 GB, free: 223.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001185/2.443, allocations: 65.36 kB / 0.7061 GB, free: 223.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005343/2.449, allocations: 5.037 MB / 0.7111 GB, free: 219.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002633/2.451, allocations: 1.182 MB / 0.7122 GB, free: 219 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/2.453, allocations: 190.9 kB / 0.7124 GB, free: 218.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0009265/2.454, allocations: 0.725 MB / 0.7131 GB, free: 218.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01211/2.466, allocations: 4.162 MB / 0.7172 GB, free: 217 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01556/2.482, allocations: 9.906 MB / 0.7269 GB, free: 207.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/2.497, allocations: 6.203 MB / 0.7329 GB, free: 205.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001988/2.498, allocations: 65.47 kB / 0.733 GB, free: 205.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1267) (initialization): time 0.0937/2.591, allocations: 19.56 MB / 0.7521 GB, free: 194.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001743/2.591, allocations: 92 kB / 0.7522 GB, free: 194.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06921/2.661, allocations: 11.21 MB / 0.7631 GB, free: 183.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07097/2.732, allocations: 7.582 MB / 0.7705 GB, free: 176 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01408/2.746, allocations: 2.3 MB / 0.7728 GB, free: 173.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05086/2.797, allocations: 21.85 MB / 0.7941 GB, free: 151.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0144/2.811, allocations: 0.8637 MB / 0.7949 GB, free: 150.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002678/2.814, allocations: 0.5873 MB / 0.7955 GB, free: 149.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * 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 (1191): * Single equations (assignments): 1166 * 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.01061/2.825, allocations: 3.351 MB / 0.7988 GB, free: 146.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001977/2.827, allocations: 0.5823 MB / 0.7994 GB, free: 145.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02883/2.855, allocations: 7.823 MB / 0.807 GB, free: 137.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02525/2.881, allocations: 6.983 MB / 0.8138 GB, free: 130.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.6e-05/2.881, allocations: 8 kB / 0.8138 GB, free: 130.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.83e-05/2.881, allocations: 15.91 kB / 0.8138 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/2.901, allocations: 7.546 MB / 0.8212 GB, free: 123.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.318e-05/2.902, allocations: 3.938 kB / 0.8212 GB, free: 123.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006443/2.908, allocations: 0.624 MB / 0.8218 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01742/2.925, allocations: 3.211 MB / 0.825 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/2.927, allocations: 97.08 kB / 0.825 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02322/2.95, allocations: 14.3 MB / 0.839 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005061/2.955, allocations: 6.091 MB / 0.845 GB, free: 97.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03605/2.991, allocations: 12.1 MB / 0.8568 GB, free: 85.24 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002546/2.994, allocations: 0.6574 MB / 0.8574 GB, free: 84.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002922/2.997, allocations: 80.59 kB / 0.8575 GB, free: 84.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007468/3.004, allocations: 371.4 kB / 0.8579 GB, free: 84.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001382/3.006, allocations: 217.5 kB / 0.8581 GB, free: 83.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005006/3.006, allocations: 91.94 kB / 0.8581 GB, free: 83.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01144/3.018, allocations: 4.474 MB / 0.8625 GB, free: 79.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.133e-06/3.018, allocations: 8 kB / 0.8625 GB, free: 79.35 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01387/3.032, allocations: 2.137 MB / 0.8646 GB, free: 77.22 MB / 0.5417 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.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 (235): * Single equations (assignments): 218 * 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%),(4,100.0%),(3,100.0%),(4,100.0%),(3,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.001669/3.033, allocations: 244.9 kB / 0.8648 GB, free: 76.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03232/3.066, allocations: 11.71 MB / 0.8763 GB, free: 65.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/3.066, allocations: 8.312 kB / 0.8763 GB, free: 65.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01682/3.083, allocations: 5.44 MB / 0.8816 GB, free: 59.33 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007615/3.09, allocations: 0.8465 MB / 0.8824 GB, free: 58.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06736/3.158, allocations: 23.44 MB / 0.9053 GB, free: 34.96 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0164/3.174, allocations: 5.408 MB / 0.9106 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004359/3.179, allocations: 0.4915 MB / 0.9111 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of SimCode: time 1.633e-06/3.179, allocations: 0 / 0.9111 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of Templates: time 1.876/5.054, allocations: 0.5058 GB / 1.417 GB, free: 129.6 MB / 0.5417 GB