Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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.FreeMotionScalarInit") Notification: Performance of loadModel(ModelicaTest): time 2.52/2.52, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.474e-05, allocations: 4 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3254, allocations: 54.85 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.4769, allocations: 97.9 MB / 457.7 MB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4772, allocations: 75.97 kB / 457.8 MB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7233/1.201, allocations: 90.61 MB / 0.5355 GB, free: 105.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.268e-06/1.201, allocations: 1.469 kB / 0.5355 GB, free: 105.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002903/1.201, allocations: 80 kB / 0.5356 GB, free: 105.3 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.02779/1.229, allocations: 4.262 MB / 0.5398 GB, free: 103.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.229, allocations: 8.969 kB / 0.5398 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01911/1.248, allocations: 3.558 MB / 0.5432 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/1.262, allocations: 4.675 MB / 0.5478 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003821/1.263, allocations: 330 kB / 0.5481 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00199/1.265, allocations: 445.3 kB / 0.5485 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02426/1.289, allocations: 10.89 MB / 0.5592 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/1.289, allocations: 31.88 kB / 0.5592 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009012/1.29, allocations: 199.2 kB / 0.5594 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001803/1.292, allocations: 1.226 MB / 0.5606 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02351/1.316, allocations: 10.4 MB / 0.5708 GB, free: 98.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05983/1.375, allocations: 37.33 MB / 0.6072 GB, free: 75.05 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008883/1.384, allocations: 4.335 MB / 0.6114 GB, free: 70.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003347/1.388, allocations: 2.134 MB / 0.6135 GB, free: 69.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/1.389, allocations: 1.325 MB / 0.6148 GB, free: 67.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/1.389, allocations: 52.56 kB / 0.6149 GB, free: 67.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=244): time 7.062e-06/1.389, allocations: 3.938 kB / 0.6149 GB, free: 67.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.0417/1.431, allocations: 11.16 MB / 0.6258 GB, free: 58.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/1.431, allocations: 77.2 kB / 0.6258 GB, free: 58.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004061/1.435, allocations: 2.476 MB / 0.6283 GB, free: 56.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003971/1.435, allocations: 57.7 kB / 0.6283 GB, free: 55.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/1.437, allocations: 2.933 MB / 0.6312 GB, free: 53.35 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009796/1.438, allocations: 0.967 MB / 0.6321 GB, free: 52.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003669/1.438, allocations: 120 kB / 0.6322 GB, free: 52.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003528/1.439, allocations: 0.5567 MB / 0.6328 GB, free: 51.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004293/1.443, allocations: 2.28 MB / 0.635 GB, free: 49.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006064/1.449, allocations: 5.387 MB / 0.6403 GB, free: 42.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006055/1.455, allocations: 3.574 MB / 0.6438 GB, free: 39.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.872e-05/1.455, allocations: 28 kB / 0.6438 GB, free: 39.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01863/1.474, allocations: 8.138 MB / 0.6517 GB, free: 31.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.273e-05/1.474, allocations: 57.67 kB / 0.6518 GB, free: 31.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/1.474, allocations: 115.9 kB / 0.6519 GB, free: 30.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003969/1.478, allocations: 1.045 MB / 0.6529 GB, free: 29.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005646/1.484, allocations: 1.333 MB / 0.6542 GB, free: 28.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/1.487, allocations: 2.466 MB / 0.6566 GB, free: 25.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004987/1.492, allocations: 315.8 kB / 0.6569 GB, free: 25.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/1.493, allocations: 335.7 kB / 0.6573 GB, free: 25.33 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * Number of states: 0 () * Number of discrete variables: 21 (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 (719): * Single equations (assignments): 710 * 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 prepare postOptimizeDAE: time 0.001103/1.494, allocations: 0.5186 MB / 0.6578 GB, free: 24.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005726/1.495, allocations: 300.1 kB / 0.658 GB, free: 24.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/1.506, allocations: 5.008 MB / 0.6629 GB, free: 19.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.952e-05/1.506, allocations: 47.98 kB / 0.663 GB, free: 19.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/1.506, allocations: 4 kB / 0.663 GB, free: 19.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.836e-05/1.506, allocations: 7.969 kB / 0.663 GB, free: 19.38 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02548/1.531, allocations: 11.56 MB / 0.6743 GB, free: 7.707 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.412e-05/1.531, allocations: 8 kB / 0.6743 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002514/1.534, allocations: 427.3 kB / 0.6747 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003731/1.538, allocations: 0.9035 MB / 0.6756 GB, free: 6.367 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004998/1.538, allocations: 55.98 kB / 0.6756 GB, free: 6.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/1.541, allocations: 2.28 MB / 0.6779 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/1.541, allocations: 11.94 kB / 0.6779 GB, free: 3.891 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/1.557, allocations: 8.084 MB / 0.6858 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009748/1.558, allocations: 329.3 kB / 0.6861 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008297/1.558, allocations: 51.81 kB / 0.6861 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/1.561, allocations: 143.8 kB / 0.6863 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006066/1.561, allocations: 157.7 kB / 0.6864 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002835/1.562, allocations: 87.84 kB / 0.6865 GB, free: 10.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004074/1.566, allocations: 1.686 MB / 0.6881 GB, free: 9 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.07e-07/1.566, allocations: 0 / 0.6881 GB, free: 9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006845/1.573, allocations: 1.015 MB / 0.6891 GB, free: 7.988 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 207 * 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.0008316/1.573, allocations: 192.5 kB / 0.6893 GB, free: 7.793 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01346/1.587, allocations: 5.894 MB / 0.6951 GB, free: 1.875 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/1.587, allocations: 4 kB / 0.6951 GB, free: 1.871 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3514/1.938, allocations: 2.542 MB / 0.6976 GB, free: 109.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/1.941, allocations: 381.3 kB / 0.6979 GB, free: 109.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.964, allocations: 9.284 MB / 0.707 GB, free: 108 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008369/1.972, allocations: 3.596 MB / 0.7105 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007141/1.979, allocations: 2.094 MB / 0.7126 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/1.981, allocations: 231.5 kB / 0.7128 GB, free: 107.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.856e-06/1.981, allocations: 0 / 0.7128 GB, free: 107.2 MB / 474.7 MB Notification: Performance of Templates: time 0.08663/2.068, allocations: 31.15 MB / 0.7432 GB, free: 105.4 MB / 474.7 MB