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.132/2.132, allocations: 235 MB / 247.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.266e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3217, allocations: 54.85 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.4707, allocations: 95.94 MB / 455.7 MB, free: 1.035 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.471, allocations: 76.77 kB / 455.8 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5892/1.06, allocations: 86.55 MB / 0.5296 GB, free: 106.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.078e-06/1.06, allocations: 1.219 kB / 0.5296 GB, free: 106.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001933/1.06, allocations: 67.41 kB / 0.5297 GB, free: 106.8 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01141/1.072, allocations: 3.702 MB / 0.5333 GB, free: 105.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/1.072, allocations: 8.25 kB / 0.5333 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02629/1.098, allocations: 3.653 MB / 0.5369 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03127/1.13, allocations: 4.931 MB / 0.5417 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008005/1.13, allocations: 293.1 kB / 0.542 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004054/1.135, allocations: 390.5 kB / 0.5423 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04529/1.18, allocations: 10.22 MB / 0.5523 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001391/1.18, allocations: 35.05 kB / 0.5524 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008373/1.181, allocations: 176.1 kB / 0.5525 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001901/1.183, allocations: 1.189 MB / 0.5537 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/1.206, allocations: 9.885 MB / 0.5633 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05882/1.265, allocations: 36.47 MB / 0.599 GB, free: 79.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/1.275, allocations: 4.35 MB / 0.6032 GB, free: 77.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003869/1.279, allocations: 2.169 MB / 0.6053 GB, free: 75.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/1.28, allocations: 1.316 MB / 0.6066 GB, free: 74.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/1.28, allocations: 52.56 kB / 0.6067 GB, free: 74.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=245): time 7.403e-06/1.28, allocations: 0 / 0.6067 GB, free: 74.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=261): time 0.04335/1.324, allocations: 14.29 MB / 0.6206 GB, free: 62.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001151/1.325, allocations: 1.528 MB / 0.6221 GB, free: 60.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/1.329, allocations: 2.441 MB / 0.6245 GB, free: 58.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004322/1.33, allocations: 65.61 kB / 0.6246 GB, free: 58.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/1.331, allocations: 2.72 MB / 0.6272 GB, free: 55.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/1.332, allocations: 0.9568 MB / 0.6281 GB, free: 54.97 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/1.333, allocations: 108 kB / 0.6282 GB, free: 54.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003409/1.333, allocations: 0.5497 MB / 0.6288 GB, free: 54.37 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00458/1.338, allocations: 2.376 MB / 0.6311 GB, free: 52.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006472/1.344, allocations: 5.36 MB / 0.6363 GB, free: 45.74 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006514/1.351, allocations: 3.634 MB / 0.6399 GB, free: 42.64 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.909e-05/1.351, allocations: 28 kB / 0.6399 GB, free: 42.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02522/1.376, allocations: 9.007 MB / 0.6487 GB, free: 34.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.138e-05/1.376, allocations: 53.78 kB / 0.6488 GB, free: 34.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01417/1.39, allocations: 4.539 MB / 0.6532 GB, free: 29.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01153/1.402, allocations: 2.065 MB / 0.6552 GB, free: 27.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006038/1.408, allocations: 1.287 MB / 0.6565 GB, free: 26.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00744/1.415, allocations: 4.951 MB / 0.6613 GB, free: 20.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005405/1.421, allocations: 395.4 kB / 0.6617 GB, free: 20.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/1.422, allocations: 324.5 kB / 0.662 GB, free: 20.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * 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 (688): * Single equations (assignments): 676 * 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.001019/1.423, allocations: 0.5004 MB / 0.6625 GB, free: 19.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005875/1.424, allocations: 276.4 kB / 0.6627 GB, free: 19.44 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.436, allocations: 5.346 MB / 0.668 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01082/1.447, allocations: 4.59 MB / 0.6724 GB, free: 9.383 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.447, allocations: 0 / 0.6724 GB, free: 9.383 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-05/1.447, allocations: 11.97 kB / 0.6725 GB, free: 9.371 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03489/1.482, allocations: 14.58 MB / 0.6867 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-05/1.482, allocations: 12 kB / 0.6867 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002924/1.485, allocations: 427.2 kB / 0.6871 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005569/1.491, allocations: 1.189 MB / 0.6883 GB, free: 8.945 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005463/1.491, allocations: 63.8 kB / 0.6883 GB, free: 8.887 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006909/1.498, allocations: 4.443 MB / 0.6927 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001512/1.5, allocations: 1.468 MB / 0.6941 GB, free: 2.574 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2824/1.782, allocations: 8.762 MB / 0.7027 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008439/1.783, allocations: 341 kB / 0.703 GB, free: 109.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005693/1.783, allocations: 55.94 kB / 0.703 GB, free: 109.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/1.785, allocations: 194.5 kB / 0.7032 GB, free: 109.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/1.786, allocations: 167.7 kB / 0.7034 GB, free: 109.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002786/1.786, allocations: 82.72 kB / 0.7035 GB, free: 109.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003373/1.79, allocations: 1.663 MB / 0.7051 GB, free: 109 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.013e-06/1.79, allocations: 2.625 kB / 0.7051 GB, free: 109 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006225/1.796, allocations: 1.066 MB / 0.7061 GB, free: 109 MB / 474.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.0006197/1.796, allocations: 200.7 kB / 0.7063 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01356/1.81, allocations: 6.219 MB / 0.7124 GB, free: 108.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.81, allocations: 5 kB / 0.7124 GB, free: 108.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006494/1.817, allocations: 2.833 MB / 0.7152 GB, free: 108 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/1.819, allocations: 351.5 kB / 0.7155 GB, free: 108 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/1.839, allocations: 9.601 MB / 0.7249 GB, free: 106.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004982/1.844, allocations: 3.393 MB / 0.7282 GB, free: 105.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/1.846, allocations: 273.7 kB / 0.7285 GB, free: 105.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.8e-06/1.846, allocations: 0 / 0.7285 GB, free: 105.3 MB / 474.7 MB Notification: Performance of Templates: time 0.1834/2.029, allocations: 125 MB / 0.8505 GB, free: 11.47 MB / 474.7 MB