Running command: translateModel(ModelicaTest.MultiBody.Joints.JointSSR,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.|jointSSR.frame_b.r_0.1.|jointSSR.frame_b.r_0.2.|jointSSR.frame_b.r_0.3.|jointSSR.frame_b.f.1.|jointSSR.frame_b.f.2.|jointSSR.frame_b.f.3.|jointSSR.frame_b.t.1.|jointSSR.frame_b.t.2.|jointSSR.frame_b.t.3.|jointSSR.frame_im.r_0.1.|jointSSR.frame_im.r_0.1.|jointSSR.frame_im.r_0.2.|jointSSR.frame_im.r_0.2.|jointSSR.frame_im.r_0.3.|jointSSR.frame_im.r_0.3.|jointSSR.frame_im.f.1.|jointSSR.frame_im.f.1.|jointSSR.frame_im.f.2.|jointSSR.frame_im.f.2.|jointSSR.frame_im.f.3.|jointSSR.frame_im.f.3.|jointSSR.frame_im.t.1.|jointSSR.frame_im.t.1.|jointSSR.frame_im.t.2.|jointSSR.frame_im.t.2.|jointSSR.frame_im.t.3.|jointSSR.frame_im.t.3.|jointSSR.revolute.frame_b.r_0.1.|jointSSR.revolute.frame_b.r_0.2.|jointSSR.revolute.frame_b.r_0.3.|jointSSR.revolute.frame_b.f.1.|jointSSR.revolute.frame_b.f.2.|jointSSR.revolute.frame_b.f.3.|jointSSR.revolute.frame_b.t.1.|jointSSR.revolute.frame_b.t.2.|jointSSR.revolute.frame_b.t.3.|jointSSR.rod1.frame_b.r_0.1.|jointSSR.rod1.frame_b.r_0.2.|jointSSR.rod1.frame_b.r_0.3.|jointSSR.rod1.frame_b.f.1.|jointSSR.rod1.frame_b.f.2.|jointSSR.rod1.frame_b.f.3.|jointSSR.rod1.frame_b.t.1.|jointSSR.rod1.frame_b.t.2.|jointSSR.rod1.frame_b.t.3.|jointSSR.rod2.frame_b.r_0.1.|jointSSR.rod2.frame_b.r_0.2.|jointSSR.rod2.frame_b.r_0.3.|jointSSR.rod2.frame_b.f.1.|jointSSR.rod2.frame_b.f.2.|jointSSR.rod2.frame_b.f.3.|jointSSR.rod2.frame_b.t.1.|jointSSR.rod2.frame_b.t.2.|jointSSR.rod2.frame_b.t.3.|jointSSR.relativePosition.frame_b.r_0.1.|jointSSR.relativePosition.frame_b.r_0.2.|jointSSR.relativePosition.frame_b.r_0.3.|jointSSR.relativePosition.frame_b.f.1.|jointSSR.relativePosition.frame_b.f.2.|jointSSR.relativePosition.frame_b.f.3.|jointSSR.relativePosition.frame_b.t.1.|jointSSR.relativePosition.frame_b.t.2.|jointSSR.relativePosition.frame_b.t.3.|jointSSR.relativePosition.relativePosition.frame_b.r_0.1.|jointSSR.relativePosition.relativePosition.frame_b.r_0.2.|jointSSR.relativePosition.relativePosition.frame_b.r_0.3.|jointSSR.relativePosition.relativePosition.frame_b.f.1.|jointSSR.relativePosition.relativePosition.frame_b.f.2.|jointSSR.relativePosition.relativePosition.frame_b.f.3.|jointSSR.relativePosition.relativePosition.frame_b.t.1.|jointSSR.relativePosition.relativePosition.frame_b.t.2.|jointSSR.relativePosition.relativePosition.frame_b.t.3.|jointSSR.position_b.1..y|jointSSR.position_b.2..y|jointSSR.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 1.812/1.812, allocations: 209.3 MB / 221.9 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.3e-05, allocations: 4 kB / 273.1 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08397/0.08402, allocations: 48.69 MB / 321.8 MB, free: 2.844 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4365, allocations: 93.45 MB / 415.2 MB, free: 2.203 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4367, allocations: 79.28 kB / 415.3 MB, free: 2.195 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2048/0.6415, allocations: 56.27 MB / 471.6 MB, free: 1.133 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6415, allocations: 0 / 471.6 MB, free: 1.133 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001146/0.6417, allocations: 52 kB / 471.6 MB, free: 1.082 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.006886/0.6486, allocations: 2.572 MB / 474.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6486, allocations: 8.031 kB / 474.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/0.6517, allocations: 483.8 kB / 474.7 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/0.6559, allocations: 1.536 MB / 476.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.6561, allocations: 221.6 kB / 476.4 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007218/0.6569, allocations: 272 kB / 476.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/0.6761, allocations: 6.6 MB / 483.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-05/0.6763, allocations: 15.88 kB / 483.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004714/0.6768, allocations: 120 kB / 483.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001221/0.678, allocations: 0.5279 MB / 483.9 MB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/0.6949, allocations: 5.376 MB / 489.3 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03804/0.733, allocations: 21.3 MB / 0.4987 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009659/0.7427, allocations: 1.778 MB / 0.5004 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.7441, allocations: 0.6516 MB / 0.501 GB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008784/0.7529, allocations: 4.892 MB / 0.5058 GB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.753, allocations: 39.12 kB / 0.5058 GB, free: 1.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 4.156e-06/0.753, allocations: 0 / 0.5058 GB, free: 1.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=110): time 0.03981/0.7928, allocations: 7.49 MB / 0.5132 GB, free: 9.719 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.793, allocations: 94.09 kB / 0.5132 GB, free: 9.609 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/0.7962, allocations: 1.698 MB / 0.5149 GB, free: 7.914 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.7964, allocations: 49.64 kB / 0.5149 GB, free: 7.859 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.7979, allocations: 1.654 MB / 0.5166 GB, free: 6.184 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005317/0.7985, allocations: 410.5 kB / 0.517 GB, free: 5.777 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.7987, allocations: 56 kB / 0.517 GB, free: 5.723 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003276/0.799, allocations: 432.8 kB / 0.5174 GB, free: 5.289 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.8012, allocations: 0.9976 MB / 0.5184 GB, free: 4.289 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003842/0.8051, allocations: 2.586 MB / 0.5209 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2337/1.039, allocations: 1.559 MB / 0.5224 GB, free: 112.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.079e-05/1.039, allocations: 16.47 kB / 0.5225 GB, free: 112.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.00754/1.046, allocations: 3.368 MB / 0.5257 GB, free: 112.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/1.047, allocations: 28.22 kB / 0.5258 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.737e-05/1.047, allocations: 56.91 kB / 0.5258 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/1.047, allocations: 84.5 kB / 0.5259 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003207/1.05, allocations: 0.7248 MB / 0.5266 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001161/1.05, allocations: 110.8 kB / 0.5267 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/1.053, allocations: 163.5 kB / 0.5269 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003551/1.053, allocations: 164.4 kB / 0.527 GB, free: 112.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (371): * Single equations (assignments): 371 * 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.000507/1.054, allocations: 344.2 kB / 0.5274 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/1.054, allocations: 175 kB / 0.5275 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/1.057, allocations: 1.694 MB / 0.5292 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/1.057, allocations: 15.83 kB / 0.5292 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.691e-06/1.057, allocations: 0 / 0.5292 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/1.057, allocations: 6.609 kB / 0.5292 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/1.069, allocations: 5.848 MB / 0.5349 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/1.069, allocations: 11.84 kB / 0.5349 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/1.07, allocations: 250.6 kB / 0.5352 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.298e-05/1.071, allocations: 18.62 kB / 0.5352 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-05/1.071, allocations: 33.78 kB / 0.5352 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-05/1.071, allocations: 28.61 kB / 0.5352 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-05/1.071, allocations: 20.67 kB / 0.5353 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/1.073, allocations: 2.611 MB / 0.5378 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/1.074, allocations: 269.4 kB / 0.5381 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/1.074, allocations: 35.41 kB / 0.5381 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.075, allocations: 63.25 kB / 0.5382 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/1.075, allocations: 109.1 kB / 0.5383 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/1.076, allocations: 45.72 kB / 0.5383 GB, free: 108.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002282/1.078, allocations: 1.238 MB / 0.5395 GB, free: 108.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.49e-07/1.078, allocations: 0 / 0.5395 GB, free: 108.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003106/1.081, allocations: 0.5397 MB / 0.54 GB, free: 108.8 MB / 426.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 (110): * Single equations (assignments): 110 * 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.0004163/1.082, allocations: 192.5 kB / 0.5402 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004131/1.086, allocations: 2.121 MB / 0.5423 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/1.086, allocations: 3.875 kB / 0.5423 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/1.087, allocations: 0.5833 MB / 0.5429 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/1.088, allocations: 232 kB / 0.5431 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008883/1.097, allocations: 4.457 MB / 0.5475 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002712/1.1, allocations: 2.224 MB / 0.5496 GB, free: 106.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008004/1.101, allocations: 153.2 kB / 0.5498 GB, free: 106.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.838e-06/1.101, allocations: 0.5469 kB / 0.5498 GB, free: 106.3 MB / 426.7 MB Notification: Performance of Templates: time 0.04663/1.147, allocations: 30.4 MB / 0.5795 GB, free: 100.4 MB / 426.7 MB