Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.959e-05/3.972e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4222, allocations: 54.85 MB / 362.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.05908/0.4814, allocations: 36.66 MB / 399.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02716/0.5086, allocations: 8.576 MB / 408.1 MB, free: 432 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008745/0.5174, allocations: 203.5 kB / 408.3 MB, free: 228 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007285/0.5247, allocations: 1.972 MB / 410.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02069/0.5455, allocations: 5.384 MB / 415.7 MB, free: 8.844 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003634/0.5492, allocations: 479.2 kB / 416.1 MB, free: 8.375 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005025/0.5543, allocations: 1.587 MB / 417.7 MB, free: 6.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007903/0.5622, allocations: 3.676 MB / 421.4 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.5642, allocations: 0.7558 MB / 422.1 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002907/0.5671, allocations: 1.251 MB / 423.4 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.5704, allocations: 0.8387 MB / 424.2 MB, free: 220 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00145/0.5719, allocations: 120 kB / 424.4 MB, free: 100 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002779/0.5747, allocations: 1.551 MB / 425.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.5761, allocations: 256 kB / 426.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00975/0.5859, allocations: 6.056 MB / 432.2 MB, free: 8.223 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5859, allocations: 3.938 kB / 432.2 MB, free: 8.219 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.586, allocations: 4 kB / 432.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002704/0.5862, allocations: 0 / 432.2 MB, free: 8.215 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01621/0.6025, allocations: 4.372 MB / 436.6 MB, free: 3.777 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.6025, allocations: 8.031 kB / 436.6 MB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02411/0.6267, allocations: 3.835 MB / 440.4 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007733/0.6345, allocations: 2.48 MB / 442.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/0.6349, allocations: 250.2 kB / 443.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.6369, allocations: 331.7 kB / 443.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03179/0.6687, allocations: 11.91 MB / 455.4 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001901/0.669, allocations: 35.7 kB / 455.4 MB, free: 448 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001354/0.6703, allocations: 151.8 kB / 455.6 MB, free: 296 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007788/0.6782, allocations: 2.645 MB / 458.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0387/0.7169, allocations: 11.02 MB / 469.2 MB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4346/1.152, allocations: 37.53 MB / 0.4949 GB, free: 99.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/1.164, allocations: 4.402 MB / 0.4992 GB, free: 98.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/1.166, allocations: 1.318 MB / 0.5005 GB, free: 97.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/1.166, allocations: 55.38 kB / 0.5005 GB, free: 97.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.262e-06/1.166, allocations: 0 / 0.5005 GB, free: 97.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.06773/1.234, allocations: 14.45 MB / 0.5146 GB, free: 93.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/1.234, allocations: 72.03 kB / 0.5147 GB, free: 93.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00571/1.239, allocations: 2.747 MB / 0.5174 GB, free: 92.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005622/1.24, allocations: 62.88 kB / 0.5174 GB, free: 92.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002384/1.242, allocations: 3.105 MB / 0.5205 GB, free: 89.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.244, allocations: 0.9811 MB / 0.5214 GB, free: 88.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005602/1.244, allocations: 116 kB / 0.5216 GB, free: 88.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003924/1.245, allocations: 0.5584 MB / 0.5221 GB, free: 88.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00578/1.251, allocations: 2.37 MB / 0.5244 GB, free: 85.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0085/1.259, allocations: 5.63 MB / 0.5299 GB, free: 78.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007968/1.267, allocations: 3.649 MB / 0.5335 GB, free: 75.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/1.267, allocations: 32 kB / 0.5335 GB, free: 75.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02438/1.292, allocations: 8.723 MB / 0.542 GB, free: 66.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/1.292, allocations: 55.95 kB / 0.5421 GB, free: 66.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/1.292, allocations: 120 kB / 0.5422 GB, free: 66.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006293/1.298, allocations: 1.058 MB / 0.5432 GB, free: 65.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008169/1.307, allocations: 1.372 MB / 0.5446 GB, free: 63.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/1.31, allocations: 2.497 MB / 0.547 GB, free: 61.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005478/1.316, allocations: 323.9 kB / 0.5473 GB, free: 60.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/1.317, allocations: 345.1 kB / 0.5476 GB, free: 60.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 520 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (741): * Single equations (assignments): 732 * 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.005506/1.323, allocations: 2.326 MB / 0.5499 GB, free: 58.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007113/1.323, allocations: 305.6 kB / 0.5502 GB, free: 58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/1.338, allocations: 5.086 MB / 0.5552 GB, free: 52.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/1.338, allocations: 44.62 kB / 0.5552 GB, free: 52.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/1.338, allocations: 4 kB / 0.5552 GB, free: 52.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-05/1.338, allocations: 11.95 kB / 0.5552 GB, free: 52.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03289/1.371, allocations: 11.77 MB / 0.5667 GB, free: 40.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-05/1.371, allocations: 8 kB / 0.5667 GB, free: 40.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003679/1.375, allocations: 427.3 kB / 0.5671 GB, free: 40.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005979/1.381, allocations: 0.9035 MB / 0.568 GB, free: 39.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005913/1.382, allocations: 60.91 kB / 0.5681 GB, free: 39.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/1.385, allocations: 2.299 MB / 0.5703 GB, free: 37.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/1.385, allocations: 15.94 kB / 0.5703 GB, free: 37.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/1.404, allocations: 8.198 MB / 0.5783 GB, free: 28.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008946/1.405, allocations: 353.1 kB / 0.5787 GB, free: 28.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/1.407, allocations: 53.33 kB / 0.5787 GB, free: 28.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002671/1.409, allocations: 140.4 kB / 0.5789 GB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00053/1.41, allocations: 158.6 kB / 0.579 GB, free: 27.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002542/1.41, allocations: 78.48 kB / 0.5791 GB, free: 27.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003905/1.414, allocations: 1.882 MB / 0.5809 GB, free: 25.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.414, allocations: 0 / 0.5809 GB, free: 25.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006251/1.42, allocations: 1.047 MB / 0.582 GB, free: 24.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.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.001033/1.421, allocations: 217.2 kB / 0.5822 GB, free: 24.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01616/1.438, allocations: 6.225 MB / 0.5882 GB, free: 18.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.438, allocations: 0 / 0.5882 GB, free: 18.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00732/1.445, allocations: 2.598 MB / 0.5908 GB, free: 15.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/1.449, allocations: 467 kB / 0.5912 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02796/1.477, allocations: 13.45 MB / 0.6044 GB, free: 1.586 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00795/1.485, allocations: 3.747 MB / 0.608 GB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009187/1.494, allocations: 2.145 MB / 0.6101 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/1.496, allocations: 251.4 kB / 0.6104 GB, free: 11.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.674e-06/1.496, allocations: 7.875 kB / 0.6104 GB, free: 11.41 MB / 442.7 MB Notification: Performance of Templates: time 0.1149/1.611, allocations: 33.85 MB / 0.6434 GB, free: 9.672 MB / 474.7 MB