Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 2.298/2.298, allocations: 270 MB / 282.7 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.164e-05, allocations: 7.938 kB / 347 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3229, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.4781, allocations: 100.6 MB / 0.4975 GB, free: 6.004 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4784, allocations: 71.97 kB / 0.4976 GB, free: 5.934 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3898/0.8682, allocations: 30.55 MB / 0.5275 GB, free: 98.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.788e-06/0.8682, allocations: 0 / 0.5275 GB, free: 98.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.693e-05/0.8683, allocations: 30.78 kB / 0.5275 GB, free: 98.51 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004349/0.8726, allocations: 2.001 MB / 0.5294 GB, free: 97.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.8727, allocations: 7.781 kB / 0.5294 GB, free: 97.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.8745, allocations: 318.2 kB / 0.5297 GB, free: 97.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/0.8771, allocations: 1.048 MB / 0.5308 GB, free: 97.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.8773, allocations: 123.5 kB / 0.5309 GB, free: 97.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.8776, allocations: 165.4 kB / 0.531 GB, free: 97.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009902/0.8875, allocations: 4.211 MB / 0.5352 GB, free: 96.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/0.8876, allocations: 13.88 kB / 0.5352 GB, free: 96.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/0.8879, allocations: 74.55 kB / 0.5352 GB, free: 96.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006207/0.8885, allocations: 419.1 kB / 0.5356 GB, free: 96.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009696/0.8983, allocations: 3.49 MB / 0.539 GB, free: 95.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01924/0.9175, allocations: 14.52 MB / 0.5532 GB, free: 84.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005905/0.9235, allocations: 1.225 MB / 0.5544 GB, free: 83.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009549/0.9245, allocations: 0.6848 MB / 0.5551 GB, free: 82.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005481/0.93, allocations: 3.718 MB / 0.5587 GB, free: 79.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.93, allocations: 38.5 kB / 0.5588 GB, free: 79.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.45e-06/0.9301, allocations: 4 kB / 0.5588 GB, free: 79.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=40): time 0.007679/0.9377, allocations: 1.454 MB / 0.5602 GB, free: 77.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.9378, allocations: 63.3 kB / 0.5602 GB, free: 77.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.9397, allocations: 1.307 MB / 0.5615 GB, free: 76.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.9398, allocations: 33.7 kB / 0.5616 GB, free: 76.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/0.9404, allocations: 1.211 MB / 0.5627 GB, free: 75.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.9405, allocations: 177.1 kB / 0.5629 GB, free: 74.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/0.9406, allocations: 48 kB / 0.563 GB, free: 74.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9408, allocations: 391 kB / 0.5633 GB, free: 74.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000783/0.9416, allocations: 468.1 kB / 0.5638 GB, free: 74.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.9429, allocations: 1.85 MB / 0.5656 GB, free: 71.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.9442, allocations: 0.9014 MB / 0.5665 GB, free: 70.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/0.9443, allocations: 16 kB / 0.5665 GB, free: 70.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003522/0.9478, allocations: 2.022 MB / 0.5684 GB, free: 68.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.9479, allocations: 27.98 kB / 0.5685 GB, free: 68.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-05/0.9479, allocations: 52 kB / 0.5685 GB, free: 68.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.262e-05/0.948, allocations: 76 kB / 0.5686 GB, free: 68.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.9497, allocations: 491 kB / 0.5691 GB, free: 67.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-05/0.9498, allocations: 100.1 kB / 0.5692 GB, free: 67.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/0.9524, allocations: 308.8 kB / 0.5695 GB, free: 67.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/0.9527, allocations: 128 kB / 0.5696 GB, free: 67.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (269): * Single equations (assignments): 269 * 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 prepare postOptimizeDAE: time 0.0004015/0.9531, allocations: 295.7 kB / 0.5699 GB, free: 67.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.9533, allocations: 122.4 kB / 0.57 GB, free: 66.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.9536, allocations: 144.6 kB / 0.5701 GB, free: 66.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.588e-06/0.9536, allocations: 11.75 kB / 0.5701 GB, free: 66.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.983e-06/0.9536, allocations: 0 / 0.5701 GB, free: 66.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.246e-06/0.9536, allocations: 0 / 0.5701 GB, free: 66.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/0.9578, allocations: 2.797 MB / 0.5729 GB, free: 63.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.9578, allocations: 12 kB / 0.5729 GB, free: 63.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.9582, allocations: 92.73 kB / 0.573 GB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.9583, allocations: 12 kB / 0.573 GB, free: 63.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.9583, allocations: 31.94 kB / 0.573 GB, free: 63.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.612e-05/0.9583, allocations: 23.92 kB / 0.573 GB, free: 63.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/0.9584, allocations: 15.94 kB / 0.573 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.9594, allocations: 1.5 MB / 0.5745 GB, free: 61.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.9597, allocations: 215.3 kB / 0.5747 GB, free: 61.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.9599, allocations: 31.83 kB / 0.5747 GB, free: 61.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.9605, allocations: 35.88 kB / 0.5748 GB, free: 61.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.9606, allocations: 63.73 kB / 0.5748 GB, free: 61.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.9606, allocations: 32 kB / 0.5749 GB, free: 61.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.9619, allocations: 0.8841 MB / 0.5757 GB, free: 60.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.9619, allocations: 0 / 0.5757 GB, free: 60.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001997/0.9639, allocations: 402.7 kB / 0.5761 GB, free: 59.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.0001728/0.9641, allocations: 138.9 kB / 0.5762 GB, free: 59.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.9659, allocations: 1.077 MB / 0.5773 GB, free: 58.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.9659, allocations: 4 kB / 0.5773 GB, free: 58.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.9663, allocations: 209.2 kB / 0.5775 GB, free: 58.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008966/0.9672, allocations: 180.1 kB / 0.5777 GB, free: 58.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.9718, allocations: 2.618 MB / 0.5802 GB, free: 55.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/0.9732, allocations: 1.563 MB / 0.5818 GB, free: 53.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.9735, allocations: 103.4 kB / 0.5819 GB, free: 53.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.655e-06/0.9735, allocations: 4 kB / 0.5819 GB, free: 53.82 MB / 442.7 MB Notification: Performance of Templates: time 0.0252/0.9987, allocations: 17.42 MB / 0.5989 GB, free: 36.56 MB / 442.7 MB