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_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.264/2.264, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.355e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3737, allocations: 48.7 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.05425/0.428, allocations: 33.56 MB / 358.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02808/0.4561, allocations: 7.94 MB / 366.3 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01033/0.4665, allocations: 179.6 kB / 366.5 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007761/0.4743, allocations: 1.785 MB / 368.3 MB, free: 4.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02235/0.4968, allocations: 4.932 MB / 373.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004018/0.5008, allocations: 479.2 kB / 373.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006303/0.5072, allocations: 1.655 MB / 375.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008628/0.5159, allocations: 3.773 MB / 379.1 MB, free: 9.152 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.5184, allocations: 0.8103 MB / 379.9 MB, free: 8.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/0.5217, allocations: 1.321 MB / 381.3 MB, free: 7.016 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/0.5252, allocations: 0.87 MB / 382.1 MB, free: 6.145 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.5267, allocations: 132 kB / 382.3 MB, free: 6.016 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003227/0.53, allocations: 1.613 MB / 383.9 MB, free: 4.395 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.5317, allocations: 275.9 kB / 384.1 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.5429, allocations: 6.325 MB / 390.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.543, allocations: 0 / 390.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.543, allocations: 4 kB / 390.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003077/0.5433, allocations: 0 / 390.5 MB, free: 13.78 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.01762/0.561, allocations: 4.526 MB / 395 MB, free: 9.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.561, allocations: 12.03 kB / 395 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02449/0.5855, allocations: 3.85 MB / 398.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008329/0.5939, allocations: 2.512 MB / 401.4 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000464/0.5945, allocations: 262.7 kB / 401.6 MB, free: 2.496 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002454/0.5969, allocations: 355.7 kB / 402 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0372/0.6342, allocations: 12.6 MB / 414.6 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002085/0.6345, allocations: 31.72 kB / 414.6 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001844/0.6363, allocations: 167.8 kB / 414.8 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008341/0.6447, allocations: 2.739 MB / 417.5 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0379/0.6827, allocations: 11.57 MB / 429.1 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09573/0.7785, allocations: 40.13 MB / 469.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01766/0.7962, allocations: 4.966 MB / 474.2 MB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0174/0.8136, allocations: 6.535 MB / 480.7 MB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.186e-05/0.8138, allocations: 64.44 kB / 480.8 MB, free: 1.391 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 9.017e-06/0.8138, allocations: 4 kB / 480.8 MB, free: 1.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.3445/1.158, allocations: 16.78 MB / 497.6 MB, free: 121 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/1.158, allocations: 79.17 kB / 497.6 MB, free: 120.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00712/1.166, allocations: 2.942 MB / 0.4888 GB, free: 119.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005492/1.166, allocations: 54.11 kB / 0.4889 GB, free: 119.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002751/1.169, allocations: 3.274 MB / 0.4921 GB, free: 117.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001516/1.17, allocations: 0.8881 MB / 0.493 GB, free: 116.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000621/1.171, allocations: 122.2 kB / 0.4931 GB, free: 116.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004249/1.172, allocations: 0.5687 MB / 0.4936 GB, free: 116.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005991/1.178, allocations: 2.386 MB / 0.496 GB, free: 115.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008261/1.186, allocations: 5.738 MB / 0.5016 GB, free: 110.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008372/1.194, allocations: 3.687 MB / 0.5052 GB, free: 108.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/1.195, allocations: 34.81 kB / 0.5052 GB, free: 108.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02408/1.219, allocations: 8.849 MB / 0.5138 GB, free: 102.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.93e-05/1.219, allocations: 59.7 kB / 0.5139 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/1.219, allocations: 120 kB / 0.514 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005971/1.225, allocations: 1.172 MB / 0.5152 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008119/1.233, allocations: 1.365 MB / 0.5165 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008579/1.242, allocations: 4.663 MB / 0.521 GB, free: 95.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005979/1.248, allocations: 320.6 kB / 0.5213 GB, free: 95.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009457/1.249, allocations: 352 kB / 0.5217 GB, free: 94.7 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.00546/1.254, allocations: 2.397 MB / 0.524 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008932/1.255, allocations: 300.1 kB / 0.5243 GB, free: 91.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/1.266, allocations: 4.439 MB / 0.5286 GB, free: 87.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-05/1.266, allocations: 49.08 kB / 0.5287 GB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.266, allocations: 4 kB / 0.5287 GB, free: 87.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/1.267, allocations: 9.188 kB / 0.5287 GB, free: 87.46 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.0263/1.293, allocations: 10.6 MB / 0.5391 GB, free: 76.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/1.293, allocations: 4 kB / 0.5391 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003414/1.296, allocations: 388.3 kB / 0.5394 GB, free: 76.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/1.3, allocations: 0.6797 MB / 0.5401 GB, free: 75.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004813/1.3, allocations: 61.3 kB / 0.5401 GB, free: 75.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003766/1.304, allocations: 2.433 MB / 0.5425 GB, free: 73.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.304, allocations: 4 kB / 0.5425 GB, free: 73.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/1.32, allocations: 7.2 MB / 0.5496 GB, free: 65.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.322, allocations: 357.1 kB / 0.5499 GB, free: 65.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001479/1.323, allocations: 48.91 kB / 0.5499 GB, free: 65.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003166/1.326, allocations: 136.7 kB / 0.5501 GB, free: 65.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006487/1.327, allocations: 133.7 kB / 0.5502 GB, free: 64.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/1.327, allocations: 64.92 kB / 0.5503 GB, free: 64.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004363/1.332, allocations: 2.006 MB / 0.5522 GB, free: 62.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.332, allocations: 0 / 0.5522 GB, free: 62.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006991/1.339, allocations: 1.083 MB / 0.5533 GB, free: 61.79 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.001057/1.34, allocations: 206.8 kB / 0.5535 GB, free: 61.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01412/1.354, allocations: 5.815 MB / 0.5592 GB, free: 55.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.354, allocations: 4.125 kB / 0.5592 GB, free: 55.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006835/1.361, allocations: 2.415 MB / 0.5615 GB, free: 53.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/1.365, allocations: 432 kB / 0.5619 GB, free: 52.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03091/1.396, allocations: 13.94 MB / 0.5755 GB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007695/1.403, allocations: 3.828 MB / 0.5793 GB, free: 35.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/1.405, allocations: 291.4 kB / 0.5796 GB, free: 34.72 MB / 410.7 MB Notification: Performance of SimCode: time 2.554e-06/1.405, allocations: 0 / 0.5796 GB, free: 34.72 MB / 410.7 MB Notification: Performance of Templates: time 0.4981/1.904, allocations: 112.5 MB / 0.6894 GB, free: 79.18 MB / 426.7 MB