Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.685e-05/7.7e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5532, allocations: 100.6 MB / 0.499 GB, free: 3.465 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5534, allocations: 79.95 kB / 0.499 GB, free: 3.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1172/0.6706, allocations: 30.55 MB / 0.5289 GB, free: 4.656 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6707, allocations: 0 / 0.5289 GB, free: 4.656 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.595e-05/0.6708, allocations: 35.98 kB / 0.5289 GB, free: 4.621 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.005684/0.6765, allocations: 2.004 MB / 0.5309 GB, free: 2.562 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6765, allocations: 8.031 kB / 0.5309 GB, free: 2.555 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.6785, allocations: 317.3 kB / 0.5312 GB, free: 2.242 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.6816, allocations: 1.045 MB / 0.5322 GB, free: 1.152 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.6818, allocations: 123.2 kB / 0.5323 GB, free: 1.031 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004734/0.6823, allocations: 160 kB / 0.5325 GB, free: 0.875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.6939, allocations: 4.219 MB / 0.5366 GB, free: 12.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.657e-05/0.694, allocations: 11.92 kB / 0.5366 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002736/0.6943, allocations: 71.97 kB / 0.5367 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000805/0.6951, allocations: 418.5 kB / 0.5371 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.7057, allocations: 3.487 MB / 0.5405 GB, free: 8.414 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02449/0.7302, allocations: 14.53 MB / 0.5547 GB, free: 9.512 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005848/0.7361, allocations: 1.206 MB / 0.5558 GB, free: 8.293 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.7375, allocations: 0.682 MB / 0.5565 GB, free: 7.609 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007203/0.7447, allocations: 3.734 MB / 0.5601 GB, free: 3.617 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.7448, allocations: 30.89 kB / 0.5602 GB, free: 3.578 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 3.809e-06/0.7448, allocations: 0 / 0.5602 GB, free: 3.578 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.008156/0.7529, allocations: 1.459 MB / 0.5616 GB, free: 2.113 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.753, allocations: 55.41 kB / 0.5616 GB, free: 2.047 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/0.7555, allocations: 1.307 MB / 0.5629 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.7556, allocations: 29.7 kB / 0.563 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.7567, allocations: 1.201 MB / 0.5641 GB, free: 15.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.7569, allocations: 166 kB / 0.5643 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-05/0.757, allocations: 40 kB / 0.5643 GB, free: 15.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003454/0.7574, allocations: 454.8 kB / 0.5648 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009878/0.7584, allocations: 468.1 kB / 0.5652 GB, free: 14.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.7607, allocations: 1.85 MB / 0.567 GB, free: 11.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.7624, allocations: 0.8975 MB / 0.5679 GB, free: 10.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.25e-05/0.7625, allocations: 12 kB / 0.5679 GB, free: 10.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004781/0.7673, allocations: 2.076 MB / 0.5699 GB, free: 8.789 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/0.7674, allocations: 28 kB / 0.57 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.894e-05/0.7674, allocations: 52 kB / 0.57 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.7675, allocations: 72 kB / 0.5701 GB, free: 8.641 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.7694, allocations: 0.4912 MB / 0.5706 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001102/0.7696, allocations: 95.66 kB / 0.5706 GB, free: 8.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.7715, allocations: 304.8 kB / 0.5709 GB, free: 7.754 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/0.7717, allocations: 132.3 kB / 0.5711 GB, free: 7.625 MB / 490.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.0004446/0.7722, allocations: 295.7 kB / 0.5713 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.7724, allocations: 122.4 kB / 0.5715 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.7728, allocations: 140.6 kB / 0.5716 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.772e-06/0.7728, allocations: 4 kB / 0.5716 GB, free: 7.062 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.7728, allocations: 3.953 kB / 0.5716 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.7728, allocations: 3.984 kB / 0.5716 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005486/0.7783, allocations: 2.809 MB / 0.5743 GB, free: 4.031 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.7784, allocations: 8 kB / 0.5744 GB, free: 4.023 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.7788, allocations: 95.83 kB / 0.5744 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.541e-05/0.7789, allocations: 19.94 kB / 0.5745 GB, free: 3.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.7789, allocations: 20.69 kB / 0.5745 GB, free: 3.891 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.962e-05/0.7789, allocations: 15.94 kB / 0.5745 GB, free: 3.875 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/0.779, allocations: 23.94 kB / 0.5745 GB, free: 3.852 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.7808, allocations: 1.506 MB / 0.576 GB, free: 1.797 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.7813, allocations: 223.3 kB / 0.5762 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.7815, allocations: 23.95 kB / 0.5762 GB, free: 1.535 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/0.7821, allocations: 27.98 kB / 0.5763 GB, free: 1.508 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.7822, allocations: 67.67 kB / 0.5763 GB, free: 1.441 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.7823, allocations: 28 kB / 0.5763 GB, free: 1.414 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001772/0.7841, allocations: 0.8841 MB / 0.5772 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.99e-07/0.7841, allocations: 4 kB / 0.5772 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002374/0.7865, allocations: 406.6 kB / 0.5776 GB, free: 128 kB / 490.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.0002744/0.7868, allocations: 135 kB / 0.5777 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002572/0.7894, allocations: 1.076 MB / 0.5788 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.442e-06/0.7894, allocations: 0 / 0.5788 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.7899, allocations: 215.1 kB / 0.579 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.7911, allocations: 192.5 kB / 0.5792 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005857/0.7969, allocations: 2.441 MB / 0.5816 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/0.7991, allocations: 1.559 MB / 0.5831 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002155/0.8013, allocations: 0.5736 MB / 0.5836 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.8016, allocations: 87.44 kB / 0.5837 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of SimCode: time 2.002e-06/0.8016, allocations: 0 / 0.5837 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of Templates: time 0.0331/0.8347, allocations: 8.946 MB / 0.5925 GB, free: 0.7695 MB / 0.4948 GB