Running command: translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 270 MB / 282.7 MB, free: 1.746 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.963e-05, allocations: 4 kB / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3224, allocations: 61.89 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.4918, allocations: 111.7 MB / 0.5083 GB, free: 10.89 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4921, allocations: 79.95 kB / 0.5084 GB, free: 10.81 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4852/0.9774, allocations: 66.78 MB / 0.5736 GB, free: 67.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.422e-06/0.9774, allocations: 0 / 0.5736 GB, free: 67.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001626/0.9776, allocations: 76 kB / 0.5737 GB, free: 67.65 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.01158/0.9892, allocations: 3.751 MB / 0.5774 GB, free: 63.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.9892, allocations: 16.02 kB / 0.5774 GB, free: 63.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004394/0.9936, allocations: 0.636 MB / 0.578 GB, free: 63.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006366/1, allocations: 2.423 MB / 0.5804 GB, free: 60.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/1, allocations: 275.3 kB / 0.5806 GB, free: 60.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/1.002, allocations: 359.9 kB / 0.581 GB, free: 60.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02239/1.024, allocations: 8.895 MB / 0.5897 GB, free: 50.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.045e-05/1.024, allocations: 11.88 kB / 0.5897 GB, free: 50.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000662/1.025, allocations: 159.9 kB / 0.5898 GB, free: 50.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009661/1.026, allocations: 0.6779 MB / 0.5905 GB, free: 50 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02039/1.046, allocations: 7.86 MB / 0.5982 GB, free: 42.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07506/1.121, allocations: 28.24 MB / 0.6257 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/1.14, allocations: 2.995 MB / 0.6287 GB, free: 10.26 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/1.142, allocations: 1.542 MB / 0.6302 GB, free: 8.715 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01275/1.155, allocations: 8.633 MB / 0.6386 GB, free: 15.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/1.155, allocations: 43.34 kB / 0.6386 GB, free: 15.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 4.181e-06/1.155, allocations: 0 / 0.6386 GB, free: 15.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.03055/1.186, allocations: 6.347 MB / 0.6448 GB, free: 9.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/1.186, allocations: 60.41 kB / 0.6449 GB, free: 9.109 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004819/1.191, allocations: 2.274 MB / 0.6471 GB, free: 6.809 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000263/1.191, allocations: 45.64 kB / 0.6472 GB, free: 6.758 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001965/1.193, allocations: 2.127 MB / 0.6492 GB, free: 4.602 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005448/1.193, allocations: 426.5 kB / 0.6496 GB, free: 4.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/1.194, allocations: 76 kB / 0.6497 GB, free: 4.105 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003947/1.194, allocations: 462.8 kB / 0.6502 GB, free: 3.645 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002946/1.197, allocations: 1.358 MB / 0.6515 GB, free: 2.285 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005031/1.202, allocations: 3.392 MB / 0.6548 GB, free: 13.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004343/1.207, allocations: 2.085 MB / 0.6568 GB, free: 11.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-05/1.207, allocations: 20 kB / 0.6569 GB, free: 11.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01092/1.218, allocations: 4.486 MB / 0.6612 GB, free: 7.277 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/1.218, allocations: 40.92 kB / 0.6613 GB, free: 7.238 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/1.218, allocations: 72 kB / 0.6613 GB, free: 7.168 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/1.218, allocations: 112 kB / 0.6614 GB, free: 7.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004374/1.222, allocations: 0.889 MB / 0.6623 GB, free: 6.168 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001734/1.223, allocations: 151.4 kB / 0.6625 GB, free: 6.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003487/1.226, allocations: 223.5 kB / 0.6627 GB, free: 5.801 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000591/1.227, allocations: 216 kB / 0.6629 GB, free: 5.59 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (476): * Single equations (assignments): 475 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008102/1.227, allocations: 415 kB / 0.6633 GB, free: 5.176 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000447/1.228, allocations: 221.1 kB / 0.6635 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00458/1.233, allocations: 2.075 MB / 0.6655 GB, free: 2.867 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/1.233, allocations: 12 kB / 0.6655 GB, free: 2.855 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.281e-06/1.233, allocations: 0 / 0.6655 GB, free: 2.855 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/1.233, allocations: 7.969 kB / 0.6655 GB, free: 2.848 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/1.247, allocations: 6.363 MB / 0.6717 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-05/1.247, allocations: 20 kB / 0.6718 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.248, allocations: 291.5 kB / 0.672 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-05/1.248, allocations: 35.94 kB / 0.6721 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/1.248, allocations: 52.69 kB / 0.6721 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.925e-05/1.249, allocations: 35.86 kB / 0.6722 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.658e-05/1.249, allocations: 31.88 kB / 0.6722 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005273/1.254, allocations: 4.002 MB / 0.6761 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008023/1.255, allocations: 333.9 kB / 0.6764 GB, free: 6.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003834/1.255, allocations: 55.98 kB / 0.6765 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.257, allocations: 71.94 kB / 0.6765 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/1.257, allocations: 148.3 kB / 0.6767 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/1.257, allocations: 59.98 kB / 0.6767 GB, free: 6.402 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003357/1.26, allocations: 1.596 MB / 0.6783 GB, free: 4.789 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.7e-07/1.26, allocations: 3.938 kB / 0.6783 GB, free: 4.785 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004159/1.265, allocations: 0.6913 MB / 0.679 GB, free: 4.094 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004988/1.265, allocations: 217.9 kB / 0.6792 GB, free: 3.871 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006366/1.271, allocations: 2.902 MB / 0.682 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/1.272, allocations: 4 kB / 0.682 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/1.273, allocations: 0.8617 MB / 0.6829 GB, free: 124 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/1.276, allocations: 340.7 kB / 0.6832 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/1.29, allocations: 6.082 MB / 0.6891 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004631/1.295, allocations: 2.746 MB / 0.6918 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.296, allocations: 191.4 kB / 0.692 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of SimCode: time 1.814e-06/1.296, allocations: 0 / 0.692 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of Templates: time 0.3631/1.659, allocations: 39.28 MB / 0.7303 GB, free: 134.6 MB / 0.5105 GB