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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.256/2.256, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.806e-05/3.819e-05, allocations: 4 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.373, allocations: 54.86 MB / 359.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.6075, allocations: 101.6 MB / 461.4 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.6078, allocations: 73.44 kB / 461.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6388/1.247, allocations: 97.49 MB / 0.5458 GB, free: 105.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.013e-06/1.247, allocations: 1.312 kB / 0.5459 GB, free: 105.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002083/1.247, allocations: 89.84 kB / 0.5459 GB, free: 105.2 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.01775/1.265, allocations: 4.639 MB / 0.5505 GB, free: 103.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.265, allocations: 13.28 kB / 0.5505 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02017/1.285, allocations: 3.619 MB / 0.554 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/1.3, allocations: 4.891 MB / 0.5588 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00044/1.301, allocations: 374.4 kB / 0.5591 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002312/1.303, allocations: 494.6 kB / 0.5596 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03045/1.333, allocations: 12.06 MB / 0.5714 GB, free: 99.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/1.334, allocations: 34.31 kB / 0.5714 GB, free: 99.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001672/1.335, allocations: 220.5 kB / 0.5716 GB, free: 99.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002142/1.337, allocations: 1.32 MB / 0.5729 GB, free: 99 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02708/1.365, allocations: 11.21 MB / 0.5839 GB, free: 95.51 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0644/1.429, allocations: 41.89 MB / 0.6248 GB, free: 61.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/1.441, allocations: 4.895 MB / 0.6296 GB, free: 56.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003772/1.444, allocations: 2.354 MB / 0.6319 GB, free: 53.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/1.456, allocations: 6.558 MB / 0.6383 GB, free: 47.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/1.456, allocations: 56.12 kB / 0.6383 GB, free: 47.01 MB / 458.7 MB Notification: Performance of pre-optimization done (n=228): time 7.768e-06/1.456, allocations: 0 / 0.6383 GB, free: 47.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=237): time 0.04214/1.499, allocations: 13.61 MB / 0.6516 GB, free: 33.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/1.499, allocations: 69.41 kB / 0.6517 GB, free: 33.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004916/1.504, allocations: 2.824 MB / 0.6544 GB, free: 30.42 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003812/1.504, allocations: 56.05 kB / 0.6545 GB, free: 30.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001819/1.506, allocations: 3.268 MB / 0.6577 GB, free: 27.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009251/1.507, allocations: 0.8931 MB / 0.6585 GB, free: 26.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/1.507, allocations: 116 kB / 0.6587 GB, free: 26.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003625/1.508, allocations: 0.5663 MB / 0.6592 GB, free: 25.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004126/1.512, allocations: 2.335 MB / 0.6615 GB, free: 23.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006273/1.518, allocations: 5.653 MB / 0.667 GB, free: 15.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006984/1.525, allocations: 3.675 MB / 0.6706 GB, free: 12.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.491e-05/1.525, allocations: 32 kB / 0.6706 GB, free: 12.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02038/1.546, allocations: 8.503 MB / 0.6789 GB, free: 3.652 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.546, allocations: 57.72 kB / 0.679 GB, free: 3.598 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/1.546, allocations: 123.9 kB / 0.6791 GB, free: 3.477 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004344/1.55, allocations: 1.157 MB / 0.6802 GB, free: 2.316 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005844/1.556, allocations: 1.376 MB / 0.6816 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008069/1.564, allocations: 4.591 MB / 0.6861 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005743/1.57, allocations: 315.9 kB / 0.6864 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/1.571, allocations: 356 kB / 0.6867 GB, free: 11.54 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.001909/1.573, allocations: 0.5417 MB / 0.6872 GB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008178/1.574, allocations: 300.1 kB / 0.6875 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.585, allocations: 4.394 MB / 0.6918 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-05/1.586, allocations: 43.95 kB / 0.6919 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.586, allocations: 4 kB / 0.6919 GB, free: 6.219 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.855e-05/1.586, allocations: 11.95 kB / 0.6919 GB, free: 6.207 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3062/1.892, allocations: 10.38 MB / 0.702 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.761e-05/1.892, allocations: 4.844 kB / 0.702 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.894, allocations: 390.9 kB / 0.7024 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/1.897, allocations: 0.6689 MB / 0.703 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004562/1.898, allocations: 48.09 kB / 0.7031 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003343/1.901, allocations: 2.413 MB / 0.7054 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.744e-06/1.901, allocations: 7.953 kB / 0.7054 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/1.916, allocations: 7.125 MB / 0.7124 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009249/1.917, allocations: 347.2 kB / 0.7127 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007755/1.918, allocations: 45.81 kB / 0.7128 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/1.92, allocations: 140.5 kB / 0.7129 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004863/1.92, allocations: 132.6 kB / 0.713 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002608/1.92, allocations: 64.64 kB / 0.7131 GB, free: 103.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004507/1.925, allocations: 1.9 MB / 0.715 GB, free: 103.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.165e-06/1.925, allocations: 0 / 0.715 GB, free: 103.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008149/1.933, allocations: 1.076 MB / 0.716 GB, free: 103.7 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.0007864/1.934, allocations: 191.2 kB / 0.7162 GB, free: 103.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01119/1.945, allocations: 5.557 MB / 0.7216 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.945, allocations: 3.875 kB / 0.7216 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005239/1.95, allocations: 2.376 MB / 0.7239 GB, free: 103.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/1.953, allocations: 414.1 kB / 0.7243 GB, free: 103.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/1.974, allocations: 9.426 MB / 0.7335 GB, free: 100.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006986/1.981, allocations: 3.828 MB / 0.7373 GB, free: 99.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006237/1.987, allocations: 2.057 MB / 0.7393 GB, free: 99.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.989, allocations: 239.2 kB / 0.7395 GB, free: 99.06 MB / 474.7 MB Notification: Performance of SimCode: time 1.991e-06/1.989, allocations: 0 / 0.7395 GB, free: 99.06 MB / 474.7 MB Notification: Performance of Templates: time 0.0917/2.08, allocations: 33.65 MB / 0.7724 GB, free: 91.92 MB / 474.7 MB