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.128/2.128, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.436e-05/3.457e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.326, allocations: 54.86 MB / 359.8 MB, free: 2.648 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.4816, allocations: 101.6 MB / 461.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4819, allocations: 75.95 kB / 461.4 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6072/1.089, allocations: 97.49 MB / 0.5458 GB, free: 104.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.593e-06/1.089, allocations: 1.219 kB / 0.5458 GB, free: 104.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002022/1.089, allocations: 85.69 kB / 0.5459 GB, free: 104.8 MB / 458.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.02808/1.118, allocations: 4.639 MB / 0.5504 GB, free: 102.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/1.118, allocations: 9.625 kB / 0.5504 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03869/1.156, allocations: 3.62 MB / 0.554 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02687/1.183, allocations: 4.899 MB / 0.5588 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007013/1.184, allocations: 378.3 kB / 0.5591 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002572/1.187, allocations: 494.1 kB / 0.5596 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/1.214, allocations: 12.05 MB / 0.5714 GB, free: 99.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/1.214, allocations: 44.69 kB / 0.5714 GB, free: 99.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/1.215, allocations: 220.6 kB / 0.5716 GB, free: 99.01 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001939/1.217, allocations: 1.316 MB / 0.5729 GB, free: 98.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02579/1.243, allocations: 11.21 MB / 0.5838 GB, free: 95.28 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06532/1.309, allocations: 41.89 MB / 0.6248 GB, free: 61.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/1.32, allocations: 4.883 MB / 0.6295 GB, free: 56.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003467/1.323, allocations: 2.354 MB / 0.6318 GB, free: 54.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/1.334, allocations: 6.557 MB / 0.6382 GB, free: 47.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.334, allocations: 52.55 kB / 0.6383 GB, free: 47.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=228): time 7.407e-06/1.334, allocations: 3.938 kB / 0.6383 GB, free: 47.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=237): time 0.0402/1.374, allocations: 13.61 MB / 0.6516 GB, free: 33.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/1.374, allocations: 77.34 kB / 0.6516 GB, free: 33.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004318/1.378, allocations: 2.817 MB / 0.6544 GB, free: 30.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002328/1.379, allocations: 57.61 kB / 0.6545 GB, free: 30.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.38, allocations: 3.264 MB / 0.6576 GB, free: 27.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000801/1.381, allocations: 0.8901 MB / 0.6585 GB, free: 26.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/1.381, allocations: 116 kB / 0.6586 GB, free: 26.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003513/1.382, allocations: 0.5671 MB / 0.6592 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00386/1.386, allocations: 2.331 MB / 0.6615 GB, free: 23.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005347/1.391, allocations: 5.657 MB / 0.667 GB, free: 15.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005674/1.397, allocations: 3.671 MB / 0.6706 GB, free: 12.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-05/1.397, allocations: 32 kB / 0.6706 GB, free: 12.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01682/1.414, allocations: 8.434 MB / 0.6788 GB, free: 3.859 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.334e-05/1.414, allocations: 57.72 kB / 0.6789 GB, free: 3.805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/1.414, allocations: 116 kB / 0.679 GB, free: 3.691 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004146/1.418, allocations: 1.165 MB / 0.6801 GB, free: 2.523 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005366/1.423, allocations: 1.372 MB / 0.6815 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00745/1.431, allocations: 4.587 MB / 0.6859 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005099/1.436, allocations: 327.8 kB / 0.6863 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008088/1.437, allocations: 352 kB / 0.6866 GB, free: 11.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * 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 (742): * Single equations (assignments): 734 * 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.001113/1.438, allocations: 0.5494 MB / 0.6871 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005823/1.439, allocations: 300.1 kB / 0.6874 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009812/1.448, allocations: 4.386 MB / 0.6917 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.531e-05/1.449, allocations: 55.77 kB / 0.6918 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.154e-06/1.449, allocations: 0 / 0.6918 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/1.449, allocations: 11.97 kB / 0.6918 GB, free: 6.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2866/1.735, allocations: 10.37 MB / 0.7019 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/1.735, allocations: 6.406 kB / 0.7019 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/1.738, allocations: 388.5 kB / 0.7023 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002591/1.74, allocations: 0.675 MB / 0.7029 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000288/1.741, allocations: 50.45 kB / 0.703 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/1.744, allocations: 2.404 MB / 0.7053 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/1.744, allocations: 9.203 kB / 0.7053 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/1.758, allocations: 7.127 MB / 0.7123 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009111/1.759, allocations: 351.5 kB / 0.7126 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006343/1.76, allocations: 49.02 kB / 0.7127 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.762, allocations: 139.4 kB / 0.7128 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003982/1.762, allocations: 128.5 kB / 0.7129 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002648/1.763, allocations: 67.77 kB / 0.713 GB, free: 103.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003872/1.766, allocations: 1.9 MB / 0.7149 GB, free: 103.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.04e-06/1.766, allocations: 2 kB / 0.7149 GB, free: 103.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006104/1.773, allocations: 1.071 MB / 0.7159 GB, free: 103.6 MB / 474.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.0005608/1.773, allocations: 190.2 kB / 0.7161 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01022/1.783, allocations: 5.56 MB / 0.7215 GB, free: 103.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.338e-06/1.783, allocations: 0 / 0.7215 GB, free: 103.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004826/1.788, allocations: 2.376 MB / 0.7238 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/1.791, allocations: 416.1 kB / 0.7242 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/1.811, allocations: 9.968 MB / 0.734 GB, free: 100.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005715/1.817, allocations: 3.833 MB / 0.7377 GB, free: 98.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/1.819, allocations: 291.6 kB / 0.738 GB, free: 98.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.764e-06/1.819, allocations: 0 / 0.738 GB, free: 98.8 MB / 474.7 MB Notification: Performance of Templates: time 0.1349/1.953, allocations: 111 MB / 0.8464 GB, free: 15.91 MB / 474.7 MB