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.992/1.992, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.448e-05, allocations: 4 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3977, allocations: 48.69 MB / 324.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.05816/0.4559, allocations: 27.5 MB / 352.3 MB, free: 152 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02603/0.482, allocations: 6.292 MB / 358.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00947/0.4915, allocations: 139.1 kB / 358.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007441/0.499, allocations: 1.405 MB / 360.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01978/0.5189, allocations: 3.55 MB / 363.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004307/0.5232, allocations: 0.4991 MB / 364.2 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003308/0.5266, allocations: 0.705 MB / 364.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/0.5375, allocations: 3.73 MB / 368.7 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.5392, allocations: 454.7 kB / 369.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.542, allocations: 0.6583 MB / 369.8 MB, free: 2.539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/0.5455, allocations: 0.671 MB / 370.4 MB, free: 1.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.5467, allocations: 92 kB / 370.5 MB, free: 1.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002254/0.549, allocations: 0.8571 MB / 371.4 MB, free: 0.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.5504, allocations: 156 kB / 371.5 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008813/0.5593, allocations: 3.858 MB / 375.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.5593, allocations: 4 kB / 375.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.5593, allocations: 0 / 375.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001784/0.5595, allocations: 0 / 375.4 MB, free: 12.89 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01305/0.5726, allocations: 2.565 MB / 378 MB, free: 10.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.628e-05/0.5727, allocations: 12.03 kB / 378 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003829/0.5766, allocations: 359.9 kB / 378.3 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00594/0.5826, allocations: 1.266 MB / 379.6 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.583, allocations: 172.5 kB / 379.8 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001371/0.5844, allocations: 243.7 kB / 380 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03391/0.6183, allocations: 7.024 MB / 387 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.6185, allocations: 19.83 kB / 387 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005686/0.6191, allocations: 99.92 kB / 387.1 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002737/0.6218, allocations: 0.9886 MB / 388.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0237/0.6456, allocations: 5.834 MB / 394 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04205/0.6877, allocations: 20.23 MB / 414.2 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.7006, allocations: 1.83 MB / 416 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/0.7109, allocations: 4.926 MB / 420.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.711, allocations: 43.06 kB / 421 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=70): time 4.379e-06/0.711, allocations: 0 / 421 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=110): time 0.07942/0.7905, allocations: 9.352 MB / 430.3 MB, free: 4.535 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/0.7906, allocations: 94.09 kB / 430.4 MB, free: 4.426 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/0.7948, allocations: 1.725 MB / 432.2 MB, free: 2.703 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002783/0.7951, allocations: 45.7 kB / 432.2 MB, free: 2.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00176/0.7969, allocations: 1.662 MB / 433.9 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006964/0.7977, allocations: 410.5 kB / 434.3 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.798, allocations: 64.03 kB / 434.3 MB, free: 0.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002906/0.7983, allocations: 428.8 kB / 434.7 MB, free: 72 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/0.8014, allocations: 1.021 MB / 435.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004599/0.806, allocations: 2.618 MB / 438.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004296/0.8104, allocations: 1.576 MB / 440 MB, free: 10.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.673e-05/0.8105, allocations: 16 kB / 440 MB, free: 10.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=370) (initialization): time 0.01053/0.821, allocations: 3.563 MB / 443.5 MB, free: 6.469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.26e-05/0.8211, allocations: 28 kB / 443.6 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-05/0.8212, allocations: 56.91 kB / 443.6 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.8214, allocations: 84 kB / 443.7 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004961/0.8264, allocations: 0.7096 MB / 444.4 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001468/0.8265, allocations: 111.6 kB / 444.5 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/0.8296, allocations: 163.7 kB / 444.7 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004698/0.8301, allocations: 164 kB / 444.8 MB, free: 5.164 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * 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 (370): * Single equations (assignments): 370 * 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.003044/0.8332, allocations: 1.183 MB / 446 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004902/0.8337, allocations: 185.7 kB / 446.2 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004832/0.8385, allocations: 1.723 MB / 447.9 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/0.8386, allocations: 12 kB / 447.9 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.8386, allocations: 11.94 kB / 448 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.8387, allocations: 3.984 kB / 448 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.8548, allocations: 5.865 MB / 453.8 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/0.8549, allocations: 12.03 kB / 453.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.8566, allocations: 207.6 kB / 454 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.234e-05/0.8566, allocations: 20 kB / 454.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.8567, allocations: 32 kB / 454.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.525e-05/0.8568, allocations: 31.86 kB / 454.1 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-05/0.8568, allocations: 15.94 kB / 454.1 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004306/0.8611, allocations: 2.598 MB / 456.7 MB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006734/0.8618, allocations: 266.7 kB / 457 MB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005368/0.8624, allocations: 35.98 kB / 457 MB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.8638, allocations: 39.97 kB / 457.1 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/0.8642, allocations: 108.2 kB / 457.2 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.8643, allocations: 36 kB / 457.2 MB, free: 7.895 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002993/0.8673, allocations: 1.268 MB / 458.5 MB, free: 6.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.8673, allocations: 3.938 kB / 458.5 MB, free: 6.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003477/0.8708, allocations: 0.5195 MB / 459 MB, free: 6.113 MB / 394.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 (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.0006185/0.8715, allocations: 190.6 kB / 459.2 MB, free: 5.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006112/0.8776, allocations: 2.232 MB / 461.4 MB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/0.8777, allocations: 0 / 461.4 MB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.8794, allocations: 0.5914 MB / 462 MB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.8812, allocations: 234.8 kB / 462.2 MB, free: 2.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.8966, allocations: 6.444 MB / 468.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003745/0.9004, allocations: 2.219 MB / 470.9 MB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.9015, allocations: 159.4 kB / 471.1 MB, free: 9.816 MB / 410.7 MB Notification: Performance of SimCode: time 1.532e-06/0.9015, allocations: 0 / 471.1 MB, free: 9.816 MB / 410.7 MB Notification: Performance of Templates: time 0.3927/1.294, allocations: 30.84 MB / 0.4901 GB, free: 118 MB / 410.7 MB