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_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 1.813/1.813, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.124e-05/4.111e-05, allocations: 0 / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.134, allocations: 48.7 MB / 321.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4947, allocations: 92.72 MB / 414.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.495, allocations: 72 kB / 414.5 MB, free: 2.473 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3058/0.8007, allocations: 81.89 MB / 496.4 MB, free: 8.156 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.8008, allocations: 0 / 496.4 MB, free: 8.156 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000234/0.801, allocations: 83.98 kB / 496.5 MB, free: 8.074 MB / 394.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.01204/0.8131, allocations: 3.912 MB / 0.4887 GB, free: 4.098 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.8131, allocations: 8.031 kB / 0.4887 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01423/0.8274, allocations: 2.33 MB / 0.491 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/0.8434, allocations: 5.175 MB / 0.496 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003892/0.8439, allocations: 320.3 kB / 0.4963 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/0.8453, allocations: 423.8 kB / 0.4968 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/0.8694, allocations: 10.27 MB / 0.5068 GB, free: 464 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/0.8697, allocations: 63.36 kB / 0.5068 GB, free: 400 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008494/0.8705, allocations: 211.9 kB / 0.507 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001918/0.8725, allocations: 0.9946 MB / 0.508 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/0.8937, allocations: 8.133 MB / 0.516 GB, free: 7.043 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2984/1.192, allocations: 48.28 MB / 0.5631 GB, free: 57.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/1.203, allocations: 3.539 MB / 0.5666 GB, free: 57.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002601/1.206, allocations: 1.528 MB / 0.5681 GB, free: 57.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01278/1.219, allocations: 6.983 MB / 0.5749 GB, free: 54.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.219, allocations: 44.69 kB / 0.5749 GB, free: 54.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 5.597e-06/1.219, allocations: 7.781 kB / 0.5749 GB, free: 54.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=155): time 0.03854/1.257, allocations: 11.88 MB / 0.5865 GB, free: 52.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001135/1.259, allocations: 1.585 MB / 0.5881 GB, free: 50.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006311/1.265, allocations: 3.444 MB / 0.5914 GB, free: 50.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003245/1.265, allocations: 49.95 kB / 0.5915 GB, free: 50.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/1.267, allocations: 3.074 MB / 0.5945 GB, free: 48.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007209/1.268, allocations: 0.6322 MB / 0.5951 GB, free: 47.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/1.268, allocations: 120.3 kB / 0.5952 GB, free: 47.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000348/1.269, allocations: 0.5701 MB / 0.5958 GB, free: 47.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003781/1.273, allocations: 1.947 MB / 0.5977 GB, free: 46.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005711/1.278, allocations: 5.701 MB / 0.6032 GB, free: 40.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006272/1.285, allocations: 3.334 MB / 0.6065 GB, free: 39.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.285, allocations: 38.22 kB / 0.6065 GB, free: 39.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.0184/1.303, allocations: 7.647 MB / 0.614 GB, free: 37.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.303, allocations: 62.88 kB / 0.6141 GB, free: 37.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005858/1.309, allocations: 2.426 MB / 0.6164 GB, free: 36.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003767/1.313, allocations: 1.05 MB / 0.6175 GB, free: 36.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00606/1.319, allocations: 1.4 MB / 0.6188 GB, free: 36.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005092/1.324, allocations: 4.322 MB / 0.623 GB, free: 33.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006132/1.33, allocations: 388.9 kB / 0.6234 GB, free: 33.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/1.332, allocations: 376.7 kB / 0.6238 GB, free: 33.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * 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 (750): * Single equations (assignments): 741 * 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 {1} * 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.001075/1.333, allocations: 0.5737 MB / 0.6243 GB, free: 32.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000733/1.334, allocations: 348.7 kB / 0.6247 GB, free: 32.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006945/1.34, allocations: 2.907 MB / 0.6275 GB, free: 31.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006279/1.347, allocations: 2.441 MB / 0.6299 GB, free: 30.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.213e-05/1.347, allocations: 3.875 kB / 0.6299 GB, free: 30.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-05/1.347, allocations: 10.42 kB / 0.6299 GB, free: 30.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0208/1.368, allocations: 9.167 MB / 0.6389 GB, free: 25.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-05/1.368, allocations: 7.75 kB / 0.6389 GB, free: 25.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/1.369, allocations: 255.3 kB / 0.6391 GB, free: 24.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003666/1.373, allocations: 1.008 MB / 0.6401 GB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002983/1.373, allocations: 46.16 kB / 0.6401 GB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006022/1.379, allocations: 4.836 MB / 0.6449 GB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008748/1.38, allocations: 1.448 MB / 0.6463 GB, free: 18.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009683/1.39, allocations: 5.551 MB / 0.6517 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.391, allocations: 398.8 kB / 0.6521 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005859/1.392, allocations: 36.05 kB / 0.6521 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/1.394, allocations: 130.1 kB / 0.6522 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/1.394, allocations: 103.2 kB / 0.6523 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/1.394, allocations: 51.97 kB / 0.6524 GB, free: 12.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004484/1.399, allocations: 2.366 MB / 0.6547 GB, free: 10.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.16e-06/1.399, allocations: 0 / 0.6547 GB, free: 10.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006291/1.405, allocations: 1.011 MB / 0.6557 GB, free: 9.523 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.000475/1.406, allocations: 176.9 kB / 0.6558 GB, free: 9.355 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01032/1.416, allocations: 5.062 MB / 0.6608 GB, free: 4.824 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.416, allocations: 4 kB / 0.6608 GB, free: 4.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004449/1.421, allocations: 2.082 MB / 0.6628 GB, free: 2.988 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/1.423, allocations: 416.2 kB / 0.6632 GB, free: 2.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/1.443, allocations: 8.239 MB / 0.6713 GB, free: 11.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006441/1.45, allocations: 3.299 MB / 0.6745 GB, free: 8.867 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/1.451, allocations: 282.4 kB / 0.6748 GB, free: 8.609 MB / 442.7 MB Notification: Performance of SimCode: time 1.816e-06/1.451, allocations: 0 / 0.6748 GB, free: 8.609 MB / 442.7 MB Notification: Performance of Templates: time 0.4474/1.899, allocations: 121.6 MB / 0.7935 GB, free: 40.58 MB / 442.7 MB