Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.079/2.079, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.458e-05, allocations: 7.984 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3621, allocations: 48.69 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.05395/0.4161, allocations: 33.56 MB / 358.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02688/0.4431, allocations: 7.939 MB / 366.4 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008832/0.452, allocations: 175.6 kB / 366.5 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007108/0.4591, allocations: 1.801 MB / 368.3 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02049/0.4797, allocations: 4.916 MB / 373.3 MB, free: 15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.4836, allocations: 487.2 kB / 373.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005611/0.4893, allocations: 1.65 MB / 375.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008068/0.4974, allocations: 3.78 MB / 379.2 MB, free: 9.066 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.4993, allocations: 0.8104 MB / 380 MB, free: 8.254 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002845/0.5022, allocations: 1.317 MB / 381.3 MB, free: 6.934 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/0.5051, allocations: 0.8777 MB / 382.2 MB, free: 6.051 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008764/0.506, allocations: 131.9 kB / 382.3 MB, free: 5.922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002158/0.5082, allocations: 1.617 MB / 383.9 MB, free: 4.301 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.5093, allocations: 272 kB / 384.2 MB, free: 4.035 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.5194, allocations: 6.313 MB / 390.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5194, allocations: 0 / 390.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.791e-06/0.5195, allocations: 0 / 390.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002207/0.5197, allocations: 3.938 kB / 390.5 MB, free: 13.7 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01619/0.5359, allocations: 4.533 MB / 395 MB, free: 9.102 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.536, allocations: 8.031 kB / 395 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02386/0.5598, allocations: 3.85 MB / 398.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007799/0.5677, allocations: 2.516 MB / 401.4 MB, free: 2.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003749/0.5681, allocations: 270.7 kB / 401.7 MB, free: 2.402 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002022/0.5702, allocations: 347.7 kB / 402 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03494/0.6051, allocations: 12.61 MB / 414.6 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001898/0.6054, allocations: 27.72 kB / 414.6 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001666/0.607, allocations: 159.8 kB / 414.8 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007925/0.615, allocations: 2.747 MB / 417.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03637/0.6514, allocations: 11.57 MB / 429.1 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09352/0.745, allocations: 40.11 MB / 469.2 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01813/0.7632, allocations: 4.974 MB / 474.2 MB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01854/0.7818, allocations: 6.524 MB / 480.7 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.03e-05/0.7819, allocations: 56.52 kB / 480.8 MB, free: 1.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 7.003e-06/0.7819, allocations: 0 / 480.8 MB, free: 1.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.3503/1.132, allocations: 16.8 MB / 497.6 MB, free: 121.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/1.132, allocations: 82.86 kB / 497.7 MB, free: 121.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006857/1.139, allocations: 2.934 MB / 0.4889 GB, free: 120.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005366/1.14, allocations: 58.53 kB / 0.4889 GB, free: 120.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002768/1.143, allocations: 3.29 MB / 0.4921 GB, free: 117.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001438/1.144, allocations: 0.8896 MB / 0.493 GB, free: 116.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006182/1.145, allocations: 115.6 kB / 0.4931 GB, free: 116.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004738/1.145, allocations: 0.5644 MB / 0.4937 GB, free: 116.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00611/1.151, allocations: 2.383 MB / 0.496 GB, free: 115.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008533/1.16, allocations: 5.742 MB / 0.5016 GB, free: 110.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008188/1.168, allocations: 3.689 MB / 0.5052 GB, free: 109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001079/1.168, allocations: 34.44 kB / 0.5052 GB, free: 109 MB / 410.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02504/1.193, allocations: 8.923 MB / 0.5139 GB, free: 102.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.95e-05/1.194, allocations: 55.59 kB / 0.514 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/1.194, allocations: 124 kB / 0.5141 GB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00627/1.2, allocations: 1.161 MB / 0.5153 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008378/1.208, allocations: 1.376 MB / 0.5166 GB, free: 99.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008656/1.217, allocations: 4.661 MB / 0.5211 GB, free: 95.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006197/1.223, allocations: 327.8 kB / 0.5215 GB, free: 94.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/1.225, allocations: 348 kB / 0.5218 GB, free: 94.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],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 (743): * Single equations (assignments): 735 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.005898/1.231, allocations: 2.381 MB / 0.5241 GB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008869/1.231, allocations: 300.1 kB / 0.5244 GB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.244, allocations: 4.452 MB / 0.5287 GB, free: 87.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001137/1.244, allocations: 47.98 kB / 0.5288 GB, free: 87.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.244, allocations: 3.938 kB / 0.5288 GB, free: 87.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-05/1.244, allocations: 10.97 kB / 0.5288 GB, free: 87.23 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02832/1.272, allocations: 10.61 MB / 0.5392 GB, free: 76.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.299e-05/1.273, allocations: 4 kB / 0.5392 GB, free: 76.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003464/1.276, allocations: 387.7 kB / 0.5395 GB, free: 76.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003469/1.28, allocations: 0.6698 MB / 0.5402 GB, free: 75.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000524/1.28, allocations: 53.08 kB / 0.5402 GB, free: 75.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/1.284, allocations: 2.437 MB / 0.5426 GB, free: 72.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.284, allocations: 7.938 kB / 0.5426 GB, free: 72.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/1.3, allocations: 7.201 MB / 0.5497 GB, free: 65.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.301, allocations: 361 kB / 0.55 GB, free: 65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/1.302, allocations: 41.09 kB / 0.5501 GB, free: 64.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/1.305, allocations: 140.7 kB / 0.5502 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006062/1.306, allocations: 134.8 kB / 0.5503 GB, free: 64.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/1.306, allocations: 65.39 kB / 0.5504 GB, free: 64.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004413/1.311, allocations: 2.014 MB / 0.5523 GB, free: 62.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.41e-07/1.311, allocations: 0 / 0.5523 GB, free: 62.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007458/1.318, allocations: 1.075 MB / 0.5534 GB, free: 61.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * 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.001081/1.319, allocations: 200.4 kB / 0.5536 GB, free: 61.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01373/1.333, allocations: 5.815 MB / 0.5593 GB, free: 55.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.333, allocations: 0 / 0.5593 GB, free: 55.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006947/1.34, allocations: 2.417 MB / 0.5616 GB, free: 53.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003464/1.344, allocations: 417.4 kB / 0.562 GB, free: 52.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03412/1.378, allocations: 13.4 MB / 0.5751 GB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009674/1.388, allocations: 3.828 MB / 0.5789 GB, free: 35.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01927/1.407, allocations: 2.056 MB / 0.5809 GB, free: 33.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/1.409, allocations: 235.4 kB / 0.5811 GB, free: 33.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/1.409, allocations: 4 kB / 0.5811 GB, free: 33.04 MB / 410.7 MB Notification: Performance of Templates: time 0.1241/1.533, allocations: 34.6 MB / 0.6149 GB, free: 14.58 MB / 426.7 MB