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_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 234.9 MB / 250.1 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.061e-05, allocations: 4 kB / 308 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3482, allocations: 54.86 MB / 362.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.05649/0.4047, allocations: 36.44 MB / 399.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02572/0.4305, allocations: 8.614 MB / 407.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008641/0.4392, allocations: 191.5 kB / 408.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006848/0.4461, allocations: 1.901 MB / 410 MB, free: 12.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02032/0.4665, allocations: 5.232 MB / 415.2 MB, free: 7.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.4702, allocations: 0.5655 MB / 415.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005369/0.4756, allocations: 1.752 MB / 417.5 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007593/0.4832, allocations: 3.598 MB / 421.1 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.4853, allocations: 0.7948 MB / 421.9 MB, free: 480 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.488, allocations: 1.169 MB / 423.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.4909, allocations: 0.9051 MB / 424 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.4921, allocations: 116 kB / 424.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002481/0.4946, allocations: 1.5 MB / 425.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.4959, allocations: 268 kB / 425.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008858/0.5048, allocations: 5.413 MB / 431.3 MB, free: 7.086 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5048, allocations: 0 / 431.3 MB, free: 7.086 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5049, allocations: 0 / 431.3 MB, free: 7.086 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002346/0.5051, allocations: 0 / 431.3 MB, free: 7.086 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.01203/0.5171, allocations: 3.838 MB / 435.1 MB, free: 3.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.5172, allocations: 12.02 kB / 435.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01531/0.5325, allocations: 2.299 MB / 437.4 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007868/0.5405, allocations: 2.706 MB / 440.2 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003352/0.5409, allocations: 238 kB / 440.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/0.543, allocations: 399.5 kB / 440.8 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02824/0.5713, allocations: 9.999 MB / 450.8 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/0.5716, allocations: 43.62 kB / 450.8 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/0.5726, allocations: 159.8 kB / 451 MB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005117/0.5777, allocations: 1.841 MB / 452.8 MB, free: 0.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02765/0.6054, allocations: 8.47 MB / 461.3 MB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4241/1.03, allocations: 39.22 MB / 0.4888 GB, free: 80.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/1.044, allocations: 3.6 MB / 0.4923 GB, free: 80.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01564/1.06, allocations: 7.193 MB / 0.4993 GB, free: 76.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/1.06, allocations: 50.42 kB / 0.4994 GB, free: 76.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 7.153e-06/1.06, allocations: 3.984 kB / 0.4994 GB, free: 76.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.05859/1.119, allocations: 14.45 MB / 0.5135 GB, free: 66.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001285/1.12, allocations: 1.61 MB / 0.5151 GB, free: 64.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006625/1.127, allocations: 3.699 MB / 0.5187 GB, free: 60.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000411/1.127, allocations: 42.72 kB / 0.5187 GB, free: 60.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002213/1.129, allocations: 3.066 MB / 0.5217 GB, free: 57.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009479/1.13, allocations: 0.6346 MB / 0.5223 GB, free: 57.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000508/1.131, allocations: 116.9 kB / 0.5224 GB, free: 56.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003242/1.131, allocations: 0.5706 MB / 0.523 GB, free: 56.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004667/1.136, allocations: 2.046 MB / 0.525 GB, free: 54.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006896/1.143, allocations: 5.821 MB / 0.5307 GB, free: 46.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007473/1.15, allocations: 3.372 MB / 0.534 GB, free: 43.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.65e-05/1.151, allocations: 40 kB / 0.534 GB, free: 43.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.03305/1.184, allocations: 9.24 MB / 0.543 GB, free: 34.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.387e-05/1.184, allocations: 67.97 kB / 0.5431 GB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0186/1.202, allocations: 3.58 MB / 0.5466 GB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01868/1.221, allocations: 2.281 MB / 0.5488 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007572/1.229, allocations: 1.388 MB / 0.5502 GB, free: 26.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/1.243, allocations: 6.644 MB / 0.5567 GB, free: 19.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00668/1.25, allocations: 407.1 kB / 0.557 GB, free: 19.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/1.251, allocations: 376 kB / 0.5574 GB, free: 19.08 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): 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.004655/1.256, allocations: 2.025 MB / 0.5594 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008412/1.256, allocations: 339.6 kB / 0.5597 GB, free: 16.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009653/1.266, allocations: 3.01 MB / 0.5626 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008366/1.275, allocations: 2.532 MB / 0.5651 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/1.275, allocations: 4 kB / 0.5651 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.15e-05/1.275, allocations: 11.94 kB / 0.5651 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02851/1.303, allocations: 9.386 MB / 0.5743 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/1.303, allocations: 8.375 kB / 0.5743 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/1.306, allocations: 259.6 kB / 0.5746 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005655/1.311, allocations: 1.068 MB / 0.5756 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004197/1.312, allocations: 41.06 kB / 0.5756 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009874/1.322, allocations: 4.895 MB / 0.5804 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001677/1.323, allocations: 1.466 MB / 0.5819 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/1.34, allocations: 5.759 MB / 0.5875 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/1.342, allocations: 404.5 kB / 0.5879 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001383/1.343, allocations: 43.94 kB / 0.5879 GB, free: 3.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003254/1.347, allocations: 135.7 kB / 0.588 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006199/1.347, allocations: 96.86 kB / 0.5881 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/1.348, allocations: 49.14 kB / 0.5882 GB, free: 2.824 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007239/1.355, allocations: 2.591 MB / 0.5907 GB, free: 260 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.355, allocations: 0 / 0.5907 GB, free: 260 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.007641/1.362, allocations: 1.049 MB / 0.5917 GB, free: 15.21 MB / 442.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.0009851/1.364, allocations: 187.3 kB / 0.5919 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01735/1.381, allocations: 5.509 MB / 0.5973 GB, free: 9.484 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.381, allocations: 384 / 0.5973 GB, free: 9.484 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007184/1.388, allocations: 2.085 MB / 0.5993 GB, free: 7.328 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004012/1.392, allocations: 413.5 kB / 0.5997 GB, free: 6.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03111/1.423, allocations: 11.52 MB / 0.611 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007758/1.431, allocations: 3.289 MB / 0.6142 GB, free: 7.992 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/1.433, allocations: 287.4 kB / 0.6145 GB, free: 7.711 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/1.433, allocations: 4 kB / 0.6145 GB, free: 7.707 MB / 458.7 MB Notification: Performance of Templates: time 0.5928/2.026, allocations: 124 MB / 0.7356 GB, free: 93 MB / 490.7 MB