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_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.983e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1356, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3978/0.5335, allocations: 37.96 MB / 448.9 MB, free: 7.996 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02963/0.5631, allocations: 8.941 MB / 457.8 MB, free: 2.121 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01117/0.5744, allocations: 203.3 kB / 458 MB, free: 2.086 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008327/0.5828, allocations: 1.942 MB / 460 MB, free: 1.449 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02365/0.6065, allocations: 5.477 MB / 465.4 MB, free: 13.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.6105, allocations: 0.5561 MB / 466 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005596/0.6162, allocations: 1.755 MB / 467.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007361/0.6236, allocations: 3.59 MB / 471.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.6258, allocations: 0.7915 MB / 472.1 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.6286, allocations: 1.14 MB / 473.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.6318, allocations: 0.9128 MB / 474.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001195/0.6331, allocations: 120 kB / 474.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002707/0.6358, allocations: 1.508 MB / 475.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.6373, allocations: 264 kB / 476.1 MB, free: 6.367 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00887/0.6462, allocations: 5.302 MB / 481.4 MB, free: 1.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6462, allocations: 0 / 481.4 MB, free: 1.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.029e-06/0.6462, allocations: 0 / 481.4 MB, free: 1.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002403/0.6465, allocations: 3.938 kB / 481.4 MB, free: 1.047 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.01155/0.6581, allocations: 3.83 MB / 485.2 MB, free: 13.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.6581, allocations: 8.031 kB / 485.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01477/0.6729, allocations: 2.299 MB / 487.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007291/0.6802, allocations: 2.53 MB / 490 MB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/0.6806, allocations: 234.1 kB / 490.3 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002053/0.6827, allocations: 411.4 kB / 490.7 MB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0282/0.7109, allocations: 9.962 MB / 0.4889 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001828/0.7111, allocations: 43.59 kB / 0.4889 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001083/0.7122, allocations: 151.9 kB / 0.4891 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004984/0.7172, allocations: 1.81 MB / 0.4908 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02796/0.7452, allocations: 8.415 MB / 0.4991 GB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07948/0.8248, allocations: 39.02 MB / 0.5372 GB, free: 10.28 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/0.8416, allocations: 3.736 MB / 0.5408 GB, free: 6.391 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01954/0.8611, allocations: 7.819 MB / 0.5485 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/0.8613, allocations: 43.56 kB / 0.5485 GB, free: 14.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=144): time 5.551e-06/0.8613, allocations: 4 kB / 0.5485 GB, free: 14.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.06838/0.9297, allocations: 14.53 MB / 0.5627 GB, free: 15.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001842/0.9316, allocations: 1.604 MB / 0.5643 GB, free: 13.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008915/0.9405, allocations: 3.659 MB / 0.5678 GB, free: 9.961 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004532/0.941, allocations: 49.7 kB / 0.5679 GB, free: 9.906 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003459/0.9445, allocations: 3.015 MB / 0.5708 GB, free: 6.848 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.9458, allocations: 0.6481 MB / 0.5715 GB, free: 6.191 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000717/0.9466, allocations: 116 kB / 0.5716 GB, free: 6.078 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006463/0.9472, allocations: 0.5589 MB / 0.5721 GB, free: 5.508 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005936/0.9532, allocations: 2.015 MB / 0.5741 GB, free: 3.488 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009723/0.9629, allocations: 5.731 MB / 0.5797 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008605/0.9716, allocations: 3.316 MB / 0.5829 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/0.9718, allocations: 43.94 kB / 0.583 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03687/1.009, allocations: 9.122 MB / 0.5919 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/1.009, allocations: 68.2 kB / 0.5919 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01997/1.029, allocations: 3.523 MB / 0.5954 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01948/1.048, allocations: 2.289 MB / 0.5976 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008526/1.057, allocations: 1.361 MB / 0.5989 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/1.074, allocations: 6.692 MB / 0.6055 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006472/1.081, allocations: 395.3 kB / 0.6058 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/1.082, allocations: 376 kB / 0.6062 GB, free: 396 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (740): * Single equations (assignments): 731 * 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.3416/1.424, allocations: 1.997 MB / 0.6082 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009058/1.425, allocations: 337 kB / 0.6085 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/1.436, allocations: 2.965 MB / 0.6114 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009283/1.445, allocations: 2.487 MB / 0.6138 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.964e-05/1.445, allocations: 3.438 kB / 0.6138 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.672e-05/1.445, allocations: 8.078 kB / 0.6138 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02985/1.475, allocations: 9.381 MB / 0.623 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.66e-05/1.475, allocations: 4.594 kB / 0.623 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/1.477, allocations: 256.8 kB / 0.6232 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005873/1.483, allocations: 1.062 MB / 0.6243 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004018/1.484, allocations: 48.02 kB / 0.6243 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008507/1.492, allocations: 4.884 MB / 0.6291 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001249/1.494, allocations: 1.473 MB / 0.6305 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/1.508, allocations: 5.801 MB / 0.6362 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.51, allocations: 403.1 kB / 0.6366 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001292/1.511, allocations: 29.5 kB / 0.6366 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003229/1.514, allocations: 141.4 kB / 0.6367 GB, free: 150 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005927/1.515, allocations: 112 kB / 0.6368 GB, free: 150 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.515, allocations: 48.22 kB / 0.6369 GB, free: 150 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006061/1.521, allocations: 2.55 MB / 0.6394 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.32e-07/1.521, allocations: 0 / 0.6394 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006446/1.528, allocations: 1.047 MB / 0.6404 GB, free: 149.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (126): * Single equations (assignments): 119 * 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.0008396/1.529, allocations: 190.2 kB / 0.6406 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.014/1.543, allocations: 5.487 MB / 0.6459 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.543, allocations: 3.969 kB / 0.6459 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006409/1.549, allocations: 2.072 MB / 0.648 GB, free: 146 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/1.553, allocations: 430.7 kB / 0.6484 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02285/1.575, allocations: 11.38 MB / 0.6595 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005653/1.581, allocations: 3.269 MB / 0.6627 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.583, allocations: 283.4 kB / 0.6629 GB, free: 132 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/1.583, allocations: 0.6562 kB / 0.6629 GB, free: 132 MB / 0.5105 GB Notification: Performance of Templates: time 0.1939/1.776, allocations: 122.6 MB / 0.7826 GB, free: 9.34 MB / 0.5105 GB