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.248/2.248, allocations: 235 MB / 247.2 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.1e-05/5.166e-05, allocations: 4 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3684, allocations: 54.86 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.5191, allocations: 99.46 MB / 459.3 MB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.5194, allocations: 71.97 kB / 459.3 MB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5875/1.107, allocations: 82.06 MB / 0.5287 GB, free: 102.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.809e-06/1.107, allocations: 0 / 0.5287 GB, free: 102.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002308/1.107, allocations: 83.66 kB / 0.5288 GB, free: 102.2 MB / 458.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.01169/1.119, allocations: 3.919 MB / 0.5326 GB, free: 100.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.119, allocations: 10.22 kB / 0.5326 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/1.133, allocations: 2.34 MB / 0.5349 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0153/1.148, allocations: 5.179 MB / 0.54 GB, free: 99.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003638/1.148, allocations: 326 kB / 0.5403 GB, free: 99.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/1.15, allocations: 428.2 kB / 0.5407 GB, free: 99.67 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02227/1.172, allocations: 10.27 MB / 0.5507 GB, free: 96.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001844/1.173, allocations: 59.97 kB / 0.5508 GB, free: 96.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007467/1.173, allocations: 207.9 kB / 0.551 GB, free: 96.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001504/1.175, allocations: 1.001 MB / 0.5519 GB, free: 96.87 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/1.194, allocations: 8.132 MB / 0.5599 GB, free: 96.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05533/1.25, allocations: 48.29 MB / 0.607 GB, free: 59.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01955/1.269, allocations: 3.536 MB / 0.6105 GB, free: 58.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004633/1.274, allocations: 1.52 MB / 0.612 GB, free: 57.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02057/1.295, allocations: 6.987 MB / 0.6188 GB, free: 53.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/1.295, allocations: 43.16 kB / 0.6188 GB, free: 53.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 9.078e-06/1.295, allocations: 0 / 0.6188 GB, free: 53.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=155): time 0.03841/1.333, allocations: 11.89 MB / 0.6305 GB, free: 46.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00109/1.334, allocations: 1.582 MB / 0.632 GB, free: 44.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/1.344, allocations: 3.441 MB / 0.6354 GB, free: 41.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003957/1.345, allocations: 49.53 kB / 0.6354 GB, free: 41.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003546/1.348, allocations: 3.134 MB / 0.6385 GB, free: 38.51 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001329/1.35, allocations: 0.6394 MB / 0.6391 GB, free: 37.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007633/1.351, allocations: 120.1 kB / 0.6392 GB, free: 37.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000375/1.351, allocations: 0.5624 MB / 0.6398 GB, free: 37.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/1.355, allocations: 1.951 MB / 0.6417 GB, free: 35.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005722/1.36, allocations: 5.709 MB / 0.6472 GB, free: 28.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00557/1.366, allocations: 3.328 MB / 0.6505 GB, free: 25.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.796e-05/1.366, allocations: 40 kB / 0.6505 GB, free: 25.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01766/1.384, allocations: 7.863 MB / 0.6582 GB, free: 18.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9e-05/1.384, allocations: 68.03 kB / 0.6583 GB, free: 18.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005697/1.39, allocations: 2.514 MB / 0.6607 GB, free: 16.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003991/1.394, allocations: 1.125 MB / 0.6618 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005178/1.399, allocations: 1.384 MB / 0.6632 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005278/1.404, allocations: 4.658 MB / 0.6677 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005819/1.41, allocations: 382.2 kB / 0.6681 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008001/1.411, allocations: 378.7 kB / 0.6684 GB, free: 9.359 MB / 458.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 (747): * Single equations (assignments): 738 * 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.0009119/1.412, allocations: 0.5747 MB / 0.669 GB, free: 8.789 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006157/1.412, allocations: 335.3 kB / 0.6693 GB, free: 8.461 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006534/1.419, allocations: 2.916 MB / 0.6722 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006239/1.425, allocations: 2.441 MB / 0.6746 GB, free: 3.309 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.425, allocations: 7.938 kB / 0.6746 GB, free: 3.301 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.961e-05/1.425, allocations: 7.969 kB / 0.6746 GB, free: 3.293 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02191/1.447, allocations: 9.18 MB / 0.6835 GB, free: 9.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.427e-05/1.447, allocations: 7.953 kB / 0.6835 GB, free: 9.973 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/1.449, allocations: 251.6 kB / 0.6838 GB, free: 9.727 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004024/1.453, allocations: 1.014 MB / 0.6848 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002513/1.453, allocations: 43.97 kB / 0.6848 GB, free: 8.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0077/1.461, allocations: 4.829 MB / 0.6895 GB, free: 3.574 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001469/1.462, allocations: 1.446 MB / 0.6909 GB, free: 1.984 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.475, allocations: 5.549 MB / 0.6964 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.476, allocations: 400.5 kB / 0.6967 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006718/1.477, allocations: 35.89 kB / 0.6968 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.479, allocations: 123.8 kB / 0.6969 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003362/1.479, allocations: 108.5 kB / 0.697 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/1.479, allocations: 49.77 kB / 0.697 GB, free: 11.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005724/1.485, allocations: 2.369 MB / 0.6994 GB, free: 9.242 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.66e-06/1.485, allocations: 0 / 0.6994 GB, free: 9.242 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006863/1.492, allocations: 1.016 MB / 0.7004 GB, free: 8.227 MB / 490.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.0005728/1.493, allocations: 174.6 kB / 0.7005 GB, free: 8.055 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01207/1.505, allocations: 5.15 MB / 0.7055 GB, free: 2.863 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.075e-06/1.505, allocations: 0 / 0.7055 GB, free: 2.863 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005221/1.51, allocations: 2.076 MB / 0.7076 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/1.513, allocations: 418.9 kB / 0.708 GB, free: 336 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2816/1.794, allocations: 7.75 MB / 0.7155 GB, free: 119.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005844/1.8, allocations: 3.292 MB / 0.7188 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006964/1.807, allocations: 1.89 MB / 0.7206 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009941/1.808, allocations: 235.7 kB / 0.7208 GB, free: 118.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.853e-06/1.808, allocations: 0 / 0.7208 GB, free: 118.3 MB / 490.7 MB Notification: Performance of Templates: time 0.08984/1.898, allocations: 32.72 MB / 0.7528 GB, free: 116.6 MB / 490.7 MB