Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,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.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.258e-05/4.271e-05, allocations: 7.984 kB / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3895, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.0375/0.4271, allocations: 23.48 MB / 386.3 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01883/0.446, allocations: 6.017 MB / 392.4 MB, free: 292 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006345/0.4524, allocations: 111.8 kB / 392.5 MB, free: 180 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005668/0.4581, allocations: 1.26 MB / 393.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0175/0.4757, allocations: 3.611 MB / 397.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.4788, allocations: 387.3 kB / 397.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005943/0.4848, allocations: 1.583 MB / 399.3 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005049/0.4899, allocations: 1.849 MB / 401.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.4921, allocations: 0.6935 MB / 401.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00327/0.4954, allocations: 1.177 MB / 403 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.499, allocations: 0.8738 MB / 403.9 MB, free: 4.691 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001306/0.5004, allocations: 120 kB / 404 MB, free: 4.574 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003243/0.5037, allocations: 1.41 MB / 405.4 MB, free: 3.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.5052, allocations: 220 kB / 405.6 MB, free: 2.945 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.5158, allocations: 4.943 MB / 410.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5159, allocations: 4 kB / 410.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.5159, allocations: 0 / 410.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000214/0.5161, allocations: 0 / 410.6 MB, free: 13.99 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01417/0.5303, allocations: 3.681 MB / 414.3 MB, free: 10.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.5304, allocations: 12.03 kB / 414.3 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.033/0.5634, allocations: 3.851 MB / 418.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007189/0.5707, allocations: 2.423 MB / 420.5 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.571, allocations: 192.6 kB / 420.7 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/0.5732, allocations: 335.4 kB / 421.1 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02776/0.601, allocations: 10.82 MB / 431.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/0.6012, allocations: 35.66 kB / 431.9 MB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001192/0.6024, allocations: 119.8 kB / 432 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007505/0.6099, allocations: 2.557 MB / 434.6 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03618/0.6462, allocations: 10.33 MB / 444.9 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08005/0.7263, allocations: 35.88 MB / 480.8 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/0.7401, allocations: 4.426 MB / 485.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002361/0.7425, allocations: 1.311 MB / 486.5 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.647e-05/0.7427, allocations: 60.55 kB / 486.6 MB, free: 24 kB / 410.7 MB Notification: Performance of pre-optimization done (n=245): time 8.536e-06/0.7427, allocations: 0 / 486.6 MB, free: 24 kB / 410.7 MB Notification: Performance of matching and sorting (n=261): time 0.4091/1.152, allocations: 17.63 MB / 0.4924 GB, free: 118.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001408/1.153, allocations: 1.537 MB / 0.4939 GB, free: 117.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005195/1.158, allocations: 2.681 MB / 0.4965 GB, free: 116.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005663/1.159, allocations: 57.45 kB / 0.4966 GB, free: 116.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001879/1.161, allocations: 2.728 MB / 0.4992 GB, free: 115 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001334/1.162, allocations: 0.9569 MB / 0.5002 GB, free: 114.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/1.163, allocations: 105.1 kB / 0.5003 GB, free: 114.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003185/1.163, allocations: 0.557 MB / 0.5008 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005486/1.169, allocations: 2.456 MB / 0.5032 GB, free: 113 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007044/1.176, allocations: 5.465 MB / 0.5086 GB, free: 108.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00763/1.183, allocations: 3.658 MB / 0.5121 GB, free: 106.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.157e-05/1.183, allocations: 31.28 kB / 0.5122 GB, free: 106.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.03532/1.219, allocations: 9.733 MB / 0.5217 GB, free: 100.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.141e-05/1.219, allocations: 50.72 kB / 0.5217 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02377/1.243, allocations: 4.905 MB / 0.5265 GB, free: 95.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02112/1.264, allocations: 2.395 MB / 0.5288 GB, free: 93.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007881/1.272, allocations: 1.291 MB / 0.5301 GB, free: 91.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.285, allocations: 6.15 MB / 0.5361 GB, free: 85.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006346/1.292, allocations: 400.9 kB / 0.5365 GB, free: 85.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.293, allocations: 328.8 kB / 0.5368 GB, free: 84.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (689): * Single equations (assignments): 677 * Array equations: 8 * 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.004618/1.297, allocations: 2.085 MB / 0.5388 GB, free: 82.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007577/1.298, allocations: 276.3 kB / 0.5391 GB, free: 82.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01632/1.314, allocations: 5.433 MB / 0.5444 GB, free: 76.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01479/1.329, allocations: 4.682 MB / 0.549 GB, free: 72.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/1.329, allocations: 4 kB / 0.549 GB, free: 72.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.905e-05/1.329, allocations: 7.969 kB / 0.549 GB, free: 72.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03969/1.369, allocations: 14.74 MB / 0.5634 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-05/1.369, allocations: 14.81 kB / 0.5634 GB, free: 57.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003691/1.373, allocations: 427.3 kB / 0.5638 GB, free: 56.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008054/1.381, allocations: 1.244 MB / 0.565 GB, free: 55.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006612/1.382, allocations: 64.98 kB / 0.5651 GB, free: 55.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006899/1.389, allocations: 4.52 MB / 0.5695 GB, free: 50.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001134/1.39, allocations: 1.483 MB / 0.5709 GB, free: 49.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02217/1.412, allocations: 8.952 MB / 0.5797 GB, free: 39.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009338/1.413, allocations: 349.4 kB / 0.58 GB, free: 39.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/1.414, allocations: 61.16 kB / 0.5801 GB, free: 39.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003439/1.418, allocations: 197.2 kB / 0.5803 GB, free: 39.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007572/1.418, allocations: 173.6 kB / 0.5804 GB, free: 38.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002715/1.419, allocations: 77.45 kB / 0.5805 GB, free: 38.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003587/1.422, allocations: 1.853 MB / 0.5823 GB, free: 36.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.422, allocations: 0 / 0.5823 GB, free: 36.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00629/1.429, allocations: 1.096 MB / 0.5834 GB, free: 35.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (202): * Single equations (assignments): 192 * Array equations: 6 * 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.001068/1.43, allocations: 215.7 kB / 0.5836 GB, free: 35.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0164/1.446, allocations: 6.499 MB / 0.5899 GB, free: 29.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/1.446, allocations: 4 kB / 0.5899 GB, free: 29.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008316/1.455, allocations: 2.899 MB / 0.5928 GB, free: 26.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/1.458, allocations: 353.4 kB / 0.5931 GB, free: 25.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02709/1.485, allocations: 12.96 MB / 0.6058 GB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006185/1.491, allocations: 3.394 MB / 0.6091 GB, free: 9.254 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.493, allocations: 271.4 kB / 0.6093 GB, free: 8.988 MB / 426.7 MB Notification: Performance of SimCode: time 2.084e-06/1.493, allocations: 4 kB / 0.6093 GB, free: 8.984 MB / 426.7 MB Notification: Performance of Templates: time 0.5411/2.034, allocations: 126.7 MB / 0.7331 GB, free: 96.82 MB / 474.7 MB