Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadModel(ModelicaTest): time 2.349/2.349, allocations: 270 MB / 282.6 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.659e-05, allocations: 4 kB / 347 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3231, allocations: 61.89 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.488, allocations: 106.8 MB / 0.5036 GB, free: 15.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.4883, allocations: 75.95 kB / 0.5036 GB, free: 15.71 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8104/1.299, allocations: 128.6 MB / 0.6292 GB, free: 9.742 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.963e-06/1.299, allocations: 0 / 0.6292 GB, free: 9.742 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005938/1.299, allocations: 116 kB / 0.6293 GB, free: 9.629 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: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02451/1.324, allocations: 6.16 MB / 0.6353 GB, free: 3.398 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.324, allocations: 8.031 kB / 0.6353 GB, free: 3.391 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03412/1.358, allocations: 6.435 MB / 0.6416 GB, free: 12.94 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02439/1.383, allocations: 7.952 MB / 0.6494 GB, free: 4.922 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006482/1.383, allocations: 435.2 kB / 0.6498 GB, free: 4.496 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003056/1.386, allocations: 0.5583 MB / 0.6503 GB, free: 3.938 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04276/1.429, allocations: 15.06 MB / 0.665 GB, free: 4.156 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003233/1.43, allocations: 55.5 kB / 0.6651 GB, free: 4.102 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00241/1.432, allocations: 263.8 kB / 0.6654 GB, free: 3.844 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003442/1.435, allocations: 1.659 MB / 0.667 GB, free: 2.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03922/1.475, allocations: 14.39 MB / 0.681 GB, free: 3.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4163/1.891, allocations: 55.43 MB / 0.7352 GB, free: 85.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02485/1.916, allocations: 7.937 MB / 0.7429 GB, free: 84.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007903/1.924, allocations: 4.693 MB / 0.7475 GB, free: 84.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002178/1.926, allocations: 2.208 MB / 0.7496 GB, free: 82.63 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/1.926, allocations: 65.45 kB / 0.7497 GB, free: 82.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=367): time 8.875e-06/1.926, allocations: 0 / 0.7497 GB, free: 82.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=419): time 0.1205/2.047, allocations: 33.17 MB / 0.7821 GB, free: 80.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/2.047, allocations: 116.8 kB / 0.7822 GB, free: 79.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007666/2.054, allocations: 3.758 MB / 0.7859 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009023/2.055, allocations: 83.83 kB / 0.786 GB, free: 78.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002712/2.058, allocations: 3.706 MB / 0.7896 GB, free: 76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002222/2.06, allocations: 1.488 MB / 0.791 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/2.062, allocations: 153.1 kB / 0.7912 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005792/2.062, allocations: 0.6373 MB / 0.7918 GB, free: 74.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007601/2.07, allocations: 3.818 MB / 0.7955 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009894/2.08, allocations: 7.52 MB / 0.8029 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/2.09, allocations: 5.394 MB / 0.8081 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000101/2.09, allocations: 37.41 kB / 0.8082 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.03162/2.122, allocations: 13.39 MB / 0.8213 GB, free: 56.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.821e-05/2.122, allocations: 60 kB / 0.8213 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/2.122, allocations: 130.2 kB / 0.8214 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009258/2.131, allocations: 2.628 MB / 0.824 GB, free: 54.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009289/2.141, allocations: 1.928 MB / 0.8259 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/2.163, allocations: 13.62 MB / 0.8392 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007703/2.171, allocations: 478.6 kB / 0.8396 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001669/2.172, allocations: 430.2 kB / 0.8401 GB, free: 40.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 50 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[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 (914): * Single equations (assignments): 906 * 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: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001782/2.174, allocations: 0.6504 MB / 0.8407 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/2.175, allocations: 462.1 kB / 0.8411 GB, free: 39.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02219/2.197, allocations: 10.35 MB / 0.8512 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/2.198, allocations: 64.92 kB / 0.8513 GB, free: 31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.689e-05/2.198, allocations: 11.95 kB / 0.8513 GB, free: 30.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.441e-05/2.198, allocations: 17.53 kB / 0.8513 GB, free: 30.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04715/2.245, allocations: 20.86 MB / 0.8717 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-05/2.245, allocations: 8 kB / 0.8717 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004737/2.25, allocations: 0.7878 MB / 0.8725 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00881/2.259, allocations: 2.411 MB / 0.8748 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008442/2.259, allocations: 83.98 kB / 0.8749 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02114/2.281, allocations: 12.36 MB / 0.887 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-05/2.281, allocations: 23.83 kB / 0.887 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03559/2.316, allocations: 16.12 MB / 0.9027 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/2.318, allocations: 0.4913 MB / 0.9032 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001452/2.319, allocations: 75.98 kB / 0.9033 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003981/2.323, allocations: 291.6 kB / 0.9036 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001047/2.324, allocations: 270 kB / 0.9038 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005079/2.325, allocations: 111.4 kB / 0.9039 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005677/2.331, allocations: 2.623 MB / 0.9065 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.22e-07/2.331, allocations: 0 / 0.9065 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008837/2.339, allocations: 1.634 MB / 0.9081 GB, free: 6.883 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (334): * Single equations (assignments): 326 * 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: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009084/2.34, allocations: 250.5 kB / 0.9083 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02059/2.361, allocations: 9.348 MB / 0.9175 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/2.361, allocations: 2.562 kB / 0.9175 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009413/2.37, allocations: 4.138 MB / 0.9215 GB, free: 9.125 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004819/2.375, allocations: 0.6476 MB / 0.9221 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3492/2.725, allocations: 13.8 MB / 0.9356 GB, free: 151.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009446/2.734, allocations: 4.684 MB / 0.9402 GB, free: 150.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002705/2.737, allocations: 400.9 kB / 0.9406 GB, free: 150.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.949e-06/2.737, allocations: 0 / 0.9406 GB, free: 150.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.1842/2.921, allocations: 133.8 MB / 1.071 GB, free: 70.67 MB / 0.5573 GB