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.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.401e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3505, allocations: 48.7 MB / 324.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.03667/0.3872, allocations: 23.48 MB / 348.3 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.4063, allocations: 5.982 MB / 354.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006712/0.4131, allocations: 113.8 kB / 354.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00524/0.4184, allocations: 1.265 MB / 355.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01516/0.4336, allocations: 3.616 MB / 359.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.4362, allocations: 404.1 kB / 359.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005044/0.4413, allocations: 1.579 MB / 361.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004187/0.4455, allocations: 1.852 MB / 363.1 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.4478, allocations: 0.6974 MB / 363.8 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.4506, allocations: 1.173 MB / 365 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.4543, allocations: 0.8621 MB / 365.9 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001568/0.456, allocations: 120 kB / 366 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003564/0.4596, allocations: 1.403 MB / 367.4 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001876/0.4615, allocations: 224 kB / 367.6 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.4732, allocations: 4.938 MB / 372.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4733, allocations: 0 / 372.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.4733, allocations: 0 / 372.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002409/0.4736, allocations: 0 / 372.5 MB, free: 15.75 MB / 314.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.01667/0.4903, allocations: 3.677 MB / 376.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.754e-05/0.4904, allocations: 8.031 kB / 376.2 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03949/0.5299, allocations: 3.836 MB / 380.1 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/0.5415, allocations: 2.415 MB / 382.5 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004817/0.5421, allocations: 188.7 kB / 382.7 MB, free: 5.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003498/0.5456, allocations: 343.4 kB / 383 MB, free: 5.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04447/0.5902, allocations: 10.82 MB / 393.8 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002405/0.5905, allocations: 27.72 kB / 393.8 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002079/0.5926, allocations: 115.8 kB / 393.9 MB, free: 9.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01406/0.6067, allocations: 2.557 MB / 396.5 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03257/0.6394, allocations: 10.33 MB / 406.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08048/0.7199, allocations: 35.87 MB / 442.7 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.014/0.7339, allocations: 4.422 MB / 447.1 MB, free: 3.441 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002004/0.736, allocations: 1.319 MB / 448.4 MB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.733e-05/0.7361, allocations: 60.52 kB / 448.5 MB, free: 1.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=245): time 6.091e-06/0.7361, allocations: 0 / 448.5 MB, free: 1.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=261): time 0.07459/0.8107, allocations: 17.65 MB / 466.1 MB, free: 15.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001778/0.8126, allocations: 1.531 MB / 467.7 MB, free: 14.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00629/0.8189, allocations: 2.687 MB / 470.4 MB, free: 11.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006117/0.8196, allocations: 61.69 kB / 470.4 MB, free: 11.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002951/0.8225, allocations: 2.719 MB / 473.1 MB, free: 8.711 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001791/0.8244, allocations: 0.9558 MB / 474.1 MB, free: 7.742 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007283/0.8252, allocations: 112 kB / 474.2 MB, free: 7.633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007947/0.826, allocations: 0.5506 MB / 474.8 MB, free: 7.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00934/0.8353, allocations: 2.435 MB / 477.2 MB, free: 4.629 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3056/1.141, allocations: 5.436 MB / 482.6 MB, free: 120.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009378/1.15, allocations: 3.638 MB / 486.3 MB, free: 119.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001586/1.151, allocations: 30.25 kB / 486.3 MB, free: 119.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.03069/1.181, allocations: 8.813 MB / 495.1 MB, free: 116.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000238/1.182, allocations: 56.22 kB / 495.2 MB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01683/1.199, allocations: 3.991 MB / 499.2 MB, free: 115.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008537/1.207, allocations: 1.405 MB / 0.4888 GB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0079/1.215, allocations: 1.291 MB / 0.4901 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009836/1.225, allocations: 4.405 MB / 0.4944 GB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008658/1.234, allocations: 400.9 kB / 0.4948 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/1.235, allocations: 323.5 kB / 0.4951 GB, free: 112.3 MB / 410.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): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.006139/1.241, allocations: 2.083 MB / 0.4971 GB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009291/1.242, allocations: 278.6 kB / 0.4974 GB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02261/1.264, allocations: 5.429 MB / 0.5027 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02053/1.285, allocations: 4.685 MB / 0.5073 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/1.285, allocations: 2.188 kB / 0.5073 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.733e-05/1.285, allocations: 11.95 kB / 0.5073 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04086/1.326, allocations: 14.73 MB / 0.5217 GB, free: 92.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-05/1.326, allocations: 12.06 kB / 0.5217 GB, free: 92.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00362/1.33, allocations: 423.3 kB / 0.5221 GB, free: 91.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007866/1.338, allocations: 1.243 MB / 0.5233 GB, free: 90.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006083/1.338, allocations: 67.97 kB / 0.5234 GB, free: 90.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006652/1.345, allocations: 4.533 MB / 0.5278 GB, free: 85.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001119/1.346, allocations: 1.477 MB / 0.5292 GB, free: 83.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02154/1.368, allocations: 8.955 MB / 0.538 GB, free: 74.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008933/1.369, allocations: 353.4 kB / 0.5383 GB, free: 74.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/1.37, allocations: 53.36 kB / 0.5384 GB, free: 74.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003269/1.373, allocations: 202.3 kB / 0.5385 GB, free: 74.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008019/1.374, allocations: 173.5 kB / 0.5387 GB, free: 73.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000295/1.374, allocations: 79.97 kB / 0.5388 GB, free: 73.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003716/1.378, allocations: 1.857 MB / 0.5406 GB, free: 72.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.378, allocations: 0 / 0.5406 GB, free: 72.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006171/1.384, allocations: 1.072 MB / 0.5416 GB, free: 70.94 MB / 410.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.000906/1.385, allocations: 215 kB / 0.5419 GB, free: 70.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01561/1.401, allocations: 6.45 MB / 0.5482 GB, free: 64.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/1.401, allocations: 0.9375 kB / 0.5482 GB, free: 64.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007881/1.409, allocations: 2.895 MB / 0.551 GB, free: 61.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/1.412, allocations: 358.5 kB / 0.5513 GB, free: 60.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02614/1.438, allocations: 12.95 MB / 0.564 GB, free: 47.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006435/1.444, allocations: 3.394 MB / 0.5673 GB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/1.446, allocations: 271.4 kB / 0.5675 GB, free: 44.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/1.446, allocations: 0 / 0.5675 GB, free: 44.09 MB / 410.7 MB Notification: Performance of Templates: time 0.6073/2.054, allocations: 125.9 MB / 0.6905 GB, free: 86.34 MB / 426.7 MB