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.962/1.962, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.182e-05, allocations: 4 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3379, allocations: 48.7 MB / 324.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.04312/0.3811, allocations: 27.07 MB / 351.9 MB, free: 484 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02093/0.4021, allocations: 6.647 MB / 358.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007843/0.41, allocations: 145 kB / 358.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005874/0.4159, allocations: 1.444 MB / 360.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01634/0.4323, allocations: 4.058 MB / 364.2 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.4351, allocations: 418.2 kB / 364.6 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00479/0.4399, allocations: 1.487 MB / 366.1 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005965/0.4459, allocations: 2.912 MB / 369 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.4474, allocations: 0.7286 MB / 369.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.4497, allocations: 1.212 MB / 371 MB, free: 1.363 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.4522, allocations: 0.8348 MB / 371.8 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008384/0.4531, allocations: 120 kB / 371.9 MB, free: 420 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002043/0.4552, allocations: 1.469 MB / 373.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009709/0.4562, allocations: 236 kB / 373.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008852/0.465, allocations: 5.623 MB / 379.2 MB, free: 9.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4651, allocations: 0 / 379.2 MB, free: 9.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4651, allocations: 3.938 kB / 379.2 MB, free: 9.066 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002215/0.4653, allocations: 0 / 379.2 MB, free: 9.066 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01435/0.4797, allocations: 4.144 MB / 383.4 MB, free: 4.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.4798, allocations: 8.031 kB / 383.4 MB, free: 4.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02341/0.5032, allocations: 3.796 MB / 387.2 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007139/0.5104, allocations: 2.325 MB / 389.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/0.5108, allocations: 229.6 kB / 389.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00182/0.5126, allocations: 291.8 kB / 390 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03071/0.5434, allocations: 11.48 MB / 401.5 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001457/0.5436, allocations: 27.81 kB / 401.5 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001029/0.5446, allocations: 135.8 kB / 401.7 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007452/0.5521, allocations: 2.625 MB / 404.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03283/0.585, allocations: 10.73 MB / 415 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1601/0.7451, allocations: 36.43 MB / 451.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01842/0.7636, allocations: 4.396 MB / 455.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001906/0.7655, allocations: 1.319 MB / 457.2 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.048e-05/0.7657, allocations: 56.56 kB / 457.2 MB, free: 9.184 MB / 394.7 MB Notification: Performance of pre-optimization done (n=244): time 6.782e-06/0.7657, allocations: 0 / 457.2 MB, free: 9.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=265): time 0.07561/0.8413, allocations: 14.48 MB / 471.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.8414, allocations: 77.41 kB / 471.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005907/0.8473, allocations: 2.623 MB / 474.4 MB, free: 7.812 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000512/0.8479, allocations: 57.69 kB / 474.5 MB, free: 7.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003013/0.8509, allocations: 2.921 MB / 477.4 MB, free: 4.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001674/0.8526, allocations: 0.9751 MB / 478.3 MB, free: 3.801 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000587/0.8533, allocations: 116 kB / 478.5 MB, free: 3.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005269/0.8538, allocations: 0.5627 MB / 479 MB, free: 3.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006318/0.8601, allocations: 2.327 MB / 481.4 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3659/1.226, allocations: 5.465 MB / 486.8 MB, free: 120.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01403/1.24, allocations: 3.586 MB / 490.4 MB, free: 119.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002341/1.24, allocations: 30.16 kB / 490.4 MB, free: 119.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.04217/1.283, allocations: 8.466 MB / 498.9 MB, free: 116.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002149/1.283, allocations: 52.23 kB / 498.9 MB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003356/1.283, allocations: 109.8 kB / 499.1 MB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/1.294, allocations: 1.062 MB / 0.4884 GB, free: 116.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01301/1.307, allocations: 1.326 MB / 0.4897 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006448/1.313, allocations: 2.51 MB / 0.4921 GB, free: 114.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03086/1.344, allocations: 320.4 kB / 0.4924 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01404/1.358, allocations: 335 kB / 0.4928 GB, free: 114.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * 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 (720): * Single equations (assignments): 711 * 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.02139/1.38, allocations: 2.228 MB / 0.4949 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007284/1.38, allocations: 285 kB / 0.4952 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/1.395, allocations: 5.07 MB / 0.5002 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/1.396, allocations: 51.17 kB / 0.5002 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.396, allocations: 0 / 0.5002 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-05/1.396, allocations: 16.28 kB / 0.5002 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03051/1.426, allocations: 11.56 MB / 0.5115 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.874e-05/1.426, allocations: 8.156 kB / 0.5115 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003797/1.43, allocations: 431.3 kB / 0.5119 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005959/1.436, allocations: 0.9052 MB / 0.5128 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006337/1.437, allocations: 60.61 kB / 0.5129 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003433/1.44, allocations: 2.299 MB / 0.5151 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/1.44, allocations: 15.92 kB / 0.5151 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/1.459, allocations: 8.158 MB / 0.5231 GB, free: 92.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008185/1.46, allocations: 330 kB / 0.5234 GB, free: 92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.461, allocations: 57.03 kB / 0.5235 GB, free: 91.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.464, allocations: 146.4 kB / 0.5236 GB, free: 91.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005276/1.464, allocations: 149.7 kB / 0.5238 GB, free: 91.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002566/1.464, allocations: 83.97 kB / 0.5238 GB, free: 91.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003549/1.468, allocations: 1.788 MB / 0.5256 GB, free: 89.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.468, allocations: 0 / 0.5256 GB, free: 89.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006019/1.474, allocations: 1.02 MB / 0.5266 GB, free: 88.77 MB / 410.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.0009032/1.475, allocations: 205.6 kB / 0.5268 GB, free: 88.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01504/1.49, allocations: 6.147 MB / 0.5328 GB, free: 82.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.49, allocations: 3.656 kB / 0.5328 GB, free: 82.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007195/1.497, allocations: 2.601 MB / 0.5353 GB, free: 79.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/1.5, allocations: 392.2 kB / 0.5357 GB, free: 79.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02797/1.528, allocations: 13.43 MB / 0.5488 GB, free: 65.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006865/1.535, allocations: 3.597 MB / 0.5523 GB, free: 62.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/1.537, allocations: 291.4 kB / 0.5526 GB, free: 61.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/1.537, allocations: 0 / 0.5526 GB, free: 61.86 MB / 410.7 MB Notification: Performance of Templates: time 0.6355/2.173, allocations: 114.7 MB / 0.6646 GB, free: 112.5 MB / 426.7 MB