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.1_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.367e-05/4.376e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3548, allocations: 48.7 MB / 324.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.05867/0.4136, allocations: 36.43 MB / 361.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0275/0.4411, allocations: 8.594 MB / 369.9 MB, free: 2.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0095/0.4507, allocations: 191.6 kB / 370.1 MB, free: 2.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007481/0.4582, allocations: 1.898 MB / 372 MB, free: 276 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02268/0.481, allocations: 5.236 MB / 377.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.4848, allocations: 0.5733 MB / 377.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005497/0.4904, allocations: 1.752 MB / 379.5 MB, free: 8.691 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007757/0.4982, allocations: 3.607 MB / 383.1 MB, free: 5.047 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.5004, allocations: 0.7948 MB / 383.9 MB, free: 4.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.5032, allocations: 1.173 MB / 385.1 MB, free: 3.074 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.5062, allocations: 0.8895 MB / 386 MB, free: 2.184 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.5073, allocations: 120 kB / 386.1 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002472/0.5098, allocations: 1.496 MB / 387.6 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.5113, allocations: 264 kB / 387.9 MB, free: 316 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009099/0.5205, allocations: 5.393 MB / 393.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5205, allocations: 4 kB / 393.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5205, allocations: 0 / 393.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002228/0.5208, allocations: 0 / 393.3 MB, free: 10.9 MB / 330.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.01233/0.5331, allocations: 3.849 MB / 397.1 MB, free: 6.984 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.5332, allocations: 12.03 kB / 397.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01507/0.5483, allocations: 2.272 MB / 399.4 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007661/0.556, allocations: 2.69 MB / 402.1 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002983/0.5564, allocations: 242 kB / 402.3 MB, free: 1.703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/0.5583, allocations: 403.4 kB / 402.7 MB, free: 1.309 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03144/0.5898, allocations: 10 MB / 412.7 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002387/0.5901, allocations: 39.59 kB / 412.8 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/0.5916, allocations: 159.8 kB / 412.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007809/0.5995, allocations: 1.841 MB / 414.8 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04001/0.6396, allocations: 8.471 MB / 423.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07589/0.7155, allocations: 39.21 MB / 462.4 MB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01598/0.7315, allocations: 3.609 MB / 466.1 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01781/0.7494, allocations: 7.167 MB / 473.2 MB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.415e-05/0.7495, allocations: 43.56 kB / 473.3 MB, free: 8.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 8.155e-06/0.7496, allocations: 3.984 kB / 473.3 MB, free: 8.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.3771/1.127, allocations: 14.44 MB / 487.7 MB, free: 126.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00164/1.128, allocations: 1.605 MB / 489.3 MB, free: 124.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009759/1.138, allocations: 3.704 MB / 493 MB, free: 123.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004592/1.139, allocations: 46.44 kB / 493.1 MB, free: 123.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003331/1.142, allocations: 3.132 MB / 496.2 MB, free: 121.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00133/1.143, allocations: 0.6349 MB / 496.8 MB, free: 120.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007584/1.144, allocations: 116.1 kB / 496.9 MB, free: 120.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005047/1.145, allocations: 0.56 MB / 497.5 MB, free: 120.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005944/1.151, allocations: 2.023 MB / 499.5 MB, free: 119.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008432/1.159, allocations: 5.803 MB / 0.4935 GB, free: 113.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008555/1.168, allocations: 3.343 MB / 0.4968 GB, free: 112.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001719/1.168, allocations: 40.44 kB / 0.4968 GB, free: 112.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.02484/1.193, allocations: 8.448 MB / 0.505 GB, free: 109.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.193, allocations: 65.06 kB / 0.5051 GB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008595/1.202, allocations: 2.661 MB / 0.5077 GB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006203/1.208, allocations: 1.3 MB / 0.509 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008626/1.217, allocations: 1.384 MB / 0.5103 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008153/1.225, allocations: 4.913 MB / 0.5151 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007008/1.232, allocations: 387.4 kB / 0.5155 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/1.233, allocations: 376.8 kB / 0.5159 GB, free: 100.8 MB / 410.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): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.00484/1.238, allocations: 2.033 MB / 0.5178 GB, free: 98.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009916/1.239, allocations: 343.5 kB / 0.5182 GB, free: 98.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009886/1.249, allocations: 3.019 MB / 0.5211 GB, free: 95.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008397/1.257, allocations: 2.528 MB / 0.5236 GB, free: 92.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/1.257, allocations: 4 kB / 0.5236 GB, free: 92.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.999e-05/1.257, allocations: 11.92 kB / 0.5236 GB, free: 92.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02691/1.284, allocations: 9.385 MB / 0.5328 GB, free: 83.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/1.284, allocations: 10.72 kB / 0.5328 GB, free: 83.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/1.287, allocations: 251.6 kB / 0.533 GB, free: 83.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00567/1.292, allocations: 1.068 MB / 0.5341 GB, free: 81.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003696/1.293, allocations: 43.97 kB / 0.5341 GB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00776/1.301, allocations: 4.892 MB / 0.5389 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001106/1.302, allocations: 1.461 MB / 0.5403 GB, free: 75.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/1.316, allocations: 5.757 MB / 0.5459 GB, free: 69.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/1.317, allocations: 408.5 kB / 0.5463 GB, free: 68.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/1.318, allocations: 33.64 kB / 0.5463 GB, free: 68.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003104/1.321, allocations: 135.8 kB / 0.5465 GB, free: 68.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004566/1.322, allocations: 100.8 kB / 0.5466 GB, free: 68.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/1.322, allocations: 54.33 kB / 0.5466 GB, free: 68.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006149/1.328, allocations: 2.583 MB / 0.5491 GB, free: 65.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.328, allocations: 0 / 0.5491 GB, free: 65.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006696/1.335, allocations: 1.023 MB / 0.5501 GB, free: 64.92 MB / 410.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.0007831/1.336, allocations: 187.4 kB / 0.5503 GB, free: 64.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01363/1.349, allocations: 5.446 MB / 0.5556 GB, free: 59.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/1.349, allocations: 0 / 0.5556 GB, free: 59.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006312/1.356, allocations: 2.082 MB / 0.5577 GB, free: 57.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/1.359, allocations: 425.3 kB / 0.5581 GB, free: 56.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/1.383, allocations: 11.05 MB / 0.5689 GB, free: 45.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005692/1.389, allocations: 3.29 MB / 0.5721 GB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008057/1.397, allocations: 1.882 MB / 0.5739 GB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.398, allocations: 243.4 kB / 0.5741 GB, free: 40.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/1.398, allocations: 0 / 0.5741 GB, free: 40.12 MB / 410.7 MB Notification: Performance of Templates: time 0.09693/1.495, allocations: 33.9 MB / 0.6073 GB, free: 6.336 MB / 410.7 MB