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.1_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadModel(ModelicaTest): time 2.144/2.144, allocations: 209.3 MB / 223.8 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.227e-05/5.227e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3791, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.04502/0.4242, allocations: 27.44 MB / 352.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02943/0.4537, allocations: 6.115 MB / 358.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009935/0.4637, allocations: 135 kB / 358.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007594/0.4713, allocations: 1.402 MB / 360 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02128/0.4927, allocations: 3.558 MB / 363.5 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00487/0.4976, allocations: 378.2 kB / 363.9 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003662/0.5014, allocations: 0.6785 MB / 364.6 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.5115, allocations: 3.693 MB / 368.3 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.513, allocations: 422.8 kB / 368.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.5149, allocations: 0.6192 MB / 369.3 MB, free: 2.941 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.517, allocations: 483.3 kB / 369.8 MB, free: 2.469 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007717/0.5178, allocations: 68 kB / 369.8 MB, free: 2.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001963/0.5198, allocations: 0.8571 MB / 370.7 MB, free: 1.543 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.521, allocations: 160 kB / 370.9 MB, free: 1.387 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007805/0.5288, allocations: 3.678 MB / 374.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.5289, allocations: 4 kB / 374.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.312e-06/0.5289, allocations: 3.984 kB / 374.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002361/0.5292, allocations: 0 / 374.5 MB, free: 13.69 MB / 314.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.01109/0.5403, allocations: 2.319 MB / 376.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/0.5404, allocations: 8.031 kB / 376.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003289/0.5437, allocations: 375.8 kB / 377.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/0.549, allocations: 1.215 MB / 378.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003336/0.5494, allocations: 180.5 kB / 378.6 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.5507, allocations: 231.8 kB / 378.9 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02895/0.5796, allocations: 6.094 MB / 385 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002223/0.58, allocations: 11.88 kB / 385 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/0.5813, allocations: 103.9 kB / 385.1 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004141/0.5856, allocations: 0.9613 MB / 386 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/0.608, allocations: 4.566 MB / 390.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03956/0.6477, allocations: 18.48 MB / 409.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00747/0.6552, allocations: 1.281 MB / 410.4 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002651/0.6579, allocations: 2.066 MB / 412.4 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.658, allocations: 43.08 kB / 412.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 4.298e-06/0.658, allocations: 4 kB / 412.5 MB, free: 6.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=110): time 0.04263/0.7007, allocations: 5.975 MB / 418.4 MB, free: 492 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.7008, allocations: 90.11 kB / 418.5 MB, free: 380 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004126/0.705, allocations: 1.604 MB / 420.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.7052, allocations: 41.7 kB / 420.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002011/0.7073, allocations: 1.648 MB / 421.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006684/0.708, allocations: 406.6 kB / 422.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.7083, allocations: 56 kB / 422.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002947/0.7086, allocations: 419.7 kB / 422.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.7112, allocations: 0.7824 MB / 423.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004604/0.7159, allocations: 2.32 MB / 425.8 MB, free: 8.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004174/0.7201, allocations: 1.326 MB / 427.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.775e-05/0.7203, allocations: 16 kB / 427.1 MB, free: 6.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.009369/0.7297, allocations: 3.109 MB / 430.2 MB, free: 3.855 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.7298, allocations: 35.55 kB / 430.3 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.609e-05/0.7299, allocations: 52 kB / 430.3 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.73, allocations: 88.72 kB / 430.4 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004191/0.7342, allocations: 0.6433 MB / 431 MB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001424/0.7344, allocations: 103.6 kB / 431.2 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.7371, allocations: 127.8 kB / 431.3 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000489/0.7376, allocations: 159.9 kB / 431.4 MB, free: 2.66 MB / 362.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.003071/0.7407, allocations: 1.18 MB / 432.6 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004654/0.7412, allocations: 165.8 kB / 432.8 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/0.7449, allocations: 1.27 MB / 434 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.745, allocations: 8 kB / 434.1 MB, free: 16 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.745, allocations: 8.031 kB / 434.1 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.7451, allocations: 3.984 kB / 434.1 MB, free: 4 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.7615, allocations: 6.439 MB / 440.5 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.851e-05/0.7616, allocations: 24.06 kB / 440.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.7631, allocations: 207.6 kB / 440.7 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.406e-05/0.7632, allocations: 31.95 kB / 440.8 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.7633, allocations: 44 kB / 440.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.562e-05/0.7634, allocations: 35.86 kB / 440.8 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.651e-05/0.7634, allocations: 35.81 kB / 440.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/0.7681, allocations: 3.174 MB / 444 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007498/0.7689, allocations: 274.8 kB / 444.3 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/0.7693, allocations: 43.98 kB / 444.4 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.7705, allocations: 40 kB / 444.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.7707, allocations: 139.4 kB / 444.5 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.7709, allocations: 56 kB / 444.6 MB, free: 4.004 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002826/0.7737, allocations: 1.196 MB / 445.8 MB, free: 2.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.7737, allocations: 0 / 445.8 MB, free: 2.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003369/0.7771, allocations: 496 kB / 446.3 MB, free: 2.332 MB / 378.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.0004982/0.7777, allocations: 190.7 kB / 446.5 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004884/0.7826, allocations: 1.813 MB / 448.3 MB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.421e-05/0.7827, allocations: 4 kB / 448.3 MB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.7841, allocations: 488.9 kB / 448.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.7859, allocations: 255 kB / 449 MB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.8018, allocations: 6.223 MB / 455.2 MB, free: 9.074 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005249/0.8072, allocations: 2.228 MB / 457.4 MB, free: 6.816 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003583/0.8108, allocations: 0.7149 MB / 458.2 MB, free: 6.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005615/0.8114, allocations: 135.4 kB / 458.3 MB, free: 5.965 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.8114, allocations: 4 kB / 458.3 MB, free: 5.961 MB / 394.7 MB Notification: Performance of Templates: time 0.0589/0.8703, allocations: 15.33 MB / 473.6 MB, free: 6.676 MB / 410.7 MB