Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.3 MB / 223.8 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.129e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3608, allocations: 48.69 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.03742/0.3983, allocations: 22.75 MB / 347.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01535/0.4137, allocations: 4.656 MB / 352.3 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006238/0.42, allocations: 110.7 kB / 352.4 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005247/0.4253, allocations: 1.238 MB / 353.6 MB, free: 128 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01482/0.4402, allocations: 3.189 MB / 356.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.4417, allocations: 82.17 kB / 356.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003379/0.4451, allocations: 0.9869 MB / 357.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004009/0.4492, allocations: 1.785 MB / 359.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.4507, allocations: 0.5671 MB / 360.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.4528, allocations: 0.9149 MB / 361.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.4543, allocations: 367.5 kB / 361.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005538/0.4549, allocations: 79.94 kB / 361.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.4569, allocations: 1.13 MB / 362.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.4579, allocations: 184 kB / 362.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006909/0.4649, allocations: 4.181 MB / 367.1 MB, free: 5.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4649, allocations: 0 / 367.1 MB, free: 5.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.33e-06/0.4649, allocations: 0 / 367.1 MB, free: 5.172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001944/0.4651, allocations: 3.938 kB / 367.1 MB, free: 5.168 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.008035/0.4732, allocations: 3.013 MB / 370.1 MB, free: 2.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4733, allocations: 12.02 kB / 370.1 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02142/0.4947, allocations: 3.563 MB / 373.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004781/0.4995, allocations: 1.509 MB / 375.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.4998, allocations: 176.2 kB / 375.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/0.5012, allocations: 223.8 kB / 375.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/0.5254, allocations: 9.479 MB / 385 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.608e-05/0.5256, allocations: 16.75 kB / 385.1 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/0.5266, allocations: 107.8 kB / 385.2 MB, free: 2.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007311/0.534, allocations: 2.373 MB / 387.5 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02685/0.5609, allocations: 8.68 MB / 396.2 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0654/0.6263, allocations: 29.24 MB / 425.5 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009032/0.6354, allocations: 3.048 MB / 428.5 MB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01571/0.6512, allocations: 4.873 MB / 433.4 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.6513, allocations: 43.22 kB / 433.4 MB, free: 1.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 6.452e-06/0.6513, allocations: 0 / 433.4 MB, free: 1.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.01164/0.663, allocations: 3.237 MB / 436.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.6631, allocations: 64.06 kB / 436.7 MB, free: 13.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005653/0.6688, allocations: 2.267 MB / 439 MB, free: 11.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002159/0.669, allocations: 41.69 kB / 439 MB, free: 11.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002924/0.672, allocations: 2.633 MB / 441.7 MB, free: 8.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008846/0.6729, allocations: 0.4899 MB / 442.2 MB, free: 8.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004366/0.6734, allocations: 83.98 kB / 442.2 MB, free: 7.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006027/0.674, allocations: 0.5476 MB / 442.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003791/0.6778, allocations: 1.328 MB / 444.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006646/0.6845, allocations: 4.065 MB / 448.2 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005941/0.6905, allocations: 2.343 MB / 450.5 MB, free: 14.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/0.6907, allocations: 32 kB / 450.6 MB, free: 14.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.0146/0.7053, allocations: 5.22 MB / 455.8 MB, free: 9.047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.7055, allocations: 51.95 kB / 455.8 MB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/0.7057, allocations: 96 kB / 455.9 MB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.7059, allocations: 140 kB / 456.1 MB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005947/0.7118, allocations: 0.9708 MB / 457 MB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002487/0.7122, allocations: 195.2 kB / 457.2 MB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004583/0.7167, allocations: 0.5996 MB / 457.8 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007203/0.7175, allocations: 280 kB / 458.1 MB, free: 6.723 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 443 * Number of states: 0 () * Number of discrete variables: 18 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (537): * Single equations (assignments): 531 * Array equations: 6 * 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.004632/0.7222, allocations: 1.856 MB / 459.9 MB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004919/0.7227, allocations: 209.2 kB / 460.2 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.7234, allocations: 271.1 kB / 460.4 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-05/0.7234, allocations: 16 kB / 460.4 MB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.7234, allocations: 4 kB / 460.4 MB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.7235, allocations: 3.984 kB / 460.4 MB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/0.7387, allocations: 5.598 MB / 466 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.7388, allocations: 4.562 kB / 466 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.7399, allocations: 143.7 kB / 466.2 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-05/0.74, allocations: 11.94 kB / 466.2 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-05/0.7401, allocations: 20 kB / 466.2 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.307e-05/0.7401, allocations: 15.94 kB / 466.2 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-06/0.7401, allocations: 11.88 kB / 466.2 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/0.7442, allocations: 2.111 MB / 468.4 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007556/0.745, allocations: 298 kB / 468.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004213/0.7454, allocations: 16 kB / 468.7 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.7465, allocations: 43.91 kB / 468.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.7467, allocations: 60.44 kB / 468.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.7469, allocations: 43.94 kB / 468.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00392/0.7508, allocations: 1.524 MB / 470.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.7509, allocations: 0 / 470.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004935/0.7558, allocations: 1.003 MB / 471.3 MB, free: 9.098 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 6 * 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.0005169/0.7564, allocations: 139 kB / 471.5 MB, free: 8.953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007945/0.7643, allocations: 3.1 MB / 474.6 MB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/0.7644, allocations: 0 / 474.6 MB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.7662, allocations: 0.7398 MB / 475.3 MB, free: 5.133 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.7679, allocations: 232.1 kB / 475.5 MB, free: 4.906 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2934/1.061, allocations: 8.758 MB / 484.3 MB, free: 124.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007397/1.069, allocations: 3.03 MB / 487.3 MB, free: 123.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006714/1.076, allocations: 1.485 MB / 488.8 MB, free: 123.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007512/1.076, allocations: 155 kB / 489 MB, free: 123.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/1.076, allocations: 2 kB / 489 MB, free: 123.5 MB / 410.7 MB Notification: Performance of Templates: time 0.06238/1.139, allocations: 17.43 MB / 0.4945 GB, free: 117.7 MB / 410.7 MB