Running command: translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 270 MB / 282.7 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.124e-05, allocations: 4 kB / 347 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.362, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.5299, allocations: 111.2 MB / 0.5079 GB, free: 11.37 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5301, allocations: 71.97 kB / 0.508 GB, free: 11.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4812/1.011, allocations: 65.11 MB / 0.5715 GB, free: 69.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.348e-06/1.011, allocations: 0 / 0.5715 GB, free: 69.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001733/1.012, allocations: 68 kB / 0.5716 GB, free: 69.82 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.00964/1.021, allocations: 3.544 MB / 0.5751 GB, free: 66.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.021, allocations: 8.031 kB / 0.5751 GB, free: 66.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004319/1.026, allocations: 0.6203 MB / 0.5757 GB, free: 65.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006032/1.032, allocations: 2.419 MB / 0.578 GB, free: 63.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/1.032, allocations: 283.4 kB / 0.5783 GB, free: 62.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/1.033, allocations: 367.9 kB / 0.5787 GB, free: 62.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/1.053, allocations: 8.109 MB / 0.5866 GB, free: 54.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.038e-05/1.053, allocations: 15.81 kB / 0.5866 GB, free: 54.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005545/1.054, allocations: 167.9 kB / 0.5868 GB, free: 53.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008652/1.055, allocations: 0.615 MB / 0.5874 GB, free: 53.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/1.071, allocations: 6.66 MB / 0.5939 GB, free: 46.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03489/1.106, allocations: 25.99 MB / 0.6192 GB, free: 19.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007525/1.114, allocations: 1.928 MB / 0.6211 GB, free: 17.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/1.115, allocations: 0.8717 MB / 0.622 GB, free: 17.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008637/1.124, allocations: 6.25 MB / 0.6281 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.124, allocations: 51.22 kB / 0.6281 GB, free: 10.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=80): time 4.909e-06/1.124, allocations: 3.984 kB / 0.6281 GB, free: 10.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.01864/1.143, allocations: 5.286 MB / 0.6333 GB, free: 4.918 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.143, allocations: 111.6 kB / 0.6334 GB, free: 4.785 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/1.146, allocations: 2.14 MB / 0.6355 GB, free: 2.617 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/1.146, allocations: 49.64 kB / 0.6355 GB, free: 2.562 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/1.147, allocations: 2.142 MB / 0.6376 GB, free: 400 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/1.148, allocations: 395 kB / 0.638 GB, free: 0 / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/1.148, allocations: 72.08 kB / 0.6381 GB, free: 15.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003661/1.148, allocations: 454.3 kB / 0.6385 GB, free: 15.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/1.15, allocations: 0.9167 MB / 0.6394 GB, free: 14.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00376/1.154, allocations: 2.967 MB / 0.6423 GB, free: 10.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/1.157, allocations: 1.641 MB / 0.6439 GB, free: 8.914 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-05/1.157, allocations: 20 kB / 0.6439 GB, free: 8.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008885/1.166, allocations: 3.569 MB / 0.6474 GB, free: 5.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.542e-05/1.166, allocations: 38.81 kB / 0.6474 GB, free: 5.285 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/1.167, allocations: 72 kB / 0.6475 GB, free: 5.215 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/1.167, allocations: 115.9 kB / 0.6476 GB, free: 5.102 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003398/1.17, allocations: 0.8037 MB / 0.6484 GB, free: 4.297 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001666/1.17, allocations: 147.4 kB / 0.6485 GB, free: 4.152 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/1.173, allocations: 175.6 kB / 0.6487 GB, free: 3.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004282/1.174, allocations: 208 kB / 0.6489 GB, free: 3.777 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (jointRRP.jointUSP.prismatic.positiveBranch,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],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (448): * Single equations (assignments): 447 * 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.0006572/1.174, allocations: 392.3 kB / 0.6493 GB, free: 3.387 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004109/1.175, allocations: 217.2 kB / 0.6495 GB, free: 3.172 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/1.177, allocations: 1.171 MB / 0.6506 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/1.177, allocations: 15.98 kB / 0.6507 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.177, allocations: 7.938 kB / 0.6507 GB, free: 1.965 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.177, allocations: 3.984 kB / 0.6507 GB, free: 1.961 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/1.19, allocations: 6.064 MB / 0.6566 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-05/1.19, allocations: 27.95 kB / 0.6566 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.192, allocations: 271.5 kB / 0.6569 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.321e-05/1.192, allocations: 35.98 kB / 0.6569 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/1.192, allocations: 48 kB / 0.6569 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.723e-05/1.192, allocations: 39.86 kB / 0.657 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.451e-05/1.192, allocations: 36.25 kB / 0.657 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004706/1.197, allocations: 4.198 MB / 0.6611 GB, free: 6.078 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007449/1.197, allocations: 326 kB / 0.6614 GB, free: 5.738 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003368/1.198, allocations: 59.97 kB / 0.6615 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.199, allocations: 52 kB / 0.6615 GB, free: 5.629 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/1.199, allocations: 159.8 kB / 0.6617 GB, free: 5.469 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/1.199, allocations: 64 kB / 0.6618 GB, free: 5.406 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003368/1.203, allocations: 1.558 MB / 0.6633 GB, free: 3.832 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.014e-06/1.203, allocations: 7.875 kB / 0.6633 GB, free: 3.824 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004302/1.207, allocations: 0.6288 MB / 0.6639 GB, free: 3.195 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * 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.000468/1.208, allocations: 206.7 kB / 0.6641 GB, free: 2.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004833/1.212, allocations: 2.138 MB / 0.6662 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/1.213, allocations: 8.125 kB / 0.6662 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/1.214, allocations: 0.6115 MB / 0.6668 GB, free: 260 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/1.216, allocations: 351.2 kB / 0.6671 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.23, allocations: 5.928 MB / 0.6729 GB, free: 9.637 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004547/1.235, allocations: 2.753 MB / 0.6756 GB, free: 6.852 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/1.235, allocations: 187.4 kB / 0.6758 GB, free: 6.668 MB / 490.7 MB Notification: Performance of SimCode: time 1.919e-06/1.235, allocations: 0 / 0.6758 GB, free: 6.668 MB / 490.7 MB Notification: Performance of Templates: time 0.07053/1.306, allocations: 36.46 MB / 0.7114 GB, free: 2.258 MB / 0.5105 GB