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_trunk_cpp_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.502e-05, allocations: 0 / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1312, allocations: 61.9 MB / 410.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.3683/0.4996, allocations: 28.11 MB / 439 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02059/0.5202, allocations: 6.685 MB / 445.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007581/0.5279, allocations: 138.8 kB / 445.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005897/0.5338, allocations: 1.421 MB / 447.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01713/0.551, allocations: 3.833 MB / 451.1 MB, free: 8.176 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.5542, allocations: 492.3 kB / 451.6 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002335/0.5565, allocations: 0.6529 MB / 452.3 MB, free: 7.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007889/0.5645, allocations: 3.701 MB / 456 MB, free: 5.586 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.5656, allocations: 427.4 kB / 456.4 MB, free: 5.379 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.5669, allocations: 0.6276 MB / 457 MB, free: 5.031 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.5688, allocations: 0.6462 MB / 457.6 MB, free: 4.742 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005144/0.5694, allocations: 80.75 kB / 457.7 MB, free: 4.742 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.5706, allocations: 0.8129 MB / 458.5 MB, free: 4.336 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006179/0.5713, allocations: 149.9 kB / 458.7 MB, free: 4.336 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006025/0.5773, allocations: 3.68 MB / 462.4 MB, free: 1.734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5774, allocations: 1.375 kB / 462.4 MB, free: 1.734 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.5774, allocations: 0 / 462.4 MB, free: 1.734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001388/0.5775, allocations: 0 / 462.4 MB, free: 1.734 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.009063/0.5866, allocations: 2.388 MB / 464.8 MB, free: 36 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5867, allocations: 14.34 kB / 464.8 MB, free: 32 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/0.5895, allocations: 388.9 kB / 465.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/0.594, allocations: 1.267 MB / 466.4 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.5943, allocations: 161.7 kB / 466.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/0.5954, allocations: 221 kB / 466.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0253/0.6207, allocations: 6.626 MB / 473.4 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.732e-05/0.6209, allocations: 11.88 kB / 473.4 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004259/0.6213, allocations: 99.94 kB / 473.5 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002069/0.6234, allocations: 0.8007 MB / 474.3 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02395/0.6474, allocations: 5.641 MB / 480 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0407/0.6881, allocations: 19.14 MB / 499.1 MB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.7013, allocations: 1.836 MB / 0.4892 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/0.7122, allocations: 4.757 MB / 0.4938 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.7123, allocations: 39.12 kB / 0.4939 GB, free: 7.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.817e-06/0.7123, allocations: 4 kB / 0.4939 GB, free: 7.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=110): time 0.08059/0.7929, allocations: 8.942 MB / 0.5026 GB, free: 14.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.793, allocations: 60.41 kB / 0.5027 GB, free: 14.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004375/0.7974, allocations: 1.646 MB / 0.5043 GB, free: 12.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002926/0.7978, allocations: 41.7 kB / 0.5043 GB, free: 12.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.7996, allocations: 1.527 MB / 0.5058 GB, free: 11.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000744/0.8004, allocations: 410.5 kB / 0.5062 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.8007, allocations: 56 kB / 0.5063 GB, free: 10.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003579/0.8011, allocations: 428.4 kB / 0.5067 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003285/0.8044, allocations: 1.005 MB / 0.5077 GB, free: 9.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004959/0.8094, allocations: 2.506 MB / 0.5101 GB, free: 5.914 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00447/0.814, allocations: 1.529 MB / 0.5116 GB, free: 4.387 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.062e-05/0.8141, allocations: 15.94 kB / 0.5116 GB, free: 4.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01089/0.825, allocations: 3.447 MB / 0.515 GB, free: 0.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.8251, allocations: 30.5 kB / 0.515 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-05/0.8252, allocations: 52 kB / 0.5151 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.8253, allocations: 80.03 kB / 0.5151 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004773/0.8301, allocations: 0.6668 MB / 0.5158 GB, free: 96 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001864/0.8304, allocations: 103.6 kB / 0.5159 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/0.8336, allocations: 155.7 kB / 0.516 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006152/0.8342, allocations: 156 kB / 0.5162 GB, free: 15.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,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.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 (352): * Single equations (assignments): 352 * 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.003338/0.8376, allocations: 1.117 MB / 0.5173 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/0.8381, allocations: 165.8 kB / 0.5174 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005478/0.8436, allocations: 1.753 MB / 0.5191 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/0.8436, allocations: 8 kB / 0.5191 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.8437, allocations: 8 kB / 0.5192 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/0.8437, allocations: 7.969 kB / 0.5192 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/0.8611, allocations: 5.586 MB / 0.5246 GB, free: 6.754 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/0.8612, allocations: 12.25 kB / 0.5246 GB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/0.8631, allocations: 215.6 kB / 0.5248 GB, free: 6.531 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.275e-05/0.8632, allocations: 16 kB / 0.5248 GB, free: 6.516 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.8634, allocations: 32 kB / 0.5249 GB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.971e-05/0.8634, allocations: 19.94 kB / 0.5249 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.891e-05/0.8634, allocations: 15.94 kB / 0.5249 GB, free: 6.449 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004438/0.8679, allocations: 2.526 MB / 0.5274 GB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/0.8686, allocations: 258.8 kB / 0.5276 GB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/0.8689, allocations: 35.95 kB / 0.5277 GB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.8701, allocations: 43.97 kB / 0.5277 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.8703, allocations: 104.2 kB / 0.5278 GB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.8704, allocations: 44 kB / 0.5278 GB, free: 2.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002703/0.8731, allocations: 1.187 MB / 0.529 GB, free: 1.641 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.8732, allocations: 0 / 0.529 GB, free: 1.641 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003312/0.8765, allocations: 0.5039 MB / 0.5295 GB, free: 1.137 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 111 * 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.0004989/0.877, allocations: 178.8 kB / 0.5297 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005671/0.8827, allocations: 2.181 MB / 0.5318 GB, free: 14.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/0.8828, allocations: 4 kB / 0.5318 GB, free: 14.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.8844, allocations: 0.603 MB / 0.5324 GB, free: 14.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.8861, allocations: 238.8 kB / 0.5326 GB, free: 13.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.9003, allocations: 6.039 MB / 0.5385 GB, free: 7.707 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003522/0.9039, allocations: 2.122 MB / 0.5406 GB, free: 5.555 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.9049, allocations: 143.4 kB / 0.5407 GB, free: 5.414 MB / 458.7 MB Notification: Performance of SimCode: time 1.223e-06/0.9049, allocations: 0 / 0.5407 GB, free: 5.414 MB / 458.7 MB Notification: Performance of Templates: time 0.06886/0.9738, allocations: 29.31 MB / 0.5693 GB, free: 8.117 MB / 490.7 MB