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_trunk_cpp_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.175e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1312, allocations: 61.88 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.357/0.4883, allocations: 28.11 MB / 439 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02027/0.5087, allocations: 6.527 MB / 445.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007673/0.5164, allocations: 143.3 kB / 445.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005742/0.5222, allocations: 1.414 MB / 447.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01681/0.539, allocations: 3.841 MB / 451 MB, free: 8.281 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.542, allocations: 351.5 kB / 451.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002393/0.5444, allocations: 0.6182 MB / 451.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008028/0.5525, allocations: 3.679 MB / 455.6 MB, free: 5.855 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.5537, allocations: 395.6 kB / 456 MB, free: 5.664 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.5553, allocations: 0.5962 MB / 456.6 MB, free: 5.336 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.557, allocations: 482.4 kB / 457.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006035/0.5577, allocations: 65.19 kB / 457.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.5591, allocations: 0.8096 MB / 457.9 MB, free: 4.727 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007517/0.5599, allocations: 153.6 kB / 458.1 MB, free: 4.723 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00597/0.5659, allocations: 3.522 MB / 461.6 MB, free: 2.211 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.566, allocations: 3.938 kB / 461.6 MB, free: 2.207 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.566, allocations: 0 / 461.6 MB, free: 2.207 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.5661, allocations: 1.781 kB / 461.6 MB, free: 2.207 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.007386/0.5735, allocations: 2.19 MB / 463.8 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.5736, allocations: 14.03 kB / 463.8 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/0.5763, allocations: 388.6 kB / 464.2 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/0.5803, allocations: 1.203 MB / 465.4 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.5805, allocations: 163.4 kB / 465.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009349/0.5815, allocations: 225.2 kB / 465.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.6012, allocations: 5.686 MB / 471.5 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-05/0.6014, allocations: 11.88 kB / 471.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005329/0.6019, allocations: 91.95 kB / 471.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001959/0.6039, allocations: 0.7773 MB / 472.3 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/0.6223, allocations: 4.384 MB / 476.7 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03373/0.6561, allocations: 17.17 MB / 493.9 MB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007344/0.6635, allocations: 1.242 MB / 495.1 MB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002592/0.6661, allocations: 2.069 MB / 497.2 MB, free: 0 / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.168e-05/0.6662, allocations: 39.06 kB / 497.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=65): time 2.295e-06/0.6662, allocations: 0 / 497.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=109): time 0.04318/0.7094, allocations: 5.557 MB / 0.491 GB, free: 10.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.7096, allocations: 64.41 kB / 0.4911 GB, free: 10.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004868/0.7144, allocations: 1.53 MB / 0.4926 GB, free: 8.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002745/0.7148, allocations: 45.7 kB / 0.4926 GB, free: 8.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002055/0.7169, allocations: 1.511 MB / 0.4941 GB, free: 7.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007786/0.7177, allocations: 402.6 kB / 0.4945 GB, free: 6.801 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.718, allocations: 52 kB / 0.4945 GB, free: 6.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003714/0.7184, allocations: 420.3 kB / 0.4949 GB, free: 6.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/0.7213, allocations: 0.7665 MB / 0.4957 GB, free: 5.562 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004583/0.726, allocations: 2.192 MB / 0.4978 GB, free: 2.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00432/0.7303, allocations: 1.271 MB / 0.4991 GB, free: 1.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.705e-05/0.7304, allocations: 16 kB / 0.4991 GB, free: 1.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.009988/0.7404, allocations: 2.908 MB / 0.5019 GB, free: 14.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.539e-05/0.7406, allocations: 32.25 kB / 0.5019 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.657e-05/0.7407, allocations: 51.95 kB / 0.502 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.7408, allocations: 76 kB / 0.5021 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004896/0.7457, allocations: 0.6005 MB / 0.5027 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001697/0.746, allocations: 99.59 kB / 0.5027 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/0.7493, allocations: 115.8 kB / 0.5029 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004604/0.7497, allocations: 160 kB / 0.503 GB, free: 13.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (340): * Single equations (assignments): 340 * 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.003715/0.7535, allocations: 1.109 MB / 0.5041 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005138/0.754, allocations: 157.9 kB / 0.5042 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004419/0.7585, allocations: 1.249 MB / 0.5055 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.7585, allocations: 11.95 kB / 0.5055 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.7585, allocations: 0 / 0.5055 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.7585, allocations: 3.984 kB / 0.5055 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/0.7778, allocations: 6.228 MB / 0.5116 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-05/0.7779, allocations: 16 kB / 0.5116 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.7795, allocations: 199.7 kB / 0.5118 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.517e-05/0.7796, allocations: 32 kB / 0.5118 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.7798, allocations: 47.95 kB / 0.5118 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.95e-05/0.7798, allocations: 51.67 kB / 0.5119 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.852e-05/0.7799, allocations: 27.88 kB / 0.5119 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005367/0.7853, allocations: 3.141 MB / 0.515 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009001/0.7862, allocations: 262.9 kB / 0.5152 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005179/0.7868, allocations: 47.98 kB / 0.5153 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.7885, allocations: 36 kB / 0.5153 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/0.7889, allocations: 139.2 kB / 0.5154 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.789, allocations: 56 kB / 0.5155 GB, free: 15.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003654/0.7927, allocations: 1.127 MB / 0.5166 GB, free: 13.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.7928, allocations: 4 kB / 0.5166 GB, free: 13.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004792/0.7976, allocations: 472 kB / 0.5171 GB, free: 13.42 MB / 442.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.0005371/0.7981, allocations: 178.7 kB / 0.5172 GB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004914/0.8031, allocations: 1.758 MB / 0.5189 GB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.162e-05/0.8032, allocations: 4 kB / 0.5189 GB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.8046, allocations: 487.9 kB / 0.5194 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.8067, allocations: 254.4 kB / 0.5197 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.8218, allocations: 6.142 MB / 0.5257 GB, free: 4.305 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004296/0.8262, allocations: 2.135 MB / 0.5277 GB, free: 2.129 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006883/0.8269, allocations: 139.4 kB / 0.5279 GB, free: 1.992 MB / 442.7 MB Notification: Performance of SimCode: time 1.512e-06/0.8269, allocations: 0 / 0.5279 GB, free: 1.992 MB / 442.7 MB Notification: Performance of Templates: time 0.06289/0.8898, allocations: 26.99 MB / 0.5542 GB, free: 7.008 MB / 474.7 MB