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.197/2.197, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.091e-05, allocations: 4 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.0881, allocations: 48.69 MB / 321.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.567, allocations: 94.88 MB / 416.7 MB, free: 420 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.5673, allocations: 74.47 kB / 416.7 MB, free: 384 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4123/0.9796, allocations: 97.48 MB / 0.5022 GB, free: 5.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.019e-06/0.9796, allocations: 0 / 0.5022 GB, free: 5.746 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002299/0.9799, allocations: 99.94 kB / 0.5023 GB, free: 5.648 MB / 410.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.01874/0.9986, allocations: 4.632 MB / 0.5068 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.9987, allocations: 12.03 kB / 0.5068 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02077/1.019, allocations: 3.624 MB / 0.5103 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/1.036, allocations: 4.886 MB / 0.5151 GB, free: 8.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005631/1.037, allocations: 377.8 kB / 0.5155 GB, free: 7.988 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002661/1.039, allocations: 495.8 kB / 0.5159 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2728/1.312, allocations: 12.05 MB / 0.5277 GB, free: 85.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/1.312, allocations: 32.69 kB / 0.5277 GB, free: 85.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001752/1.314, allocations: 223 kB / 0.5279 GB, free: 85.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002487/1.317, allocations: 1.314 MB / 0.5292 GB, free: 85.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02882/1.345, allocations: 11.21 MB / 0.5402 GB, free: 85.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06805/1.414, allocations: 41.89 MB / 0.5811 GB, free: 66.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/1.426, allocations: 4.894 MB / 0.5859 GB, free: 63.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004172/1.43, allocations: 2.351 MB / 0.5882 GB, free: 63.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/1.443, allocations: 6.551 MB / 0.5946 GB, free: 59.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/1.443, allocations: 55.91 kB / 0.5946 GB, free: 59.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=228): time 6.582e-06/1.443, allocations: 0 / 0.5946 GB, free: 59.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.04501/1.488, allocations: 13.61 MB / 0.6079 GB, free: 55.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/1.488, allocations: 76.62 kB / 0.608 GB, free: 55.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005931/1.494, allocations: 2.81 MB / 0.6107 GB, free: 54.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004442/1.494, allocations: 54.66 kB / 0.6108 GB, free: 54.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002144/1.497, allocations: 3.284 MB / 0.614 GB, free: 51.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.498, allocations: 0.8817 MB / 0.6148 GB, free: 51.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005926/1.498, allocations: 120.9 kB / 0.615 GB, free: 51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004177/1.499, allocations: 0.5654 MB / 0.6155 GB, free: 50.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004879/1.504, allocations: 2.331 MB / 0.6178 GB, free: 49.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006633/1.51, allocations: 5.656 MB / 0.6233 GB, free: 43.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006583/1.517, allocations: 3.68 MB / 0.6269 GB, free: 40.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-05/1.517, allocations: 32 kB / 0.6269 GB, free: 40.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01976/1.537, allocations: 8.492 MB / 0.6352 GB, free: 33.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-05/1.537, allocations: 56 kB / 0.6353 GB, free: 33.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/1.537, allocations: 116.9 kB / 0.6354 GB, free: 32.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004494/1.542, allocations: 1.16 MB / 0.6365 GB, free: 32.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005883/1.548, allocations: 1.376 MB / 0.6379 GB, free: 30.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006475/1.554, allocations: 4.578 MB / 0.6423 GB, free: 26.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00562/1.56, allocations: 335.8 kB / 0.6427 GB, free: 26.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.561, allocations: 351.7 kB / 0.643 GB, free: 26.17 MB / 426.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.001135/1.562, allocations: 0.5472 MB / 0.6435 GB, free: 25.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/1.563, allocations: 300.1 kB / 0.6438 GB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009234/1.572, allocations: 4.384 MB / 0.6481 GB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.887e-05/1.572, allocations: 44 kB / 0.6481 GB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.572, allocations: 7.938 kB / 0.6481 GB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.277e-05/1.572, allocations: 11.03 kB / 0.6482 GB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02304/1.595, allocations: 10.41 MB / 0.6583 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.613e-05/1.595, allocations: 4 kB / 0.6583 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002372/1.598, allocations: 389.9 kB / 0.6587 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/1.6, allocations: 0.6668 MB / 0.6593 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000462/1.601, allocations: 51.42 kB / 0.6594 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002912/1.604, allocations: 2.411 MB / 0.6617 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.604, allocations: 4 kB / 0.6618 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/1.616, allocations: 7.137 MB / 0.6687 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009166/1.617, allocations: 345 kB / 0.669 GB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008088/1.618, allocations: 45.11 kB / 0.6691 GB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/1.62, allocations: 133.9 kB / 0.6692 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005105/1.62, allocations: 137.9 kB / 0.6694 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/1.621, allocations: 65.25 kB / 0.6694 GB, free: 2.668 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003924/1.625, allocations: 1.903 MB / 0.6713 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.389e-06/1.625, allocations: 0 / 0.6713 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006404/1.631, allocations: 1.076 MB / 0.6723 GB, free: 15.8 MB / 442.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.0007618/1.632, allocations: 194.3 kB / 0.6725 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.013/1.645, allocations: 5.559 MB / 0.6779 GB, free: 10.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.161e-06/1.645, allocations: 0 / 0.6779 GB, free: 10.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005846/1.651, allocations: 2.372 MB / 0.6803 GB, free: 7.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/1.654, allocations: 417 kB / 0.6807 GB, free: 7.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2696/1.923, allocations: 9.426 MB / 0.6899 GB, free: 96.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008627/1.932, allocations: 3.828 MB / 0.6936 GB, free: 96.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008036/1.94, allocations: 2.045 MB / 0.6956 GB, free: 96.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/1.942, allocations: 241 kB / 0.6958 GB, free: 96.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.922e-06/1.942, allocations: 3.062 kB / 0.6958 GB, free: 96.1 MB / 442.7 MB Notification: Performance of Templates: time 0.09552/2.037, allocations: 33.64 MB / 0.7287 GB, free: 94.63 MB / 442.7 MB