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_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 2.503/2.503, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.391e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4413, allocations: 54.86 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.06163/0.503, allocations: 23.49 MB / 386.4 MB, free: 6.219 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02836/0.5314, allocations: 6.013 MB / 392.4 MB, free: 188 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007263/0.5388, allocations: 115.8 kB / 392.5 MB, free: 72 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006718/0.5456, allocations: 1.264 MB / 393.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02212/0.5678, allocations: 3.6 MB / 397.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.571, allocations: 395.3 kB / 397.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006703/0.5777, allocations: 1.579 MB / 399.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004529/0.5823, allocations: 1.857 MB / 401.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.584, allocations: 0.7013 MB / 401.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.5866, allocations: 1.169 MB / 403.1 MB, free: 5.457 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.5895, allocations: 0.8816 MB / 403.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.5907, allocations: 120 kB / 404.1 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002524/0.5932, allocations: 1.407 MB / 405.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.5945, allocations: 220 kB / 405.7 MB, free: 2.832 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008842/0.6034, allocations: 4.94 MB / 410.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.6034, allocations: 0 / 410.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.6034, allocations: 0 / 410.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002481/0.6037, allocations: 0 / 410.6 MB, free: 13.88 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.01187/0.6156, allocations: 3.689 MB / 414.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.6156, allocations: 12.02 kB / 414.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02537/0.641, allocations: 3.847 MB / 418.2 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007001/0.6481, allocations: 2.427 MB / 420.6 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.6484, allocations: 188.7 kB / 420.8 MB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/0.6505, allocations: 335.4 kB / 421.1 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02797/0.6785, allocations: 10.83 MB / 431.9 MB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001903/0.6787, allocations: 31.7 kB / 432 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00155/0.6803, allocations: 115.8 kB / 432.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007892/0.6883, allocations: 2.561 MB / 434.6 MB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/0.722, allocations: 10.32 MB / 445 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08716/0.8093, allocations: 35.88 MB / 480.8 MB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/0.8238, allocations: 4.415 MB / 485.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002053/0.8259, allocations: 1.319 MB / 486.6 MB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.036e-05/0.8261, allocations: 56.56 kB / 486.6 MB, free: 15.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 7.494e-06/0.8261, allocations: 0 / 486.6 MB, free: 15.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=261): time 0.3995/1.226, allocations: 17.63 MB / 0.4924 GB, free: 119.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001523/1.227, allocations: 1.535 MB / 0.4939 GB, free: 117.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006286/1.234, allocations: 2.68 MB / 0.4966 GB, free: 116.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006534/1.234, allocations: 57.67 kB / 0.4966 GB, free: 116.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002245/1.236, allocations: 2.736 MB / 0.4993 GB, free: 115.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001476/1.238, allocations: 0.9524 MB / 0.5002 GB, free: 114.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005927/1.239, allocations: 113.5 kB / 0.5003 GB, free: 114.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004109/1.239, allocations: 0.5471 MB / 0.5009 GB, free: 114 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006136/1.245, allocations: 2.462 MB / 0.5033 GB, free: 113.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008168/1.253, allocations: 5.461 MB / 0.5086 GB, free: 108.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009331/1.263, allocations: 3.667 MB / 0.5122 GB, free: 107.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000157/1.263, allocations: 28.88 kB / 0.5122 GB, free: 107.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.03882/1.302, allocations: 9.795 MB / 0.5218 GB, free: 100.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/1.302, allocations: 56.12 kB / 0.5218 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02513/1.327, allocations: 4.904 MB / 0.5266 GB, free: 95.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02146/1.349, allocations: 2.386 MB / 0.5289 GB, free: 92.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008234/1.357, allocations: 1.291 MB / 0.5302 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/1.371, allocations: 6.155 MB / 0.5362 GB, free: 85.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006686/1.378, allocations: 398.2 kB / 0.5366 GB, free: 84.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/1.379, allocations: 332 kB / 0.5369 GB, free: 84.55 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.005587/1.385, allocations: 2.073 MB / 0.5389 GB, free: 82.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007864/1.386, allocations: 280.3 kB / 0.5392 GB, free: 82.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01857/1.404, allocations: 5.44 MB / 0.5445 GB, free: 76.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01691/1.421, allocations: 4.677 MB / 0.5491 GB, free: 71.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.294e-05/1.421, allocations: 4 kB / 0.5491 GB, free: 71.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.732e-05/1.421, allocations: 11.95 kB / 0.5491 GB, free: 71.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04224/1.464, allocations: 14.74 MB / 0.5635 GB, free: 57.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-05/1.464, allocations: 8 kB / 0.5635 GB, free: 57.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003794/1.468, allocations: 427.3 kB / 0.5639 GB, free: 56.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008237/1.476, allocations: 1.24 MB / 0.5651 GB, free: 55.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006443/1.477, allocations: 69.98 kB / 0.5652 GB, free: 55.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006834/1.483, allocations: 4.53 MB / 0.5696 GB, free: 50.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001115/1.485, allocations: 1.471 MB / 0.571 GB, free: 48.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02241/1.507, allocations: 8.953 MB / 0.5798 GB, free: 39.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/1.508, allocations: 349.4 kB / 0.5801 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001737/1.51, allocations: 53.47 kB / 0.5802 GB, free: 39.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003714/1.514, allocations: 200.7 kB / 0.5804 GB, free: 38.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005947/1.515, allocations: 173.5 kB / 0.5805 GB, free: 38.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002857/1.515, allocations: 77.47 kB / 0.5806 GB, free: 38.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003519/1.518, allocations: 1.857 MB / 0.5824 GB, free: 36.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.518, allocations: 4 kB / 0.5824 GB, free: 36.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006357/1.525, allocations: 1.088 MB / 0.5835 GB, free: 35.68 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.00103/1.526, allocations: 218.8 kB / 0.5837 GB, free: 35.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01681/1.543, allocations: 6.502 MB / 0.59 GB, free: 28.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/1.543, allocations: 0 / 0.59 GB, free: 28.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008759/1.552, allocations: 2.885 MB / 0.5929 GB, free: 25.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004159/1.556, allocations: 361.8 kB / 0.5932 GB, free: 25.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02875/1.585, allocations: 12.49 MB / 0.6054 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007028/1.592, allocations: 3.386 MB / 0.6087 GB, free: 9.531 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009135/1.601, allocations: 2.109 MB / 0.6108 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.603, allocations: 231.4 kB / 0.611 GB, free: 7.191 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/1.603, allocations: 0 / 0.611 GB, free: 7.191 MB / 426.7 MB Notification: Performance of Templates: time 0.1091/1.712, allocations: 35.64 MB / 0.6458 GB, free: 3.668 MB / 458.7 MB