Running command: translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.941e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3727, allocations: 54.85 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.03317/0.406, allocations: 20.4 MB / 383.3 MB, free: 9.316 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01678/0.4228, allocations: 5.527 MB / 388.8 MB, free: 3.766 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004654/0.4275, allocations: 99.75 kB / 388.9 MB, free: 3.668 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003847/0.4314, allocations: 1.097 MB / 390 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0136/0.4451, allocations: 3.171 MB / 393.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.4473, allocations: 439.2 kB / 393.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004997/0.4524, allocations: 1.532 MB / 395.1 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003599/0.456, allocations: 1.799 MB / 396.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.4574, allocations: 0.6662 MB / 397.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.46, allocations: 1.118 MB / 398.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.463, allocations: 1.026 MB / 399.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000965/0.464, allocations: 128 kB / 399.9 MB, free: 8.648 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001953/0.466, allocations: 1.321 MB / 401.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000841/0.4669, allocations: 208 kB / 401.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.4778, allocations: 4.745 MB / 406.1 MB, free: 2.367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4778, allocations: 0 / 406.1 MB, free: 2.367 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4779, allocations: 3.938 kB / 406.1 MB, free: 2.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001993/0.4781, allocations: 0 / 406.1 MB, free: 2.363 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01566/0.4937, allocations: 3.469 MB / 409.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.893e-05/0.4938, allocations: 8.031 kB / 409.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04029/0.5341, allocations: 6.406 MB / 416 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008244/0.5424, allocations: 2.509 MB / 418.5 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.5427, allocations: 176.4 kB / 418.7 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001977/0.5447, allocations: 311.6 kB / 419 MB, free: 5.359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02832/0.5731, allocations: 10.78 MB / 429.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.5732, allocations: 27.8 kB / 429.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005907/0.5738, allocations: 115.8 kB / 429.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006812/0.5807, allocations: 2.459 MB / 432.4 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03316/0.6138, allocations: 10.22 MB / 442.6 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0859/0.6998, allocations: 35.71 MB / 478.3 MB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02855/0.7284, allocations: 5.6 MB / 483.9 MB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003497/0.732, allocations: 1.876 MB / 485.8 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.983e-05/0.7321, allocations: 52.56 kB / 485.8 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 8.476e-06/0.7321, allocations: 0 / 485.8 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.07653/0.8086, allocations: 15.54 MB / 0.4896 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3295/1.138, allocations: 1.525 MB / 0.4911 GB, free: 119.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006447/1.145, allocations: 2.706 MB / 0.4938 GB, free: 119.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005892/1.145, allocations: 53.78 kB / 0.4938 GB, free: 119.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001947/1.147, allocations: 2.673 MB / 0.4964 GB, free: 117.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001305/1.149, allocations: 0.848 MB / 0.4973 GB, free: 116.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005358/1.149, allocations: 106.6 kB / 0.4974 GB, free: 116.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003418/1.15, allocations: 0.5401 MB / 0.4979 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005938/1.155, allocations: 2.606 MB / 0.5004 GB, free: 115.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007435/1.163, allocations: 5.568 MB / 0.5059 GB, free: 110.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008167/1.171, allocations: 3.795 MB / 0.5096 GB, free: 109.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-05/1.171, allocations: 30.78 kB / 0.5096 GB, free: 109.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.1131/1.284, allocations: 18.95 MB / 0.5281 GB, free: 93.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.684e-05/1.285, allocations: 56.25 kB / 0.5282 GB, free: 93.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08213/1.367, allocations: 12 MB / 0.5399 GB, free: 81.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1056/1.472, allocations: 10.29 MB / 0.5499 GB, free: 71.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/1.485, allocations: 1.299 MB / 0.5512 GB, free: 70.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06241/1.548, allocations: 17.27 MB / 0.5681 GB, free: 52.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006549/1.554, allocations: 444.5 kB / 0.5685 GB, free: 52.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/1.556, allocations: 321.1 kB / 0.5688 GB, free: 51.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (650): * Single equations (assignments): 639 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.004866/1.56, allocations: 1.988 MB / 0.5707 GB, free: 49.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007125/1.561, allocations: 264.5 kB / 0.571 GB, free: 49.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/1.575, allocations: 5.107 MB / 0.576 GB, free: 44.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01271/1.588, allocations: 4.398 MB / 0.5803 GB, free: 40.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/1.588, allocations: 11.94 kB / 0.5803 GB, free: 40.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/1.588, allocations: 7.969 kB / 0.5803 GB, free: 40.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03144/1.619, allocations: 12.91 MB / 0.5929 GB, free: 27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/1.619, allocations: 8 kB / 0.5929 GB, free: 26.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003983/1.623, allocations: 463.1 kB / 0.5934 GB, free: 26.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005111/1.628, allocations: 0.9425 MB / 0.5943 GB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004883/1.629, allocations: 53.47 kB / 0.5943 GB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009658/1.639, allocations: 5.581 MB / 0.5998 GB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001183/1.64, allocations: 1.464 MB / 0.6012 GB, free: 18.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/1.659, allocations: 8.344 MB / 0.6094 GB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.66, allocations: 345.5 kB / 0.6097 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/1.661, allocations: 44.48 kB / 0.6097 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003441/1.665, allocations: 193.1 kB / 0.6099 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007781/1.666, allocations: 145 kB / 0.61 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002753/1.666, allocations: 69.86 kB / 0.6101 GB, free: 8.633 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004037/1.67, allocations: 1.873 MB / 0.6119 GB, free: 6.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.67, allocations: 0 / 0.6119 GB, free: 6.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006505/1.677, allocations: 1.116 MB / 0.613 GB, free: 5.645 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/1.678, allocations: 201.1 kB / 0.6132 GB, free: 5.449 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01703/1.695, allocations: 6.537 MB / 0.6196 GB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.695, allocations: 0 / 0.6196 GB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006993/1.702, allocations: 2.532 MB / 0.6221 GB, free: 12.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/1.704, allocations: 342.2 kB / 0.6224 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/1.736, allocations: 11.53 MB / 0.6337 GB, free: 320 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006779/1.743, allocations: 3.232 MB / 0.6368 GB, free: 13.05 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008745/1.752, allocations: 2.06 MB / 0.6388 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/1.753, allocations: 215.4 kB / 0.639 GB, free: 10.77 MB / 458.7 MB Notification: Performance of SimCode: time 1.203e-06/1.753, allocations: 0 / 0.639 GB, free: 10.77 MB / 458.7 MB Notification: Performance of Templates: time 0.5704/2.324, allocations: 43.8 MB / 0.6818 GB, free: 149 MB / 474.7 MB