Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadModel(ModelicaTest): time 1.877/1.877, allocations: 209.3 MB / 221.9 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.316e-05, allocations: 8 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08437, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4447, allocations: 91.16 MB / 412.9 MB, free: 3.191 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4449, allocations: 80.3 kB / 413 MB, free: 3.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3427/0.7877, allocations: 90.59 MB / 0.4918 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.639e-06/0.7877, allocations: 0 / 0.4918 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001888/0.7879, allocations: 76 kB / 0.4919 GB, free: 0.7539 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.0167/0.8046, allocations: 4.262 MB / 0.496 GB, free: 12.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8047, allocations: 8.031 kB / 0.496 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01975/0.8244, allocations: 3.566 MB / 0.4995 GB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/0.8398, allocations: 4.67 MB / 0.5041 GB, free: 4.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004745/0.8403, allocations: 328.6 kB / 0.5044 GB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002225/0.8426, allocations: 439.8 kB / 0.5048 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02798/0.8706, allocations: 10.91 MB / 0.5154 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/0.8708, allocations: 23.81 kB / 0.5155 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001684/0.8725, allocations: 195.9 kB / 0.5157 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002562/0.8751, allocations: 1.231 MB / 0.5169 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2642/1.139, allocations: 10.4 MB / 0.527 GB, free: 91.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06202/1.201, allocations: 37.32 MB / 0.5635 GB, free: 76.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009228/1.211, allocations: 4.339 MB / 0.5677 GB, free: 75.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003567/1.214, allocations: 2.129 MB / 0.5698 GB, free: 74.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/1.216, allocations: 1.32 MB / 0.5711 GB, free: 73.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/1.216, allocations: 57.91 kB / 0.5711 GB, free: 73.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.625e-06/1.216, allocations: 0 / 0.5711 GB, free: 73.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.04179/1.257, allocations: 11.16 MB / 0.582 GB, free: 70.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/1.257, allocations: 73.47 kB / 0.5821 GB, free: 70.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004209/1.262, allocations: 2.482 MB / 0.5845 GB, free: 69.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004138/1.262, allocations: 62.94 kB / 0.5846 GB, free: 69.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/1.264, allocations: 2.923 MB / 0.5874 GB, free: 67.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.265, allocations: 0.9765 MB / 0.5884 GB, free: 66.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004464/1.265, allocations: 113.8 kB / 0.5885 GB, free: 66.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003665/1.266, allocations: 0.5617 MB / 0.589 GB, free: 66.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004184/1.27, allocations: 2.287 MB / 0.5913 GB, free: 65.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005957/1.276, allocations: 5.381 MB / 0.5965 GB, free: 60.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006343/1.282, allocations: 3.578 MB / 0.6 GB, free: 59.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.282, allocations: 30.31 kB / 0.6 GB, free: 59.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01866/1.301, allocations: 8.067 MB / 0.6079 GB, free: 57.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.858e-05/1.301, allocations: 51.88 kB / 0.608 GB, free: 57.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/1.301, allocations: 111.7 kB / 0.6081 GB, free: 57.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0041/1.306, allocations: 1.051 MB / 0.6091 GB, free: 57.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005753/1.311, allocations: 1.327 MB / 0.6104 GB, free: 56.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/1.314, allocations: 2.468 MB / 0.6128 GB, free: 55.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005083/1.319, allocations: 328.7 kB / 0.6131 GB, free: 54.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/1.321, allocations: 334.3 kB / 0.6134 GB, free: 54.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * 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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (719): * Single equations (assignments): 710 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001306/1.322, allocations: 0.5256 MB / 0.614 GB, free: 54.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005805/1.323, allocations: 280.3 kB / 0.6142 GB, free: 53.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.333, allocations: 5.011 MB / 0.6191 GB, free: 49.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.633e-05/1.333, allocations: 55.23 kB / 0.6192 GB, free: 49.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.334, allocations: 0 / 0.6192 GB, free: 49.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-05/1.334, allocations: 15.09 kB / 0.6192 GB, free: 49.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02419/1.358, allocations: 11.55 MB / 0.6305 GB, free: 40.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/1.358, allocations: 11.5 kB / 0.6305 GB, free: 40.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/1.36, allocations: 428.6 kB / 0.6309 GB, free: 39.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003688/1.364, allocations: 0.9045 MB / 0.6318 GB, free: 39.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004093/1.364, allocations: 60.09 kB / 0.6318 GB, free: 39.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/1.367, allocations: 2.283 MB / 0.6341 GB, free: 36.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.103e-06/1.367, allocations: 8 kB / 0.6341 GB, free: 36.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.381, allocations: 8.077 MB / 0.6419 GB, free: 29.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007516/1.382, allocations: 336.4 kB / 0.6423 GB, free: 29.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006765/1.382, allocations: 48.7 kB / 0.6423 GB, free: 29.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/1.384, allocations: 144.2 kB / 0.6425 GB, free: 29.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004128/1.385, allocations: 154.2 kB / 0.6426 GB, free: 28.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002566/1.385, allocations: 84.19 kB / 0.6427 GB, free: 28.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003251/1.388, allocations: 1.682 MB / 0.6443 GB, free: 27.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.388, allocations: 0 / 0.6443 GB, free: 27.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005957/1.394, allocations: 1.009 MB / 0.6453 GB, free: 26.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006669/1.395, allocations: 198.3 kB / 0.6455 GB, free: 26.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01109/1.406, allocations: 5.891 MB / 0.6513 GB, free: 20.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.406, allocations: 4.109 kB / 0.6513 GB, free: 20.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005086/1.411, allocations: 2.556 MB / 0.6538 GB, free: 18.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/1.414, allocations: 400.6 kB / 0.6541 GB, free: 18.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.433, allocations: 9.781 MB / 0.6637 GB, free: 9.195 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00554/1.438, allocations: 3.599 MB / 0.6672 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/1.44, allocations: 287.4 kB / 0.6675 GB, free: 5.297 MB / 426.7 MB Notification: Performance of SimCode: time 1.945e-06/1.44, allocations: 0 / 0.6675 GB, free: 5.297 MB / 426.7 MB Notification: Performance of Templates: time 0.3895/1.829, allocations: 113.3 MB / 0.7781 GB, free: 61.27 MB / 442.7 MB