Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadModel(ModelicaTest): time 2.37/2.37, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.021e-05, allocations: 4 kB / 347 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3203, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.4808, allocations: 105.3 MB / 0.5021 GB, free: 1.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.4811, allocations: 75.97 kB / 0.5022 GB, free: 1.266 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.581/1.062, allocations: 90.35 MB / 0.5904 GB, free: 49.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.106e-06/1.062, allocations: 0 / 0.5904 GB, free: 49.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000141/1.062, allocations: 79.94 kB / 0.5905 GB, free: 49.36 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: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01348/1.076, allocations: 4.179 MB / 0.5946 GB, free: 45.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.076, allocations: 8.031 kB / 0.5946 GB, free: 45.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01794/1.094, allocations: 3.539 MB / 0.598 GB, free: 41.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01313/1.107, allocations: 4.491 MB / 0.6024 GB, free: 37.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000292/1.107, allocations: 320.4 kB / 0.6027 GB, free: 36.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002073/1.109, allocations: 431.8 kB / 0.6031 GB, free: 36.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02333/1.133, allocations: 10.62 MB / 0.6135 GB, free: 25.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001497/1.133, allocations: 27.72 kB / 0.6135 GB, free: 25.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/1.134, allocations: 191.9 kB / 0.6137 GB, free: 24.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001711/1.136, allocations: 1.192 MB / 0.6149 GB, free: 23.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02171/1.158, allocations: 10.13 MB / 0.6248 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06403/1.222, allocations: 36.47 MB / 0.6604 GB, free: 8.289 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/1.232, allocations: 4.225 MB / 0.6645 GB, free: 3.836 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00414/1.236, allocations: 2.091 MB / 0.6665 GB, free: 1.746 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001722/1.238, allocations: 1.327 MB / 0.6678 GB, free: 204 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/1.238, allocations: 48.56 kB / 0.6679 GB, free: 144 kB / 474.7 MB Notification: Performance of pre-optimization done (n=235): time 6.996e-06/1.238, allocations: 0 / 0.6679 GB, free: 144 kB / 474.7 MB Notification: Performance of matching and sorting (n=256): time 0.04314/1.281, allocations: 10.96 MB / 0.6786 GB, free: 5.176 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/1.282, allocations: 73.41 kB / 0.6787 GB, free: 5.094 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004738/1.286, allocations: 2.441 MB / 0.681 GB, free: 2.637 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003637/1.287, allocations: 65.64 kB / 0.6811 GB, free: 2.566 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00265/1.289, allocations: 2.851 MB / 0.6839 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/1.291, allocations: 0.9482 MB / 0.6848 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004001/1.291, allocations: 116 kB / 0.6849 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005378/1.292, allocations: 0.5507 MB / 0.6855 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/1.296, allocations: 2.233 MB / 0.6876 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007787/1.304, allocations: 5.268 MB / 0.6928 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007165/1.311, allocations: 3.5 MB / 0.6962 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.075e-05/1.312, allocations: 28 kB / 0.6962 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02055/1.332, allocations: 7.906 MB / 0.7039 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/1.332, allocations: 56.22 kB / 0.704 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/1.332, allocations: 112 kB / 0.7041 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004588/1.337, allocations: 1.044 MB / 0.7051 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006042/1.343, allocations: 1.298 MB / 0.7064 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/1.347, allocations: 2.459 MB / 0.7088 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004781/1.352, allocations: 311.7 kB / 0.7091 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/1.353, allocations: 324 kB / 0.7094 GB, free: 3.824 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 26 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (700): * Single equations (assignments): 691 * 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.001264/1.354, allocations: 0.513 MB / 0.7099 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006356/1.355, allocations: 284.2 kB / 0.7102 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3136/1.669, allocations: 4.916 MB / 0.715 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.261e-05/1.669, allocations: 45.81 kB / 0.715 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/1.669, allocations: 1.281 kB / 0.715 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-05/1.669, allocations: 10.69 kB / 0.715 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02509/1.694, allocations: 11.31 MB / 0.7261 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/1.694, allocations: 7.344 kB / 0.7261 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/1.696, allocations: 409.1 kB / 0.7265 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003827/1.7, allocations: 0.9053 MB / 0.7274 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002853/1.7, allocations: 61.64 kB / 0.7274 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/1.703, allocations: 2.27 MB / 0.7296 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.413e-06/1.703, allocations: 13.34 kB / 0.7296 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/1.717, allocations: 7.927 MB / 0.7374 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007521/1.718, allocations: 323.3 kB / 0.7377 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005303/1.719, allocations: 51.03 kB / 0.7377 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.72, allocations: 133.1 kB / 0.7379 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003732/1.721, allocations: 157.6 kB / 0.738 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/1.721, allocations: 78.34 kB / 0.7381 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003036/1.724, allocations: 1.647 MB / 0.7397 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.018e-06/1.724, allocations: 2.734 kB / 0.7397 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005307/1.729, allocations: 0.9844 MB / 0.7407 GB, free: 129.9 MB / 0.5105 GB 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 (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.0006099/1.73, allocations: 201.9 kB / 0.7409 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.742, allocations: 5.77 MB / 0.7465 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.742, allocations: 6.219 kB / 0.7465 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005202/1.747, allocations: 2.504 MB / 0.749 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/1.75, allocations: 403.5 kB / 0.7493 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03163/1.782, allocations: 9.56 MB / 0.7587 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0106/1.792, allocations: 3.523 MB / 0.7621 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003142/1.795, allocations: 274.5 kB / 0.7624 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of SimCode: time 3.06e-06/1.796, allocations: 0 / 0.7624 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.15/1.946, allocations: 110.6 MB / 0.8703 GB, free: 23.19 MB / 0.5105 GB