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.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 249.5 MB / 261.6 MB, free: 2.094 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.153e-05, allocations: 4 kB / 323.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3225, allocations: 58.84 MB / 382.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.532, allocations: 109 MB / 491.2 MB, free: 15.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.5323, allocations: 75.97 kB / 491.3 MB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6767/1.209, allocations: 98.99 MB / 0.5765 GB, free: 99.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.219e-06/1.209, allocations: 0 / 0.5765 GB, free: 99.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001826/1.209, allocations: 92 kB / 0.5765 GB, free: 99.22 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01679/1.226, allocations: 4.688 MB / 0.5811 GB, free: 94.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.226, allocations: 8.031 kB / 0.5811 GB, free: 94.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01878/1.245, allocations: 3.631 MB / 0.5847 GB, free: 90.85 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01422/1.259, allocations: 4.926 MB / 0.5895 GB, free: 85.92 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003928/1.26, allocations: 385 kB / 0.5899 GB, free: 85.58 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002648/1.262, allocations: 0.4911 MB / 0.5903 GB, free: 85.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02852/1.291, allocations: 12.18 MB / 0.6022 GB, free: 72.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001832/1.291, allocations: 35.72 kB / 0.6023 GB, free: 72.42 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/1.292, allocations: 227.8 kB / 0.6025 GB, free: 72.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00197/1.294, allocations: 1.334 MB / 0.6038 GB, free: 70.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02542/1.32, allocations: 11.32 MB / 0.6148 GB, free: 59.53 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06434/1.384, allocations: 42.31 MB / 0.6562 GB, free: 16.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/1.397, allocations: 5.015 MB / 0.6611 GB, free: 10.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003812/1.401, allocations: 2.378 MB / 0.6634 GB, free: 8.547 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/1.413, allocations: 6.917 MB / 0.6701 GB, free: 1.258 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/1.413, allocations: 56.55 kB / 0.6702 GB, free: 1.191 MB / 458.7 MB Notification: Performance of pre-optimization done (n=235): time 8.036e-06/1.413, allocations: 4 kB / 0.6702 GB, free: 1.188 MB / 458.7 MB Notification: Performance of matching and sorting (n=244): time 0.047/1.46, allocations: 13.82 MB / 0.6837 GB, free: 3.281 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/1.46, allocations: 73.41 kB / 0.6838 GB, free: 3.195 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006468/1.467, allocations: 2.846 MB / 0.6865 GB, free: 348 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004086/1.467, allocations: 53.7 kB / 0.6866 GB, free: 288 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003509/1.471, allocations: 3.305 MB / 0.6898 GB, free: 12.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001447/1.472, allocations: 0.9098 MB / 0.6907 GB, free: 12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005687/1.473, allocations: 120 kB / 0.6908 GB, free: 11.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005943/1.473, allocations: 0.5742 MB / 0.6914 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005382/1.479, allocations: 2.343 MB / 0.6937 GB, free: 8.957 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009121/1.488, allocations: 5.7 MB / 0.6992 GB, free: 1.582 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00832/1.496, allocations: 3.703 MB / 0.7029 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.497, allocations: 36 kB / 0.7029 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=812) (initialization): time 0.02346/1.52, allocations: 8.529 MB / 0.7112 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/1.52, allocations: 56.62 kB / 0.7113 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001721/1.52, allocations: 119.9 kB / 0.7114 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00466/1.525, allocations: 1.142 MB / 0.7125 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006602/1.532, allocations: 1.396 MB / 0.7139 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.301/1.833, allocations: 4.581 MB / 0.7183 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0056/1.838, allocations: 328.5 kB / 0.7186 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.84, allocations: 359.2 kB / 0.719 GB, free: 127.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 30 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (751): * Single equations (assignments): 743 * 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 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.001505/1.841, allocations: 0.5503 MB / 0.7195 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006659/1.842, allocations: 304.6 kB / 0.7198 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/1.852, allocations: 4.438 MB / 0.7242 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.5e-05/1.852, allocations: 47.27 kB / 0.7242 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.852, allocations: 0 / 0.7242 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.396e-05/1.852, allocations: 13.42 kB / 0.7242 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02429/1.877, allocations: 10.56 MB / 0.7345 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/1.877, allocations: 6.094 kB / 0.7345 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/1.879, allocations: 397.9 kB / 0.7349 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002668/1.882, allocations: 0.6686 MB / 0.7356 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004886/1.883, allocations: 50.08 kB / 0.7356 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/1.886, allocations: 2.43 MB / 0.738 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.886, allocations: 13.89 kB / 0.738 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/1.899, allocations: 7.257 MB / 0.7451 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009053/1.9, allocations: 356.7 kB / 0.7454 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000772/1.901, allocations: 45.25 kB / 0.7455 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/1.903, allocations: 137.3 kB / 0.7456 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/1.903, allocations: 144.6 kB / 0.7457 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.903, allocations: 70.66 kB / 0.7458 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003761/1.907, allocations: 1.918 MB / 0.7477 GB, free: 123 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.009e-06/1.907, allocations: 0 / 0.7477 GB, free: 123 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006588/1.914, allocations: 1.086 MB / 0.7487 GB, free: 122.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (197): * Single equations (assignments): 188 * 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.0007535/1.915, allocations: 195.2 kB / 0.7489 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.926, allocations: 5.624 MB / 0.7544 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.111e-06/1.926, allocations: 0 / 0.7544 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005006/1.931, allocations: 2.391 MB / 0.7567 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.934, allocations: 425.2 kB / 0.7572 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/1.955, allocations: 9.535 MB / 0.7665 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007679/1.963, allocations: 3.858 MB / 0.7702 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006983/1.97, allocations: 2.062 MB / 0.7722 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.971, allocations: 249 kB / 0.7725 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of SimCode: time 2.152e-06/1.971, allocations: 0 / 0.7725 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.09242/2.064, allocations: 34 MB / 0.8057 GB, free: 89.16 MB / 0.4948 GB