Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sphericalSpherical.frame_b.r_0.1.|sphericalSpherical.frame_b.r_0.2.|sphericalSpherical.frame_b.r_0.3.|sphericalSpherical.frame_b.f.1.|sphericalSpherical.frame_b.f.2.|sphericalSpherical.frame_b.f.3.|sphericalSpherical.frame_b.t.1.|sphericalSpherical.frame_b.t.2.|sphericalSpherical.frame_b.t.3.|Prismatic1.frame_b.r_0.1.|Prismatic1.frame_b.r_0.2.|Prismatic1.frame_b.r_0.3.|Prismatic1.frame_b.f.1.|Prismatic1.frame_b.f.2.|Prismatic1.frame_b.f.3.|Prismatic1.frame_b.t.1.|Prismatic1.frame_b.t.2.|Prismatic1.frame_b.t.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.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.412/2.412, allocations: 269 MB / 284.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.114e-05, allocations: 4 kB / 349 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1378, allocations: 61.9 MB / 410.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.3471/0.4849, allocations: 14.88 MB / 425.8 MB, free: 3.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.4965, allocations: 3.818 MB / 429.6 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003941/0.5005, allocations: 69.47 kB / 429.7 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.5038, allocations: 0.7122 MB / 430.4 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009525/0.5133, allocations: 2.065 MB / 432.5 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.5149, allocations: 200.6 kB / 432.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.5164, allocations: 358.9 kB / 433 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.5186, allocations: 0.9515 MB / 434 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.5192, allocations: 192.9 kB / 434.2 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009571/0.5201, allocations: 463.7 kB / 434.6 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.5214, allocations: 377.5 kB / 435 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003761/0.5218, allocations: 58.31 kB / 435 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007018/0.5225, allocations: 404.7 kB / 435.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.523, allocations: 67.72 kB / 435.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.5258, allocations: 1.339 MB / 436.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5259, allocations: 3.938 kB / 436.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5259, allocations: 0 / 436.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.459e-05/0.526, allocations: 1.188 kB / 436.8 MB, free: 2.027 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005108/0.5311, allocations: 1.376 MB / 438.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.5312, allocations: 8.844 kB / 438.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.5327, allocations: 168.9 kB / 438.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.5348, allocations: 0.6154 MB / 439 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/0.5349, allocations: 56.45 kB / 439.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004307/0.5353, allocations: 88.7 kB / 439.1 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.5457, allocations: 2.72 MB / 441.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.974e-05/0.5458, allocations: 7.469 kB / 441.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.546, allocations: 32.66 kB / 441.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009344/0.5469, allocations: 386.8 kB / 442.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.558, allocations: 2.413 MB / 444.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01659/0.5747, allocations: 8.275 MB / 453 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007173/0.5819, allocations: 0.9895 MB / 454 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002303/0.5843, allocations: 1.73 MB / 455.7 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.694e-05/0.5844, allocations: 41 kB / 455.7 MB, free: 5.918 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.727e-06/0.5844, allocations: 0 / 455.7 MB, free: 5.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.02166/0.606, allocations: 2.983 MB / 458.7 MB, free: 4.574 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.6061, allocations: 56.91 kB / 458.8 MB, free: 4.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.6078, allocations: 0.8132 MB / 459.6 MB, free: 4.051 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.608, allocations: 40.11 kB / 459.6 MB, free: 4.008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005995/0.6086, allocations: 0.6852 MB / 460.3 MB, free: 3.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.6089, allocations: 211.3 kB / 460.5 MB, free: 3.211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.609, allocations: 25.72 kB / 460.5 MB, free: 3.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.6091, allocations: 365.6 kB / 460.9 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009633/0.6101, allocations: 361.6 kB / 461.3 MB, free: 2.668 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.6116, allocations: 0.9892 MB / 462.2 MB, free: 1.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.613, allocations: 0.5746 MB / 462.8 MB, free: 1.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.6131, allocations: 7.406 kB / 462.8 MB, free: 1.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003377/0.6164, allocations: 1.347 MB / 464.2 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.6165, allocations: 18.5 kB / 464.2 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.993e-05/0.6166, allocations: 28 kB / 464.2 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.686e-05/0.6166, allocations: 32.75 kB / 464.2 MB, free: 484 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/0.6189, allocations: 327.4 kB / 464.6 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.6204, allocations: 1.369 MB / 465.9 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.6218, allocations: 51.91 kB / 466 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.622, allocations: 68 kB / 466.1 MB, free: 14.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00122/0.6232, allocations: 0.4893 MB / 466.5 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.6235, allocations: 87.09 kB / 466.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.6238, allocations: 116.7 kB / 466.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.6238, allocations: 8 kB / 466.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.6238, allocations: 0 / 466.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.6238, allocations: 7.969 kB / 466.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006061/0.6299, allocations: 2.161 MB / 468.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.63, allocations: 4.812 kB / 468.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.631, allocations: 131.8 kB / 469.1 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.227e-05/0.631, allocations: 15.95 kB / 469.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.6311, allocations: 16 kB / 469.1 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.6323, allocations: 1.345 MB / 470.4 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.6324, allocations: 4 kB / 470.4 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.6343, allocations: 1.146 MB / 471.6 MB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.6347, allocations: 164 kB / 471.7 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.6349, allocations: 19.98 kB / 471.8 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/0.6355, allocations: 19.94 kB / 471.8 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.6356, allocations: 55.8 kB / 471.8 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/0.6356, allocations: 24 kB / 471.9 MB, free: 8.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001284/0.6369, allocations: 0.5926 MB / 472.4 MB, free: 7.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.637, allocations: 0 / 472.4 MB, free: 7.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001575/0.6385, allocations: 220 kB / 472.7 MB, free: 7.379 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002456/0.6388, allocations: 123 kB / 472.8 MB, free: 7.246 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002603/0.6414, allocations: 0.8711 MB / 473.7 MB, free: 6.379 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.6415, allocations: 0 / 473.7 MB, free: 6.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008891/0.6424, allocations: 285 kB / 473.9 MB, free: 6.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.6434, allocations: 112 kB / 474 MB, free: 5.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005947/0.6494, allocations: 2.623 MB / 476.7 MB, free: 3.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.6508, allocations: 1.24 MB / 477.9 MB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.6513, allocations: 67.44 kB / 478 MB, free: 1.922 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6513, allocations: 3.938 kB / 478 MB, free: 1.918 MB / 378.7 MB Notification: Performance of Templates: time 0.03648/0.6878, allocations: 15.96 MB / 493.9 MB, free: 1.969 MB / 394.7 MB