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.2_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.409/2.409, allocations: 234.9 MB / 250.1 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.304e-05, allocations: 4 kB / 308 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3507, allocations: 54.86 MB / 362.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.06052/0.4112, allocations: 33.57 MB / 396.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02362/0.4349, allocations: 7.965 MB / 404.4 MB, free: 2.121 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007396/0.4424, allocations: 179.6 kB / 404.6 MB, free: 1.945 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006144/0.4486, allocations: 1.785 MB / 406.3 MB, free: 156 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01846/0.4671, allocations: 4.924 MB / 411.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.4702, allocations: 471.2 kB / 411.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005133/0.4753, allocations: 1.654 MB / 413.4 MB, free: 9.098 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008308/0.4837, allocations: 3.786 MB / 417.2 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.4858, allocations: 0.8064 MB / 418 MB, free: 4.469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.4889, allocations: 1.321 MB / 419.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.492, allocations: 0.87 MB / 420.2 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.4934, allocations: 128 kB / 420.3 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003087/0.4965, allocations: 1.621 MB / 421.9 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.4981, allocations: 279.9 kB / 422.2 MB, free: 256 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.5086, allocations: 6.305 MB / 428.5 MB, free: 9.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5087, allocations: 3.938 kB / 428.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.5087, allocations: 0 / 428.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003027/0.509, allocations: 0 / 428.5 MB, free: 9.926 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01651/0.5255, allocations: 4.53 MB / 433 MB, free: 5.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.5256, allocations: 12.03 kB / 433 MB, free: 5.316 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02417/0.5498, allocations: 3.85 MB / 436.9 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007919/0.5577, allocations: 2.519 MB / 439.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004051/0.5582, allocations: 270.7 kB / 439.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002033/0.5603, allocations: 351.7 kB / 440 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03571/0.596, allocations: 12.6 MB / 452.6 MB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/0.5963, allocations: 27.72 kB / 452.6 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001648/0.5979, allocations: 159.8 kB / 452.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008245/0.6062, allocations: 2.743 MB / 455.5 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03737/0.6436, allocations: 11.57 MB / 467.1 MB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4515/1.095, allocations: 40.12 MB / 0.4954 GB, free: 78.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01625/1.111, allocations: 4.956 MB / 0.5002 GB, free: 76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01603/1.128, allocations: 6.53 MB / 0.5066 GB, free: 72.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/1.128, allocations: 51.5 kB / 0.5066 GB, free: 72.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 7.324e-06/1.128, allocations: 1.969 kB / 0.5066 GB, free: 72.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.06344/1.191, allocations: 16.81 MB / 0.523 GB, free: 62.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.191, allocations: 73.41 kB / 0.5231 GB, free: 62.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005583/1.197, allocations: 2.937 MB / 0.526 GB, free: 59.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004844/1.197, allocations: 60.42 kB / 0.526 GB, free: 59.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002218/1.2, allocations: 3.276 MB / 0.5292 GB, free: 56.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001273/1.201, allocations: 0.8878 MB / 0.5301 GB, free: 55.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006001/1.202, allocations: 120 kB / 0.5302 GB, free: 55.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004586/1.202, allocations: 0.5711 MB / 0.5308 GB, free: 54.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005866/1.208, allocations: 2.382 MB / 0.5331 GB, free: 52.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007779/1.216, allocations: 5.737 MB / 0.5387 GB, free: 44.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008033/1.224, allocations: 3.689 MB / 0.5423 GB, free: 41.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.193e-05/1.224, allocations: 32 kB / 0.5423 GB, free: 41.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.0242/1.248, allocations: 8.847 MB / 0.551 GB, free: 32.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.374e-05/1.248, allocations: 56 kB / 0.551 GB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/1.248, allocations: 124 kB / 0.5511 GB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006138/1.255, allocations: 1.163 MB / 0.5523 GB, free: 30.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008436/1.263, allocations: 1.372 MB / 0.5536 GB, free: 29.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008923/1.272, allocations: 4.67 MB / 0.5582 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/1.278, allocations: 325.1 kB / 0.5585 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/1.279, allocations: 349.5 kB / 0.5588 GB, free: 24.08 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.005632/1.285, allocations: 2.384 MB / 0.5612 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006985/1.286, allocations: 300.1 kB / 0.5614 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/1.298, allocations: 4.446 MB / 0.5658 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/1.298, allocations: 45.48 kB / 0.5658 GB, free: 16.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/1.298, allocations: 0 / 0.5658 GB, free: 16.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.412e-05/1.298, allocations: 11.95 kB / 0.5658 GB, free: 16.86 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.02781/1.326, allocations: 10.61 MB / 0.5762 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/1.326, allocations: 8.125 kB / 0.5762 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00348/1.33, allocations: 387.4 kB / 0.5766 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003474/1.333, allocations: 0.6775 MB / 0.5772 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004188/1.334, allocations: 47.98 kB / 0.5773 GB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003838/1.337, allocations: 2.441 MB / 0.5797 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.338, allocations: 7.938 kB / 0.5797 GB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01841/1.356, allocations: 7.194 MB / 0.5867 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.357, allocations: 361.1 kB / 0.587 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001195/1.358, allocations: 44.78 kB / 0.5871 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/1.361, allocations: 147.3 kB / 0.5872 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006729/1.362, allocations: 125.7 kB / 0.5873 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/1.362, allocations: 63.98 kB / 0.5874 GB, free: 10.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005116/1.367, allocations: 2.01 MB / 0.5894 GB, free: 8.227 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.368, allocations: 4 kB / 0.5894 GB, free: 8.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006754/1.374, allocations: 1.083 MB / 0.5904 GB, free: 7.148 MB / 426.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.0011/1.375, allocations: 196 kB / 0.5906 GB, free: 6.957 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01613/1.392, allocations: 5.817 MB / 0.5963 GB, free: 1.152 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.392, allocations: 3.938 kB / 0.5963 GB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007697/1.399, allocations: 2.417 MB / 0.5987 GB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/1.403, allocations: 418.5 kB / 0.5991 GB, free: 14.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03429/1.437, allocations: 13.95 MB / 0.6127 GB, free: 248 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008773/1.446, allocations: 3.828 MB / 0.6164 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/1.448, allocations: 291.4 kB / 0.6167 GB, free: 12.09 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/1.448, allocations: 4 kB / 0.6167 GB, free: 12.09 MB / 458.7 MB Notification: Performance of Templates: time 0.5494/1.998, allocations: 112.4 MB / 0.7265 GB, free: 109 MB / 490.7 MB