Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSR,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.|jointUSR.frame_b.r_0.1.|jointUSR.frame_b.r_0.2.|jointUSR.frame_b.r_0.3.|jointUSR.frame_b.f.1.|jointUSR.frame_b.f.2.|jointUSR.frame_b.f.3.|jointUSR.frame_b.t.1.|jointUSR.frame_b.t.2.|jointUSR.frame_b.t.3.|jointUSR.frame_ia.r_0.1.|jointUSR.frame_ia.r_0.2.|jointUSR.frame_ia.r_0.3.|jointUSR.frame_ia.f.1.|jointUSR.frame_ia.f.2.|jointUSR.frame_ia.f.3.|jointUSR.frame_ia.t.1.|jointUSR.frame_ia.t.2.|jointUSR.frame_ia.t.3.|jointUSR.frame_im.r_0.1.|jointUSR.frame_im.r_0.1.|jointUSR.frame_im.r_0.2.|jointUSR.frame_im.r_0.2.|jointUSR.frame_im.r_0.3.|jointUSR.frame_im.r_0.3.|jointUSR.frame_im.f.1.|jointUSR.frame_im.f.1.|jointUSR.frame_im.f.2.|jointUSR.frame_im.f.2.|jointUSR.frame_im.f.3.|jointUSR.frame_im.f.3.|jointUSR.frame_im.t.1.|jointUSR.frame_im.t.1.|jointUSR.frame_im.t.2.|jointUSR.frame_im.t.2.|jointUSR.frame_im.t.3.|jointUSR.frame_im.t.3.|jointUSR.revolute.frame_b.r_0.1.|jointUSR.revolute.frame_b.r_0.2.|jointUSR.revolute.frame_b.r_0.3.|jointUSR.revolute.frame_b.f.1.|jointUSR.revolute.frame_b.f.2.|jointUSR.revolute.frame_b.f.3.|jointUSR.revolute.frame_b.t.1.|jointUSR.revolute.frame_b.t.2.|jointUSR.revolute.frame_b.t.3.|jointUSR.rod1.frame_b.r_0.1.|jointUSR.rod1.frame_b.r_0.2.|jointUSR.rod1.frame_b.r_0.3.|jointUSR.rod1.frame_b.f.1.|jointUSR.rod1.frame_b.f.2.|jointUSR.rod1.frame_b.f.3.|jointUSR.rod1.frame_b.t.1.|jointUSR.rod1.frame_b.t.2.|jointUSR.rod1.frame_b.t.3.|jointUSR.rod1.frame_ia.r_0.1.|jointUSR.rod1.frame_ia.r_0.2.|jointUSR.rod1.frame_ia.r_0.3.|jointUSR.rod1.frame_ia.f.1.|jointUSR.rod1.frame_ia.f.2.|jointUSR.rod1.frame_ia.f.3.|jointUSR.rod1.frame_ia.t.1.|jointUSR.rod1.frame_ia.t.2.|jointUSR.rod1.frame_ia.t.3.|jointUSR.rod2.frame_b.r_0.1.|jointUSR.rod2.frame_b.r_0.2.|jointUSR.rod2.frame_b.r_0.3.|jointUSR.rod2.frame_b.f.1.|jointUSR.rod2.frame_b.f.2.|jointUSR.rod2.frame_b.f.3.|jointUSR.rod2.frame_b.t.1.|jointUSR.rod2.frame_b.t.2.|jointUSR.rod2.frame_b.t.3.|jointUSR.relativePosition.frame_b.r_0.1.|jointUSR.relativePosition.frame_b.r_0.2.|jointUSR.relativePosition.frame_b.r_0.3.|jointUSR.relativePosition.frame_b.f.1.|jointUSR.relativePosition.frame_b.f.2.|jointUSR.relativePosition.frame_b.f.3.|jointUSR.relativePosition.frame_b.t.1.|jointUSR.relativePosition.frame_b.t.2.|jointUSR.relativePosition.frame_b.t.3.|jointUSR.relativePosition.relativePosition.frame_b.r_0.1.|jointUSR.relativePosition.relativePosition.frame_b.r_0.2.|jointUSR.relativePosition.relativePosition.frame_b.r_0.3.|jointUSR.relativePosition.relativePosition.frame_b.f.1.|jointUSR.relativePosition.relativePosition.frame_b.f.2.|jointUSR.relativePosition.relativePosition.frame_b.f.3.|jointUSR.relativePosition.relativePosition.frame_b.t.1.|jointUSR.relativePosition.relativePosition.frame_b.t.2.|jointUSR.relativePosition.relativePosition.frame_b.t.3.|jointUSR.position_b.1..y|jointUSR.position_b.2..y|jointUSR.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.3 MB / 216.3 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.181e-05/1.198e-05, allocations: 4 kB / 267.3 MB, free: 5.176 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08841/0.08844, allocations: 48.69 MB / 316 MB, free: 4.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2832/0.3717, allocations: 93.87 MB / 409.8 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.372, allocations: 84.3 kB / 409.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2872/0.6592, allocations: 72.95 MB / 482.9 MB, free: 9.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001837/0.6595, allocations: 72 kB / 482.9 MB, free: 8.957 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01347/0.673, allocations: 3.773 MB / 486.7 MB, free: 5.125 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.673, allocations: 12.03 kB / 486.7 MB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005614/0.6787, allocations: 0.6426 MB / 487.4 MB, free: 4.465 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007606/0.6863, allocations: 2.208 MB / 489.6 MB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.6866, allocations: 124 kB / 489.7 MB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001755/0.6884, allocations: 220 kB / 489.9 MB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1728/0.8612, allocations: 5.558 MB / 495.5 MB, free: 79.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.8781, allocations: 7.217 MB / 0.4909 GB, free: 78.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.8783, allocations: 15.12 kB / 0.4909 GB, free: 78.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009136/0.8792, allocations: 12.55 kB / 0.4909 GB, free: 78.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00188/0.8811, allocations: 0.8546 MB / 0.4918 GB, free: 78.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04701/0.9281, allocations: 27.73 MB / 0.5189 GB, free: 67.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.9308, allocations: 1.365 MB / 0.5202 GB, free: 67.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.9325, allocations: 1.023 MB / 0.5212 GB, free: 67.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01238/0.9449, allocations: 7.395 MB / 0.5284 GB, free: 63.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.945, allocations: 45.25 kB / 0.5285 GB, free: 63.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 4.344e-06/0.945, allocations: 0 / 0.5285 GB, free: 63.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.0184/0.9634, allocations: 5.882 MB / 0.5342 GB, free: 61.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.9635, allocations: 140.9 kB / 0.5343 GB, free: 60.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/0.9676, allocations: 1.994 MB / 0.5363 GB, free: 60.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.9678, allocations: 25.7 kB / 0.5363 GB, free: 60.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.9693, allocations: 2.373 MB / 0.5386 GB, free: 58.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/0.9697, allocations: 352.2 kB / 0.539 GB, free: 58.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.9699, allocations: 0 / 0.539 GB, free: 58.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.9702, allocations: 482 kB / 0.5394 GB, free: 57.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/0.9726, allocations: 1 MB / 0.5404 GB, free: 57.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003531/0.9762, allocations: 3.47 MB / 0.5438 GB, free: 53.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/0.9803, allocations: 1.872 MB / 0.5456 GB, free: 53.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.914e-05/0.9805, allocations: 27.62 kB / 0.5456 GB, free: 53.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.01064/0.9911, allocations: 3.934 MB / 0.5495 GB, free: 51.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.9912, allocations: 8.781 kB / 0.5495 GB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001696/0.9914, allocations: 89.06 kB / 0.5496 GB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.9916, allocations: 134.9 kB / 0.5497 GB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004318/0.9959, allocations: 0.9585 MB / 0.5506 GB, free: 51.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000184/0.9961, allocations: 172.3 kB / 0.5508 GB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00403/1, allocations: 105 kB / 0.5509 GB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008442/1.001, allocations: 242.1 kB / 0.5511 GB, free: 51.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 406 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[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 (513): * Single equations (assignments): 513 * 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.0007917/1.002, allocations: 344.6 kB / 0.5515 GB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/1.002, allocations: 201.3 kB / 0.5517 GB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/1.005, allocations: 1.144 MB / 0.5528 GB, free: 50.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/1.005, allocations: 9.25 kB / 0.5528 GB, free: 50.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.866e-06/1.005, allocations: 1.094 kB / 0.5528 GB, free: 50.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/1.005, allocations: 8.734 kB / 0.5528 GB, free: 50.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/1.016, allocations: 4.706 MB / 0.5574 GB, free: 48.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.003e-05/1.016, allocations: 16.88 kB / 0.5574 GB, free: 48.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.017, allocations: 221.4 kB / 0.5576 GB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.909e-05/1.017, allocations: 22.97 kB / 0.5576 GB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.05e-05/1.017, allocations: 29.34 kB / 0.5577 GB, free: 48.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-05/1.017, allocations: 38.56 kB / 0.5577 GB, free: 48.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.471e-05/1.017, allocations: 26 kB / 0.5577 GB, free: 48.08 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002867/1.02, allocations: 2.962 MB / 0.5606 GB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008099/1.021, allocations: 289.2 kB / 0.5609 GB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003881/1.021, allocations: 25.05 kB / 0.5609 GB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.022, allocations: 26.72 kB / 0.5609 GB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/1.023, allocations: 112 kB / 0.561 GB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/1.023, allocations: 50.09 kB / 0.5611 GB, free: 44.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.002881/1.026, allocations: 1.311 MB / 0.5624 GB, free: 44.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005121/1.031, allocations: 0.5826 MB / 0.5629 GB, free: 44.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.0005102/1.031, allocations: 178.8 kB / 0.5631 GB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004429/1.036, allocations: 2.308 MB / 0.5654 GB, free: 42.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/1.036, allocations: 2.5 kB / 0.5654 GB, free: 42.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008997/1.037, allocations: 0.5266 MB / 0.5659 GB, free: 41.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.038, allocations: 209.4 kB / 0.5661 GB, free: 41.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/1.051, allocations: 5.427 MB / 0.5714 GB, free: 36.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005117/1.057, allocations: 2.99 MB / 0.5743 GB, free: 33.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.756e-06/1.057, allocations: 0 / 0.5743 GB, free: 33.93 MB / 410.7 MB Notification: Performance of Templates: time 0.06522/1.122, allocations: 18.6 MB / 0.5925 GB, free: 21.12 MB / 410.7 MB