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_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.457e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.384, allocations: 54.85 MB / 362.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies2): time 0.1859/0.5699, allocations: 81.6 MB / 444.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05454/0.6245, allocations: 17.3 MB / 461.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.024/0.6485, allocations: 442.9 kB / 462.2 MB, free: 10.19 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02402/0.6726, allocations: 4.336 MB / 466.5 MB, free: 5.832 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06547/0.7382, allocations: 11.57 MB / 478.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01028/0.7485, allocations: 1.139 MB / 479.2 MB, free: 9.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.06749/0.8161, allocations: 18.8 MB / 498 MB, free: 6.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3864/1.203, allocations: 8.623 MB / 0.4948 GB, free: 20.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005097/1.208, allocations: 1.609 MB / 0.4964 GB, free: 20.52 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006518/1.214, allocations: 2.424 MB / 0.4987 GB, free: 20.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004901/1.219, allocations: 1.073 MB / 0.4998 GB, free: 20.5 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002428/1.222, allocations: 215.4 kB / 0.5 GB, free: 20.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004559/1.226, allocations: 2.912 MB / 0.5028 GB, free: 20.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002929/1.229, allocations: 0.5196 MB / 0.5033 GB, free: 20.5 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/1.244, allocations: 10.45 MB / 0.5135 GB, free: 19.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.244, allocations: 0 / 0.5135 GB, free: 19.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.507e-06/1.244, allocations: 2.625 kB / 0.5135 GB, free: 19.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005534/1.244, allocations: 4 kB / 0.5136 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.02621/1.271, allocations: 7.228 MB / 0.5206 GB, free: 15.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.271, allocations: 8.781 kB / 0.5206 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2385/1.509, allocations: 16.05 MB / 0.5363 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/1.529, allocations: 6.296 MB / 0.5424 GB, free: 5.512 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007657/1.53, allocations: 471.2 kB / 0.5429 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007161/1.537, allocations: 0.9661 MB / 0.5438 GB, free: 4.582 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07655/1.614, allocations: 17.38 MB / 0.5608 GB, free: 6.965 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000595/1.614, allocations: 86.17 kB / 0.5609 GB, free: 6.918 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003375/1.618, allocations: 291.8 kB / 0.5612 GB, free: 6.836 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008028/1.626, allocations: 2.653 MB / 0.5638 GB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05899/1.685, allocations: 14.73 MB / 0.5781 GB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1474/1.832, allocations: 67.63 MB / 0.6442 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03916/1.872, allocations: 7.157 MB / 0.6512 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04487/1.916, allocations: 15.07 MB / 0.6659 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.407e-05/1.917, allocations: 66.72 kB / 0.666 GB, free: 4 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=261): time 7.074e-06/1.917, allocations: 0 / 0.666 GB, free: 4 kB / 0.5105 GB Notification: Performance of matching and sorting (n=289): time 0.1609/2.078, allocations: 28.47 MB / 0.6938 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3602/2.438, allocations: 6.302 MB / 0.6999 GB, free: 224.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01999/2.458, allocations: 6.34 MB / 0.7061 GB, free: 223.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/2.459, allocations: 69.64 kB / 0.7062 GB, free: 223.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004882/2.464, allocations: 5.248 MB / 0.7113 GB, free: 219.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00232/2.466, allocations: 1.183 MB / 0.7125 GB, free: 219 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/2.468, allocations: 193.6 kB / 0.7126 GB, free: 218.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0008498/2.469, allocations: 0.7197 MB / 0.7133 GB, free: 218.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01184/2.48, allocations: 4.166 MB / 0.7174 GB, free: 217 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0186/2.499, allocations: 9.901 MB / 0.7271 GB, free: 207.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02272/2.522, allocations: 6.211 MB / 0.7331 GB, free: 205.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000285/2.522, allocations: 58.88 kB / 0.7332 GB, free: 205.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1267) (initialization): time 0.1386/2.661, allocations: 19.79 MB / 0.7525 GB, free: 194.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003064/2.661, allocations: 92 kB / 0.7526 GB, free: 194 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1053/2.767, allocations: 11.21 MB / 0.7636 GB, free: 183.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06981/2.837, allocations: 7.577 MB / 0.771 GB, free: 175.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01497/2.852, allocations: 2.308 MB / 0.7732 GB, free: 173.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05059/2.902, allocations: 21.86 MB / 0.7946 GB, free: 150.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01464/2.917, allocations: 0.8596 MB / 0.7954 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002593/2.92, allocations: 0.583 MB / 0.796 GB, free: 149.2 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.01037/2.93, allocations: 3.359 MB / 0.7993 GB, free: 145.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002253/2.932, allocations: 0.5823 MB / 0.7998 GB, free: 145.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04068/2.973, allocations: 7.82 MB / 0.8075 GB, free: 137.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03054/3.004, allocations: 6.987 MB / 0.8143 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.366e-05/3.004, allocations: 4 kB / 0.8143 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.071e-05/3.004, allocations: 19.91 kB / 0.8143 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/3.025, allocations: 7.544 MB / 0.8217 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.16e-05/3.025, allocations: 4 kB / 0.8217 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006563/3.031, allocations: 0.6201 MB / 0.8223 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01699/3.048, allocations: 3.218 MB / 0.8254 GB, free: 118.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009751/3.049, allocations: 91.91 kB / 0.8255 GB, free: 118.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02314/3.073, allocations: 14.3 MB / 0.8395 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0045/3.077, allocations: 6.088 MB / 0.8454 GB, free: 97 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03438/3.112, allocations: 12.11 MB / 0.8573 GB, free: 84.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002893/3.114, allocations: 0.6574 MB / 0.8579 GB, free: 84.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003458/3.118, allocations: 80.66 kB / 0.858 GB, free: 84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007532/3.126, allocations: 376.2 kB / 0.8583 GB, free: 83.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001288/3.127, allocations: 213.6 kB / 0.8585 GB, free: 83.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004178/3.127, allocations: 93.34 kB / 0.8586 GB, free: 83.33 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01079/3.138, allocations: 4.474 MB / 0.863 GB, free: 78.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.52e-07/3.138, allocations: 0 / 0.863 GB, free: 78.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01358/3.152, allocations: 2.143 MB / 0.8651 GB, free: 76.74 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.001996/3.154, allocations: 243.5 kB / 0.8653 GB, free: 76.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03292/3.187, allocations: 11.69 MB / 0.8767 GB, free: 64.58 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/3.187, allocations: 0.9375 kB / 0.8767 GB, free: 64.58 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01701/3.204, allocations: 5.435 MB / 0.882 GB, free: 58.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008574/3.213, allocations: 0.8504 MB / 0.8829 GB, free: 58.03 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05445/3.267, allocations: 22.59 MB / 0.9049 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01151/3.279, allocations: 5.4 MB / 0.9102 GB, free: 29.93 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01457/3.293, allocations: 2.939 MB / 0.9131 GB, free: 26.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003678/3.297, allocations: 431.3 kB / 0.9135 GB, free: 26.55 MB / 0.5417 GB Notification: Performance of SimCode: time 2.364e-06/3.297, allocations: 4 kB / 0.9135 GB, free: 26.55 MB / 0.5417 GB Notification: Performance of Templates: time 0.6587/3.956, allocations: 85.98 MB / 0.9975 GB, free: 167.8 MB / 0.5417 GB