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_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 2.325/2.325, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.655e-05/3.674e-05, allocations: 7.984 kB / 304.9 MB, free: 5.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3647, allocations: 54.86 MB / 359.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.5072, allocations: 92.02 MB / 451.8 MB, free: 4.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.5075, allocations: 77.17 kB / 451.9 MB, free: 4.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1415/0.649, allocations: 34.52 MB / 486.4 MB, free: 2.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.301e-06/0.649, allocations: 0 / 486.4 MB, free: 2.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.243e-05/0.6491, allocations: 36 kB / 486.4 MB, free: 2.043 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.006632/0.6558, allocations: 2.198 MB / 488.6 MB, free: 15.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6558, allocations: 8.031 kB / 488.6 MB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/0.6584, allocations: 384.6 kB / 489 MB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003559/0.662, allocations: 1.131 MB / 490.2 MB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.6623, allocations: 151.8 kB / 490.3 MB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000628/0.6629, allocations: 188 kB / 490.5 MB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.6761, allocations: 4.754 MB / 495.2 MB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.884e-05/0.6762, allocations: 11.88 kB / 495.2 MB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003287/0.6766, allocations: 91.94 kB / 495.3 MB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001281/0.6779, allocations: 0.5188 MB / 495.9 MB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.6891, allocations: 3.731 MB / 499.6 MB, free: 4.527 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03072/0.7199, allocations: 16.63 MB / 0.5041 GB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006179/0.7261, allocations: 1.262 MB / 0.5054 GB, free: 2.152 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.7275, allocations: 0.695 MB / 0.506 GB, free: 1.449 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007623/0.7351, allocations: 4.066 MB / 0.51 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/0.7352, allocations: 42.5 kB / 0.51 GB, free: 13.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 3.886e-06/0.7353, allocations: 0 / 0.51 GB, free: 13.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.008689/0.7439, allocations: 1.467 MB / 0.5115 GB, free: 11.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.7441, allocations: 106.8 kB / 0.5116 GB, free: 11.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.7469, allocations: 1.386 MB / 0.5129 GB, free: 10.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-05/0.747, allocations: 29.7 kB / 0.513 GB, free: 10.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.7483, allocations: 1.394 MB / 0.5143 GB, free: 8.621 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.7486, allocations: 182 kB / 0.5145 GB, free: 8.441 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.7487, allocations: 48.06 kB / 0.5145 GB, free: 8.395 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003704/0.7491, allocations: 455.3 kB / 0.515 GB, free: 7.941 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.7501, allocations: 0.4887 MB / 0.5155 GB, free: 7.449 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002485/0.7526, allocations: 1.989 MB / 0.5174 GB, free: 4.691 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.7547, allocations: 0.9633 MB / 0.5183 GB, free: 3.727 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.006e-05/0.7547, allocations: 16 kB / 0.5184 GB, free: 3.711 MB / 458.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.005604/0.7603, allocations: 2.228 MB / 0.5205 GB, free: 1.477 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/0.7604, allocations: 29.72 kB / 0.5206 GB, free: 1.449 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-05/0.7605, allocations: 56 kB / 0.5206 GB, free: 1.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.7607, allocations: 80 kB / 0.5207 GB, free: 1.316 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/0.7631, allocations: 0.5424 MB / 0.5212 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000135/0.7633, allocations: 111.6 kB / 0.5213 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.7657, allocations: 328.5 kB / 0.5216 GB, free: 348 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004878/0.7662, allocations: 144 kB / 0.5218 GB, free: 204 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],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.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 (292): * Single equations (assignments): 292 * 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.3823/1.149, allocations: 299.4 kB / 0.5221 GB, free: 126.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/1.149, allocations: 134.2 kB / 0.5222 GB, free: 126.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/1.149, allocations: 152.1 kB / 0.5223 GB, free: 126.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.556e-06/1.149, allocations: 5.719 kB / 0.5223 GB, free: 126.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.683e-06/1.149, allocations: 1.688 kB / 0.5223 GB, free: 126.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.149, allocations: 2.734 kB / 0.5223 GB, free: 126.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006245/1.156, allocations: 3.19 MB / 0.5255 GB, free: 126 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/1.156, allocations: 11.66 kB / 0.5255 GB, free: 126 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/1.156, allocations: 100.8 kB / 0.5256 GB, free: 126 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.501e-05/1.156, allocations: 20.3 kB / 0.5256 GB, free: 126 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/1.156, allocations: 26.28 kB / 0.5256 GB, free: 126 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.483e-05/1.156, allocations: 21 kB / 0.5256 GB, free: 126 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.696e-05/1.156, allocations: 15.56 kB / 0.5256 GB, free: 126 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/1.158, allocations: 1.565 MB / 0.5272 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/1.158, allocations: 225.1 kB / 0.5274 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/1.158, allocations: 26.92 kB / 0.5274 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/1.159, allocations: 23.94 kB / 0.5274 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/1.159, allocations: 69.94 kB / 0.5275 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/1.159, allocations: 27.12 kB / 0.5275 GB, free: 124.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001755/1.161, allocations: 0.9459 MB / 0.5284 GB, free: 124.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.84e-07/1.161, allocations: 3.625 kB / 0.5285 GB, free: 124.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00252/1.163, allocations: 488.5 kB / 0.5289 GB, free: 124.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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.0002153/1.164, allocations: 132.2 kB / 0.529 GB, free: 124.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002355/1.166, allocations: 1.144 MB / 0.5302 GB, free: 124.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.589e-06/1.166, allocations: 1.031 kB / 0.5302 GB, free: 124.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004352/1.167, allocations: 214.3 kB / 0.5304 GB, free: 124.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/1.168, allocations: 165.9 kB / 0.5305 GB, free: 124.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005867/1.173, allocations: 2.774 MB / 0.5332 GB, free: 123.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/1.176, allocations: 1.739 MB / 0.5349 GB, free: 122.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002302/1.178, allocations: 0.6068 MB / 0.5355 GB, free: 122.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/1.178, allocations: 94.94 kB / 0.5356 GB, free: 122.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.72e-06/1.178, allocations: 4.625 kB / 0.5356 GB, free: 122.3 MB / 458.7 MB Notification: Performance of Templates: time 0.03305/1.211, allocations: 9.515 MB / 0.5449 GB, free: 121.9 MB / 458.7 MB