Running command: translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 2.491/2.491, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.318e-05, allocations: 0 / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4081, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.05663/0.4648, allocations: 36.44 MB / 399.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0265/0.4913, allocations: 8.622 MB / 407.9 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008708/0.5001, allocations: 187.6 kB / 408.1 MB, free: 404 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006738/0.5069, allocations: 1.898 MB / 410 MB, free: 14.49 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02108/0.528, allocations: 5.228 MB / 415.2 MB, free: 9.246 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.5316, allocations: 0.5499 MB / 415.8 MB, free: 8.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005278/0.5369, allocations: 1.775 MB / 417.6 MB, free: 6.918 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007209/0.5442, allocations: 3.586 MB / 421.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.5461, allocations: 0.7987 MB / 422 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002361/0.5485, allocations: 1.173 MB / 423.1 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.5511, allocations: 0.9051 MB / 424 MB, free: 404 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008922/0.5521, allocations: 120 kB / 424.2 MB, free: 284 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002359/0.5544, allocations: 1.496 MB / 425.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.5555, allocations: 264 kB / 425.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008979/0.5645, allocations: 5.405 MB / 431.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5646, allocations: 3.938 kB / 431.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.5646, allocations: 0 / 431.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002263/0.5648, allocations: 4 kB / 431.3 MB, free: 9.094 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01236/0.5772, allocations: 3.85 MB / 435.2 MB, free: 5.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.5772, allocations: 8.031 kB / 435.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/0.5922, allocations: 2.303 MB / 437.5 MB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007611/0.5998, allocations: 2.706 MB / 440.2 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/0.6002, allocations: 238 kB / 440.4 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001765/0.602, allocations: 399.5 kB / 440.8 MB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02721/0.6292, allocations: 10 MB / 450.8 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/0.6294, allocations: 39.69 kB / 450.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007404/0.6302, allocations: 147.9 kB / 451 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004903/0.6351, allocations: 1.849 MB / 452.8 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02712/0.6622, allocations: 8.47 MB / 461.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07306/0.7353, allocations: 39.23 MB / 0.4888 GB, free: 1.789 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3291/1.064, allocations: 3.594 MB / 0.4923 GB, free: 121.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01705/1.082, allocations: 7.202 MB / 0.4994 GB, free: 117.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/1.082, allocations: 48.19 kB / 0.4994 GB, free: 117.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 8.125e-06/1.082, allocations: 0 / 0.4994 GB, free: 117.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=155): time 0.06758/1.149, allocations: 14.44 MB / 0.5135 GB, free: 109.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001385/1.151, allocations: 1.607 MB / 0.5151 GB, free: 107.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/1.158, allocations: 3.703 MB / 0.5187 GB, free: 104.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004276/1.158, allocations: 47.58 kB / 0.5187 GB, free: 104.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002407/1.161, allocations: 3.135 MB / 0.5218 GB, free: 101.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.162, allocations: 0.6261 MB / 0.5224 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005481/1.162, allocations: 121.1 kB / 0.5225 GB, free: 100.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003257/1.162, allocations: 0.5621 MB / 0.5231 GB, free: 99.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004525/1.167, allocations: 2.05 MB / 0.5251 GB, free: 97.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006414/1.173, allocations: 5.821 MB / 0.5308 GB, free: 90.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006996/1.181, allocations: 3.367 MB / 0.5341 GB, free: 86.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.964e-05/1.181, allocations: 40 kB / 0.5341 GB, free: 86.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.03292/1.214, allocations: 9.363 MB / 0.5432 GB, free: 77.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.331e-05/1.214, allocations: 60 kB / 0.5433 GB, free: 77.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01844/1.232, allocations: 3.572 MB / 0.5468 GB, free: 73.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01849/1.251, allocations: 2.285 MB / 0.549 GB, free: 71.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008097/1.259, allocations: 1.38 MB / 0.5504 GB, free: 69.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/1.273, allocations: 6.658 MB / 0.5569 GB, free: 63.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006353/1.28, allocations: 395.3 kB / 0.5572 GB, free: 62.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009768/1.281, allocations: 376.7 kB / 0.5576 GB, free: 62.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.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 (745): * Single equations (assignments): 736 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004303/1.285, allocations: 2.038 MB / 0.5596 GB, free: 60.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008136/1.286, allocations: 342.2 kB / 0.5599 GB, free: 59.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009349/1.295, allocations: 3.008 MB / 0.5628 GB, free: 56.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008054/1.303, allocations: 2.536 MB / 0.5653 GB, free: 54.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/1.303, allocations: 3.953 kB / 0.5653 GB, free: 54.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-05/1.303, allocations: 11.97 kB / 0.5653 GB, free: 54.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0245/1.328, allocations: 9.377 MB / 0.5745 GB, free: 44.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.387e-05/1.328, allocations: 8.094 kB / 0.5745 GB, free: 44.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002259/1.33, allocations: 251.6 kB / 0.5747 GB, free: 44.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005437/1.336, allocations: 1.068 MB / 0.5758 GB, free: 43.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002806/1.336, allocations: 43.97 kB / 0.5758 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007661/1.344, allocations: 4.891 MB / 0.5806 GB, free: 38.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001104/1.345, allocations: 1.469 MB / 0.582 GB, free: 36.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/1.358, allocations: 5.757 MB / 0.5877 GB, free: 30.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.359, allocations: 404.7 kB / 0.588 GB, free: 30.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008103/1.36, allocations: 35.89 kB / 0.5881 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/1.363, allocations: 133.2 kB / 0.5882 GB, free: 30.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/1.363, allocations: 108.8 kB / 0.5883 GB, free: 30.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/1.363, allocations: 47.94 kB / 0.5884 GB, free: 30.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005237/1.368, allocations: 2.587 MB / 0.5909 GB, free: 27.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.369, allocations: 0 / 0.5909 GB, free: 27.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006447/1.375, allocations: 1.039 MB / 0.5919 GB, free: 26.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006619/1.376, allocations: 193 kB / 0.5921 GB, free: 26.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01337/1.389, allocations: 5.5 MB / 0.5975 GB, free: 20.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.389, allocations: 0 / 0.5975 GB, free: 20.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005959/1.395, allocations: 2.09 MB / 0.5995 GB, free: 18.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/1.398, allocations: 410.2 kB / 0.5999 GB, free: 18.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02201/1.42, allocations: 11.05 MB / 0.6107 GB, free: 7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004798/1.425, allocations: 3.289 MB / 0.6139 GB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007728/1.433, allocations: 1.886 MB / 0.6157 GB, free: 1.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.434, allocations: 251.4 kB / 0.616 GB, free: 1.539 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/1.434, allocations: 0 / 0.616 GB, free: 1.539 MB / 426.7 MB Notification: Performance of Templates: time 0.115/1.549, allocations: 36.3 MB / 0.6514 GB, free: 13.34 MB / 474.7 MB