Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 2.45/2.45, allocations: 270.1 MB / 283.6 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.758e-05/5.804e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1561, allocations: 61.88 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5151/0.6713, allocations: 105.5 MB / 0.5037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/0.6717, allocations: 75.95 kB / 0.5037 GB, free: 14.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3936/1.065, allocations: 94.4 MB / 0.5959 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.035e-06/1.065, allocations: 4 kB / 0.5959 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002223/1.066, allocations: 87.94 kB / 0.596 GB, free: 15.38 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01818/1.084, allocations: 4.411 MB / 0.6003 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.084, allocations: 8.031 kB / 0.6003 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02093/1.105, allocations: 3.566 MB / 0.6038 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01622/1.121, allocations: 4.635 MB / 0.6083 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005335/1.122, allocations: 353.1 kB / 0.6087 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/1.124, allocations: 459.7 kB / 0.6091 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4056/1.53, allocations: 11.03 MB / 0.6199 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002018/1.53, allocations: 32.75 kB / 0.6199 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001325/1.531, allocations: 205.9 kB / 0.6201 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002094/1.533, allocations: 1.205 MB / 0.6213 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02639/1.56, allocations: 10.4 MB / 0.6314 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06018/1.62, allocations: 37.6 MB / 0.6682 GB, free: 99.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00962/1.63, allocations: 4.223 MB / 0.6723 GB, free: 97.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003645/1.633, allocations: 2.096 MB / 0.6743 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/1.635, allocations: 1.32 MB / 0.6756 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/1.635, allocations: 54.91 kB / 0.6757 GB, free: 95.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 6.728e-06/1.635, allocations: 0 / 0.6757 GB, free: 95.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=256): time 0.03926/1.674, allocations: 10.57 MB / 0.686 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.674, allocations: 74.47 kB / 0.6861 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/1.678, allocations: 2.57 MB / 0.6886 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003808/1.679, allocations: 57.27 kB / 0.6886 GB, free: 91.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001624/1.68, allocations: 3.03 MB / 0.6916 GB, free: 89.63 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00099/1.681, allocations: 0.9446 MB / 0.6925 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/1.682, allocations: 118.9 kB / 0.6926 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003622/1.682, allocations: 0.5572 MB / 0.6932 GB, free: 88.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0042/1.686, allocations: 2.265 MB / 0.6954 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005826/1.692, allocations: 5.434 MB / 0.7007 GB, free: 82.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006448/1.699, allocations: 3.571 MB / 0.7042 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.671e-05/1.699, allocations: 31.72 kB / 0.7042 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01957/1.718, allocations: 8.138 MB / 0.7122 GB, free: 75.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/1.719, allocations: 52 kB / 0.7122 GB, free: 75.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/1.719, allocations: 115.8 kB / 0.7123 GB, free: 75.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004051/1.723, allocations: 1.056 MB / 0.7133 GB, free: 75.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005656/1.728, allocations: 1.33 MB / 0.7146 GB, free: 73.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/1.731, allocations: 2.465 MB / 0.7171 GB, free: 71.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004802/1.736, allocations: 327.5 kB / 0.7174 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007561/1.737, allocations: 332.9 kB / 0.7177 GB, free: 71.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (721): * Single equations (assignments): 712 * 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.000989/1.738, allocations: 0.5339 MB / 0.7182 GB, free: 70.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005181/1.739, allocations: 295.6 kB / 0.7185 GB, free: 70.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.75, allocations: 4.914 MB / 0.7233 GB, free: 66.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.67e-05/1.75, allocations: 55.73 kB / 0.7233 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.75, allocations: 4 kB / 0.7233 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.869e-05/1.75, allocations: 11.81 kB / 0.7234 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02517/1.775, allocations: 11.51 MB / 0.7346 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/1.775, allocations: 8 kB / 0.7346 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/1.778, allocations: 405.6 kB / 0.735 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003785/1.782, allocations: 0.9056 MB / 0.7359 GB, free: 55.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004534/1.782, allocations: 57.05 kB / 0.7359 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/1.785, allocations: 2.263 MB / 0.7381 GB, free: 53.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/1.785, allocations: 19.17 kB / 0.7382 GB, free: 53.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01891/1.804, allocations: 7.975 MB / 0.7459 GB, free: 46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007743/1.805, allocations: 332.8 kB / 0.7463 GB, free: 45.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005906/1.805, allocations: 56.41 kB / 0.7463 GB, free: 45.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.807, allocations: 134.9 kB / 0.7464 GB, free: 45.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003522/1.807, allocations: 158 kB / 0.7466 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/1.808, allocations: 75.95 kB / 0.7467 GB, free: 45.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003194/1.811, allocations: 1.741 MB / 0.7484 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.041e-06/1.811, allocations: 3.938 kB / 0.7484 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006088/1.817, allocations: 1.018 MB / 0.7494 GB, free: 42.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * 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.0006069/1.818, allocations: 201.7 kB / 0.7496 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.829, allocations: 5.845 MB / 0.7553 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.922e-06/1.829, allocations: 4.062 kB / 0.7553 GB, free: 37.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004985/1.834, allocations: 2.491 MB / 0.7577 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/1.837, allocations: 462.3 kB / 0.7581 GB, free: 34.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/1.856, allocations: 9.382 MB / 0.7673 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006454/1.863, allocations: 3.676 MB / 0.7709 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006165/1.869, allocations: 2.103 MB / 0.7729 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.87, allocations: 239.4 kB / 0.7732 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.979e-06/1.87, allocations: 0 / 0.7732 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.09139/1.961, allocations: 32.36 MB / 0.8048 GB, free: 4.141 MB / 0.5261 GB