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.1_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 2.065/2.065, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.534e-05/4.533e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4026, allocations: 48.7 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.03278/0.4355, allocations: 21.02 MB / 345.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01573/0.4513, allocations: 4.647 MB / 350.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005423/0.4567, allocations: 97 kB / 350.6 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0044/0.4612, allocations: 1.041 MB / 351.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01174/0.473, allocations: 2.74 MB / 354.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.4761, allocations: 328.5 kB / 354.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003098/0.4793, allocations: 0.5325 MB / 355.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005448/0.4848, allocations: 1.511 MB / 356.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.4862, allocations: 321.3 kB / 357.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.4879, allocations: 0.5061 MB / 357.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.4892, allocations: 414.3 kB / 358 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003935/0.4897, allocations: 61.5 kB / 358.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000977/0.4906, allocations: 0.6433 MB / 358.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000525/0.4912, allocations: 114.6 kB / 358.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003708/0.4949, allocations: 2.129 MB / 361 MB, free: 11.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.495, allocations: 0 / 361 MB, free: 11.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.495, allocations: 4 kB / 361 MB, free: 11.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.955e-05/0.4951, allocations: 0 / 361 MB, free: 11.32 MB / 298.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.006817/0.5019, allocations: 2.03 MB / 363 MB, free: 9.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.502, allocations: 12.03 kB / 363 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.504, allocations: 280.8 kB / 363.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.5066, allocations: 0.859 MB / 364.1 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.5067, allocations: 114.7 kB / 364.2 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004433/0.5072, allocations: 139.9 kB / 364.4 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.5226, allocations: 4.974 MB / 369.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.525e-05/0.5227, allocations: 7.938 kB / 369.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/0.523, allocations: 75.92 kB / 369.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003173/0.5262, allocations: 0.9911 MB / 370.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/0.5409, allocations: 3.893 MB / 374.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.5736, allocations: 16.33 MB / 390.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007383/0.581, allocations: 1.29 MB / 391.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008663/0.5897, allocations: 4.089 MB / 396 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.5898, allocations: 42.55 kB / 396.1 MB, free: 7.098 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 4.018e-06/0.5899, allocations: 0 / 396.1 MB, free: 7.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.01171/0.6016, allocations: 1.763 MB / 397.8 MB, free: 5.324 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.6017, allocations: 118.9 kB / 398 MB, free: 5.184 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.6048, allocations: 1.388 MB / 399.3 MB, free: 3.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.351e-05/0.605, allocations: 37.7 kB / 399.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.6063, allocations: 1.394 MB / 400.8 MB, free: 2.328 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.6066, allocations: 178 kB / 400.9 MB, free: 2.152 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.6067, allocations: 44 kB / 401 MB, free: 2.109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002987/0.607, allocations: 451.3 kB / 401.4 MB, free: 1.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.6083, allocations: 0.508 MB / 401.9 MB, free: 1.148 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/0.6108, allocations: 2.013 MB / 404 MB, free: 14.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/0.6131, allocations: 0.952 MB / 404.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.023e-05/0.6132, allocations: 16 kB / 404.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.005666/0.6188, allocations: 2.42 MB / 407.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/0.6189, allocations: 31.95 kB / 407.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.295e-05/0.619, allocations: 56 kB / 407.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/0.6191, allocations: 80 kB / 407.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/0.6221, allocations: 0.538 MB / 408 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001224/0.6222, allocations: 107.6 kB / 408.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.6244, allocations: 336.6 kB / 408.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.6246, allocations: 144 kB / 408.6 MB, free: 9.688 MB / 346.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.001821/0.6265, allocations: 0.8386 MB / 409.5 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.6268, allocations: 130.3 kB / 409.6 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.6271, allocations: 161.2 kB / 409.7 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.6271, allocations: 4 kB / 409.7 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.6272, allocations: 0 / 409.7 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.6272, allocations: 11.98 kB / 409.8 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006691/0.6339, allocations: 3.267 MB / 413 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.6339, allocations: 12 kB / 413 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.6346, allocations: 99.83 kB / 413.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.088e-05/0.6346, allocations: 16 kB / 413.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.6347, allocations: 27.94 kB / 413.2 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.75e-05/0.6347, allocations: 35.75 kB / 413.2 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/0.6347, allocations: 19.94 kB / 413.2 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.6366, allocations: 1.636 MB / 414.9 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004408/0.6371, allocations: 239.1 kB / 415.1 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.6374, allocations: 27.95 kB / 415.1 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007416/0.6381, allocations: 23.98 kB / 415.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.6382, allocations: 79.67 kB / 415.2 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/0.6383, allocations: 28 kB / 415.3 MB, free: 2.223 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002029/0.6403, allocations: 0.9625 MB / 416.2 MB, free: 1.262 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6404, allocations: 0 / 416.2 MB, free: 1.262 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002542/0.6429, allocations: 478.1 kB / 416.7 MB, free: 0.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.000258/0.6432, allocations: 131 kB / 416.8 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.6463, allocations: 1.248 MB / 418.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/0.6464, allocations: 4 kB / 418.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005493/0.6469, allocations: 238.4 kB / 418.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.6482, allocations: 171.8 kB / 418.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/0.6576, allocations: 4.285 MB / 422.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002623/0.6602, allocations: 1.737 MB / 424.5 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00293/0.6632, allocations: 0.6178 MB / 425.1 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.6636, allocations: 99.42 kB / 425.2 MB, free: 8.047 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6636, allocations: 0 / 425.2 MB, free: 8.047 MB / 362.7 MB Notification: Performance of Templates: time 0.03557/0.6992, allocations: 9.697 MB / 434.9 MB, free: 14.39 MB / 378.7 MB