Running command: translateModel(ModelicaTest.MultiBody.Joints.JointSSP,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.|jointSSP.frame_b.r_0.1.|jointSSP.frame_b.r_0.2.|jointSSP.frame_b.r_0.3.|jointSSP.frame_b.f.1.|jointSSP.frame_b.f.2.|jointSSP.frame_b.f.3.|jointSSP.frame_b.t.1.|jointSSP.frame_b.t.2.|jointSSP.frame_b.t.3.|jointSSP.frame_im.r_0.1.|jointSSP.frame_im.r_0.1.|jointSSP.frame_im.r_0.2.|jointSSP.frame_im.r_0.2.|jointSSP.frame_im.r_0.3.|jointSSP.frame_im.r_0.3.|jointSSP.frame_im.f.1.|jointSSP.frame_im.f.1.|jointSSP.frame_im.f.2.|jointSSP.frame_im.f.2.|jointSSP.frame_im.f.3.|jointSSP.frame_im.f.3.|jointSSP.frame_im.t.1.|jointSSP.frame_im.t.1.|jointSSP.frame_im.t.2.|jointSSP.frame_im.t.2.|jointSSP.frame_im.t.3.|jointSSP.frame_im.t.3.|jointSSP.prismatic.frame_b.r_0.1.|jointSSP.prismatic.frame_b.r_0.2.|jointSSP.prismatic.frame_b.r_0.3.|jointSSP.prismatic.frame_b.f.1.|jointSSP.prismatic.frame_b.f.2.|jointSSP.prismatic.frame_b.f.3.|jointSSP.prismatic.frame_b.t.1.|jointSSP.prismatic.frame_b.t.2.|jointSSP.prismatic.frame_b.t.3.|jointSSP.rod1.frame_b.r_0.1.|jointSSP.rod1.frame_b.r_0.2.|jointSSP.rod1.frame_b.r_0.3.|jointSSP.rod1.frame_b.f.1.|jointSSP.rod1.frame_b.f.2.|jointSSP.rod1.frame_b.f.3.|jointSSP.rod1.frame_b.t.1.|jointSSP.rod1.frame_b.t.2.|jointSSP.rod1.frame_b.t.3.|jointSSP.rod2.frame_b.r_0.1.|jointSSP.rod2.frame_b.r_0.2.|jointSSP.rod2.frame_b.r_0.3.|jointSSP.rod2.frame_b.f.1.|jointSSP.rod2.frame_b.f.2.|jointSSP.rod2.frame_b.f.3.|jointSSP.rod2.frame_b.t.1.|jointSSP.rod2.frame_b.t.2.|jointSSP.rod2.frame_b.t.3.|jointSSP.relativePosition.frame_b.r_0.1.|jointSSP.relativePosition.frame_b.r_0.2.|jointSSP.relativePosition.frame_b.r_0.3.|jointSSP.relativePosition.frame_b.f.1.|jointSSP.relativePosition.frame_b.f.2.|jointSSP.relativePosition.frame_b.f.3.|jointSSP.relativePosition.frame_b.t.1.|jointSSP.relativePosition.frame_b.t.2.|jointSSP.relativePosition.frame_b.t.3.|jointSSP.relativePosition.relativePosition.frame_b.r_0.1.|jointSSP.relativePosition.relativePosition.frame_b.r_0.2.|jointSSP.relativePosition.relativePosition.frame_b.r_0.3.|jointSSP.relativePosition.relativePosition.frame_b.f.1.|jointSSP.relativePosition.relativePosition.frame_b.f.2.|jointSSP.relativePosition.relativePosition.frame_b.f.3.|jointSSP.relativePosition.relativePosition.frame_b.t.1.|jointSSP.relativePosition.relativePosition.frame_b.t.2.|jointSSP.relativePosition.relativePosition.frame_b.t.3.|jointSSP.position_b.1..y|jointSSP.position_b.2..y|jointSSP.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadModel(ModelicaTest): time 2.577/2.577, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.423e-05, allocations: 4 kB / 308 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3859, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.04471/0.4306, allocations: 27.45 MB / 390.3 MB, free: 2.312 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0192/0.4499, allocations: 6.124 MB / 396.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00641/0.4564, allocations: 139.7 kB / 396.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005228/0.4616, allocations: 1.396 MB / 398 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01442/0.4761, allocations: 3.553 MB / 401.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003104/0.4793, allocations: 375.3 kB / 401.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003076/0.4824, allocations: 0.6716 MB / 402.6 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01117/0.4936, allocations: 3.71 MB / 406.3 MB, free: 2.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.4948, allocations: 426.7 kB / 406.7 MB, free: 1.852 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.4962, allocations: 0.6115 MB / 407.3 MB, free: 1.238 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.4979, allocations: 483.4 kB / 407.8 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005139/0.4985, allocations: 64 kB / 407.8 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.4998, allocations: 0.8532 MB / 408.7 MB, free: 15.85 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006333/0.5005, allocations: 160 kB / 408.8 MB, free: 15.69 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005992/0.5065, allocations: 3.686 MB / 412.5 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.5065, allocations: 0 / 412.5 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.5066, allocations: 0 / 412.5 MB, free: 12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001494/0.5067, allocations: 0 / 412.5 MB, free: 12 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.00689/0.5136, allocations: 2.323 MB / 414.9 MB, free: 9.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/0.5137, allocations: 8.031 kB / 414.9 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/0.5161, allocations: 367.9 kB / 415.2 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003742/0.5199, allocations: 1.227 MB / 416.4 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.5202, allocations: 172.5 kB / 416.6 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009764/0.5212, allocations: 235.9 kB / 416.8 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02034/0.5416, allocations: 6.094 MB / 422.9 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.5417, allocations: 11.88 kB / 423 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005268/0.5423, allocations: 107.9 kB / 423.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002713/0.545, allocations: 0.9536 MB / 424 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01853/0.5636, allocations: 4.566 MB / 428.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03835/0.602, allocations: 18.48 MB / 447.1 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007549/0.6096, allocations: 1.262 MB / 448.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002851/0.6125, allocations: 2.066 MB / 450.4 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.775e-05/0.6126, allocations: 43.12 kB / 450.4 MB, free: 4.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.657e-06/0.6127, allocations: 0 / 450.4 MB, free: 4.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=110): time 0.04282/0.6555, allocations: 5.982 MB / 456.4 MB, free: 14.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/0.6556, allocations: 94.05 kB / 456.5 MB, free: 14.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/0.6597, allocations: 1.607 MB / 458.1 MB, free: 13.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.6599, allocations: 41.7 kB / 458.1 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.6618, allocations: 1.647 MB / 459.8 MB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006538/0.6625, allocations: 406.6 kB / 460.2 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.6628, allocations: 56 kB / 460.2 MB, free: 10.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000336/0.6632, allocations: 436.5 kB / 460.7 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/0.6658, allocations: 0.7863 MB / 461.5 MB, free: 9.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004057/0.6699, allocations: 2.32 MB / 463.8 MB, free: 6.629 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003703/0.6737, allocations: 1.322 MB / 465.1 MB, free: 5.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-05/0.6738, allocations: 15.94 kB / 465.1 MB, free: 5.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.009222/0.683, allocations: 3.048 MB / 468.2 MB, free: 2.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/0.6832, allocations: 29.41 kB / 468.2 MB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.902e-05/0.6833, allocations: 52.84 kB / 468.2 MB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001243/0.6834, allocations: 84 kB / 468.3 MB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004332/0.6877, allocations: 0.6395 MB / 469 MB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001504/0.688, allocations: 107.6 kB / 469.1 MB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/0.6907, allocations: 127.8 kB / 469.2 MB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005162/0.6912, allocations: 152 kB / 469.3 MB, free: 1.055 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 246 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (358): * Single equations (assignments): 358 * 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.003333/0.6946, allocations: 1.188 MB / 470.5 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005207/0.6951, allocations: 165.8 kB / 470.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/0.6991, allocations: 1.258 MB / 471.9 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.6991, allocations: 8 kB / 472 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.6992, allocations: 8.031 kB / 472 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.6992, allocations: 3.984 kB / 472 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/0.7156, allocations: 6.456 MB / 478.4 MB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/0.7157, allocations: 20 kB / 478.4 MB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.7171, allocations: 207.6 kB / 478.6 MB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.557e-05/0.7171, allocations: 32 kB / 478.7 MB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.7173, allocations: 40 kB / 478.7 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.787e-05/0.7173, allocations: 35.86 kB / 478.8 MB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.339e-05/0.7174, allocations: 31.88 kB / 478.8 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004403/0.7218, allocations: 3.189 MB / 482 MB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006956/0.7225, allocations: 270.8 kB / 482.2 MB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004193/0.723, allocations: 55.94 kB / 482.3 MB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.7242, allocations: 36 kB / 482.3 MB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.7244, allocations: 139.5 kB / 482.5 MB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.7245, allocations: 48 kB / 482.5 MB, free: 2.383 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002839/0.7274, allocations: 1.2 MB / 483.7 MB, free: 1.191 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7274, allocations: 0 / 483.7 MB, free: 1.191 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003531/0.731, allocations: 500 kB / 484.2 MB, free: 0.7031 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * 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.0005947/0.7316, allocations: 185.6 kB / 484.4 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005022/0.7367, allocations: 1.817 MB / 486.2 MB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.206e-05/0.7368, allocations: 0 / 486.2 MB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.7382, allocations: 494.3 kB / 486.7 MB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.7401, allocations: 250.1 kB / 486.9 MB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.7557, allocations: 6.528 MB / 493.5 MB, free: 7.145 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004231/0.76, allocations: 2.24 MB / 495.7 MB, free: 4.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007512/0.7608, allocations: 143.4 kB / 495.8 MB, free: 4.727 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/0.7608, allocations: 4 kB / 495.8 MB, free: 4.723 MB / 426.7 MB Notification: Performance of Templates: time 0.3763/1.137, allocations: 28.55 MB / 0.5121 GB, free: 105.4 MB / 426.7 MB