Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 270 MB / 282.7 MB, free: 1.766 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.868e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3219, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.4702, allocations: 97.76 MB / 0.4947 GB, free: 8.848 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.4705, allocations: 71.97 kB / 0.4948 GB, free: 8.777 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5161/0.9866, allocations: 69.71 MB / 0.5629 GB, free: 77.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.9867, allocations: 0 / 0.5629 GB, free: 77.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000114/0.9868, allocations: 64 kB / 0.5629 GB, free: 77.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.007126/0.9939, allocations: 3.037 MB / 0.5659 GB, free: 74.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.994, allocations: 8.031 kB / 0.5659 GB, free: 74.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0164/1.01, allocations: 3.292 MB / 0.5691 GB, free: 70.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005273/1.016, allocations: 2.071 MB / 0.5711 GB, free: 68.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002801/1.016, allocations: 283.1 kB / 0.5714 GB, free: 68.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/1.018, allocations: 351.9 kB / 0.5717 GB, free: 68.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/1.037, allocations: 8.945 MB / 0.5805 GB, free: 58.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.216e-05/1.037, allocations: 19.86 kB / 0.5805 GB, free: 58.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007142/1.037, allocations: 167.9 kB / 0.5807 GB, free: 58.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001363/1.039, allocations: 1.045 MB / 0.5817 GB, free: 57.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/1.056, allocations: 8.418 MB / 0.5899 GB, free: 49.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0412/1.097, allocations: 29.2 MB / 0.6184 GB, free: 19.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005936/1.103, allocations: 3.034 MB / 0.6214 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/1.105, allocations: 0.977 MB / 0.6223 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009547/1.114, allocations: 4.876 MB / 0.6271 GB, free: 9.793 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/1.114, allocations: 39.34 kB / 0.6271 GB, free: 9.746 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 4.881e-06/1.114, allocations: 0 / 0.6271 GB, free: 9.746 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.006387/1.121, allocations: 2.098 MB / 0.6292 GB, free: 7.641 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/1.121, allocations: 56.19 kB / 0.6292 GB, free: 7.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/1.124, allocations: 2.275 MB / 0.6315 GB, free: 5.266 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/1.125, allocations: 37.7 kB / 0.6315 GB, free: 5.223 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/1.126, allocations: 2.659 MB / 0.6341 GB, free: 2.527 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/1.126, allocations: 0.4898 MB / 0.6346 GB, free: 2.031 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/1.127, allocations: 80 kB / 0.6346 GB, free: 1.953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002723/1.127, allocations: 0.5008 MB / 0.6351 GB, free: 1.441 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/1.129, allocations: 1.305 MB / 0.6364 GB, free: 132 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00505/1.134, allocations: 4.032 MB / 0.6403 GB, free: 10.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004395/1.139, allocations: 2.356 MB / 0.6427 GB, free: 8.352 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.858e-05/1.139, allocations: 35.88 kB / 0.6427 GB, free: 8.316 MB / 458.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01092/1.15, allocations: 4.86 MB / 0.6474 GB, free: 3.453 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-05/1.15, allocations: 48 kB / 0.6475 GB, free: 3.406 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/1.15, allocations: 96 kB / 0.6476 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/1.15, allocations: 148.7 kB / 0.6477 GB, free: 3.168 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003907/1.154, allocations: 0.9747 MB / 0.6487 GB, free: 2.191 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000208/1.154, allocations: 191.3 kB / 0.6488 GB, free: 2.004 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/1.158, allocations: 0.603 MB / 0.6494 GB, free: 1.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005693/1.159, allocations: 276 kB / 0.6497 GB, free: 1.129 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (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.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 (538): * Single equations (assignments): 532 * 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.0007245/1.16, allocations: 440.7 kB / 0.6501 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/1.16, allocations: 217.1 kB / 0.6503 GB, free: 488 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000592/1.161, allocations: 271.4 kB / 0.6506 GB, free: 212 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/1.161, allocations: 19.98 kB / 0.6506 GB, free: 192 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.161, allocations: 3.953 kB / 0.6506 GB, free: 188 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.161, allocations: 3.984 kB / 0.6506 GB, free: 184 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/1.173, allocations: 5.603 MB / 0.6561 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/1.173, allocations: 7.984 kB / 0.6561 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/1.174, allocations: 131.8 kB / 0.6562 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/1.174, allocations: 8 kB / 0.6562 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.791e-05/1.174, allocations: 23.98 kB / 0.6562 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/1.174, allocations: 8 kB / 0.6563 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.748e-06/1.174, allocations: 7.938 kB / 0.6563 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/1.177, allocations: 2.103 MB / 0.6583 GB, free: 7.961 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/1.178, allocations: 305.9 kB / 0.6586 GB, free: 7.641 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/1.178, allocations: 23.98 kB / 0.6586 GB, free: 7.617 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008127/1.179, allocations: 31.97 kB / 0.6587 GB, free: 7.586 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/1.179, allocations: 68.38 kB / 0.6587 GB, free: 7.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.179, allocations: 39.98 kB / 0.6588 GB, free: 7.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003039/1.182, allocations: 1.527 MB / 0.6603 GB, free: 5.934 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.9e-06/1.182, allocations: 0 / 0.6603 GB, free: 5.934 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00457/1.187, allocations: 1.019 MB / 0.6612 GB, free: 4.91 MB / 474.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.0003997/1.187, allocations: 162.9 kB / 0.6614 GB, free: 4.742 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00612/1.193, allocations: 2.936 MB / 0.6643 GB, free: 1.828 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.246e-06/1.193, allocations: 0 / 0.6643 GB, free: 1.828 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/1.195, allocations: 0.7208 MB / 0.665 GB, free: 1.109 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.196, allocations: 237.8 kB / 0.6652 GB, free: 0.875 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/1.21, allocations: 6.238 MB / 0.6713 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004828/1.215, allocations: 3.053 MB / 0.6743 GB, free: 7.453 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008286/1.216, allocations: 191.4 kB / 0.6745 GB, free: 7.266 MB / 490.7 MB Notification: Performance of SimCode: time 2.188e-06/1.216, allocations: 0 / 0.6745 GB, free: 7.266 MB / 490.7 MB Notification: Performance of Templates: time 0.3597/1.576, allocations: 40.18 MB / 0.7137 GB, free: 153.2 MB / 0.5105 GB