Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 270 MB / 282.7 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.843e-05, allocations: 4 kB / 347 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3229, allocations: 61.89 MB / 408.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.4839, allocations: 105.5 MB / 0.5023 GB, free: 1.113 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.4841, allocations: 83.94 kB / 0.5023 GB, free: 1.031 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5969/1.081, allocations: 94.37 MB / 0.5945 GB, free: 45.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.197e-06/1.081, allocations: 0 / 0.5945 GB, free: 45.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001676/1.081, allocations: 84 kB / 0.5946 GB, free: 45.12 MB / 442.7 MB 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.01492/1.096, allocations: 4.415 MB / 0.5989 GB, free: 40.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.096, allocations: 12.03 kB / 0.5989 GB, free: 40.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01945/1.116, allocations: 3.57 MB / 0.6024 GB, free: 37.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/1.129, allocations: 4.631 MB / 0.6069 GB, free: 32.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/1.129, allocations: 349 kB / 0.6072 GB, free: 32.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001908/1.131, allocations: 459.8 kB / 0.6077 GB, free: 31.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02386/1.155, allocations: 11.04 MB / 0.6185 GB, free: 20.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/1.155, allocations: 35.7 kB / 0.6185 GB, free: 20.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001102/1.156, allocations: 199.9 kB / 0.6187 GB, free: 19.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001677/1.158, allocations: 1.208 MB / 0.6199 GB, free: 18.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02209/1.18, allocations: 10.4 MB / 0.63 GB, free: 8.199 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0678/1.248, allocations: 37.61 MB / 0.6668 GB, free: 1.711 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/1.259, allocations: 4.223 MB / 0.6709 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00417/1.263, allocations: 2.096 MB / 0.6729 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001694/1.265, allocations: 1.323 MB / 0.6742 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/1.265, allocations: 52.5 kB / 0.6743 GB, free: 9.559 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 7.305e-06/1.265, allocations: 0 / 0.6743 GB, free: 9.559 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.04064/1.306, allocations: 10.57 MB / 0.6846 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/1.306, allocations: 73.41 kB / 0.6847 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005395/1.311, allocations: 2.566 MB / 0.6872 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000451/1.312, allocations: 65.69 kB / 0.6872 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00323/1.315, allocations: 3.021 MB / 0.6902 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001487/1.316, allocations: 0.9443 MB / 0.6911 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005566/1.317, allocations: 108 kB / 0.6912 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005822/1.317, allocations: 0.5627 MB / 0.6918 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005254/1.323, allocations: 2.268 MB / 0.694 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008703/1.331, allocations: 5.432 MB / 0.6993 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007489/1.339, allocations: 3.566 MB / 0.7028 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.806e-05/1.339, allocations: 32 kB / 0.7028 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=774) (initialization): time 0.02184/1.361, allocations: 8.07 MB / 0.7107 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.361, allocations: 53 kB / 0.7107 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/1.361, allocations: 115.9 kB / 0.7108 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00463/1.366, allocations: 1.06 MB / 0.7119 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3085/1.675, allocations: 1.324 MB / 0.7132 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00394/1.678, allocations: 2.471 MB / 0.7156 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005017/1.684, allocations: 315.5 kB / 0.7159 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/1.685, allocations: 338.1 kB / 0.7162 GB, free: 127.1 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.001279/1.686, allocations: 0.5307 MB / 0.7167 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006068/1.687, allocations: 291 kB / 0.717 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.697, allocations: 4.926 MB / 0.7218 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.397e-05/1.697, allocations: 45.33 kB / 0.7218 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.612e-06/1.698, allocations: 0 / 0.7218 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.631e-05/1.698, allocations: 10.78 kB / 0.7219 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02544/1.723, allocations: 11.52 MB / 0.7331 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/1.723, allocations: 7.438 kB / 0.7331 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/1.726, allocations: 407 kB / 0.7335 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004005/1.73, allocations: 0.9042 MB / 0.7344 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003357/1.73, allocations: 59.12 kB / 0.7344 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/1.733, allocations: 2.266 MB / 0.7366 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/1.733, allocations: 16.84 kB / 0.7367 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/1.747, allocations: 7.973 MB / 0.7445 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007256/1.747, allocations: 333.4 kB / 0.7448 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000541/1.748, allocations: 54.44 kB / 0.7448 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.75, allocations: 135.7 kB / 0.745 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/1.75, allocations: 158 kB / 0.7451 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002505/1.75, allocations: 71.48 kB / 0.7452 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003046/1.753, allocations: 1.737 MB / 0.7469 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.1e-07/1.753, allocations: 0 / 0.7469 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005416/1.759, allocations: 1.025 MB / 0.7479 GB, free: 122.4 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.0005578/1.759, allocations: 205.4 kB / 0.7481 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.77, allocations: 5.857 MB / 0.7538 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.968e-06/1.771, allocations: 0 / 0.7538 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005151/1.776, allocations: 2.5 MB / 0.7562 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/1.778, allocations: 461.9 kB / 0.7567 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/1.798, allocations: 9.883 MB / 0.7663 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005372/1.804, allocations: 3.685 MB / 0.7699 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.805, allocations: 287.5 kB / 0.7702 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.579e-06/1.805, allocations: 0 / 0.7702 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.1311/1.936, allocations: 116.3 MB / 0.8837 GB, free: 8.246 MB / 0.5105 GB