Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.049e-05/4.073e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4271/0.5331, allocations: 82.79 MB / 404.6 MB, free: 6.812 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5334, allocations: 71.09 kB / 404.7 MB, free: 6.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2795/0.813, allocations: 67.82 MB / 472.5 MB, free: 2.273 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.813, allocations: 0 / 472.5 MB, free: 2.273 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001674/0.8132, allocations: 67.94 kB / 472.6 MB, free: 2.207 MB / 394.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.01071/0.8239, allocations: 3.033 MB / 475.6 MB, free: 15.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.061e-05/0.824, allocations: 8.031 kB / 475.6 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00323/0.8273, allocations: 0.7332 MB / 476.4 MB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02586/0.8532, allocations: 3.275 MB / 479.7 MB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.8653, allocations: 2.067 MB / 481.7 MB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004523/0.8658, allocations: 271.1 kB / 482 MB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002246/0.8681, allocations: 355.9 kB / 482.3 MB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0307/0.8988, allocations: 8.978 MB / 491.3 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.8989, allocations: 15.88 kB / 491.3 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008976/0.8999, allocations: 159.9 kB / 491.5 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002182/0.9021, allocations: 1.049 MB / 492.5 MB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02523/0.9273, allocations: 8.517 MB / 0.4893 GB, free: 5.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4222/1.35, allocations: 29.09 MB / 0.5177 GB, free: 96.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007776/1.357, allocations: 3.041 MB / 0.5207 GB, free: 95.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002395/1.36, allocations: 0.9693 MB / 0.5216 GB, free: 95.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01476/1.375, allocations: 4.877 MB / 0.5264 GB, free: 93.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/1.375, allocations: 37.84 kB / 0.5264 GB, free: 93.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 7.043e-06/1.375, allocations: 2.656 kB / 0.5264 GB, free: 93.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.008795/1.384, allocations: 2.101 MB / 0.5285 GB, free: 93.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/1.384, allocations: 58.94 kB / 0.5285 GB, free: 93.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005531/1.389, allocations: 2.238 MB / 0.5307 GB, free: 93.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/1.39, allocations: 37.97 kB / 0.5308 GB, free: 93.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002136/1.392, allocations: 2.634 MB / 0.5333 GB, free: 91.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007164/1.392, allocations: 0.4912 MB / 0.5338 GB, free: 91.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004991/1.393, allocations: 84.62 kB / 0.5339 GB, free: 91.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004819/1.393, allocations: 0.5463 MB / 0.5344 GB, free: 91.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003304/1.397, allocations: 1.301 MB / 0.5357 GB, free: 91.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00509/1.402, allocations: 4.035 MB / 0.5396 GB, free: 87.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005056/1.407, allocations: 2.337 MB / 0.5419 GB, free: 86.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/1.407, allocations: 28 kB / 0.542 GB, free: 86.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01323/1.42, allocations: 5.163 MB / 0.547 GB, free: 84.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/1.421, allocations: 53.33 kB / 0.547 GB, free: 84.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/1.421, allocations: 98.91 kB / 0.5471 GB, free: 84.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/1.421, allocations: 141.2 kB / 0.5473 GB, free: 84.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005796/1.427, allocations: 0.9687 MB / 0.5482 GB, free: 84.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002004/1.427, allocations: 187.5 kB / 0.5484 GB, free: 84.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004661/1.432, allocations: 0.5997 MB / 0.549 GB, free: 84.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009707/1.433, allocations: 276.9 kB / 0.5493 GB, free: 84.29 MB / 426.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 (535): * Single equations (assignments): 529 * 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.001237/1.434, allocations: 443.6 kB / 0.5497 GB, free: 83.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/1.434, allocations: 208.8 kB / 0.5499 GB, free: 83.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008591/1.435, allocations: 280.8 kB / 0.5501 GB, free: 83.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.966e-05/1.435, allocations: 14.8 kB / 0.5502 GB, free: 83.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/1.435, allocations: 0 / 0.5502 GB, free: 83.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/1.435, allocations: 2.531 kB / 0.5502 GB, free: 83.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/1.451, allocations: 5.612 MB / 0.5556 GB, free: 81.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/1.451, allocations: 3.344 kB / 0.5556 GB, free: 81.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.452, allocations: 137.1 kB / 0.5558 GB, free: 81.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/1.452, allocations: 7.156 kB / 0.5558 GB, free: 81.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/1.452, allocations: 27.44 kB / 0.5558 GB, free: 81.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-05/1.452, allocations: 18.12 kB / 0.5558 GB, free: 81.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.452, allocations: 10.28 kB / 0.5558 GB, free: 81.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003275/1.456, allocations: 2.097 MB / 0.5579 GB, free: 80.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006957/1.456, allocations: 297.9 kB / 0.5582 GB, free: 80.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004825/1.457, allocations: 15.25 kB / 0.5582 GB, free: 80.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/1.458, allocations: 47.86 kB / 0.5582 GB, free: 80.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.458, allocations: 60.03 kB / 0.5583 GB, free: 80.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.458, allocations: 43.61 kB / 0.5583 GB, free: 80.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003267/1.462, allocations: 1.508 MB / 0.5598 GB, free: 79.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.413e-06/1.462, allocations: 0 / 0.5598 GB, free: 79.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005057/1.467, allocations: 1.006 MB / 0.5608 GB, free: 79.14 MB / 426.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.004241/1.471, allocations: 3.854 MB / 0.5645 GB, free: 76.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006746/1.478, allocations: 3.065 MB / 0.5675 GB, free: 75.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.478, allocations: 0 / 0.5675 GB, free: 75.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/1.479, allocations: 0.7361 MB / 0.5683 GB, free: 75.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/1.481, allocations: 226.5 kB / 0.5685 GB, free: 74.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/1.504, allocations: 6.996 MB / 0.5753 GB, free: 71.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006161/1.51, allocations: 3.042 MB / 0.5783 GB, free: 68.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006473/1.517, allocations: 1.478 MB / 0.5797 GB, free: 67.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003277/1.52, allocations: 1.485 MB / 0.5812 GB, free: 66.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.904e-06/1.52, allocations: 0 / 0.5812 GB, free: 66.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/1.644, allocations: 48.81 MB / 0.6288 GB, free: 21.88 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/1.645, allocations: 153.9 kB / 0.629 GB, free: 21.64 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.778/5.423, allocations: 0 / 0.629 GB, free: 21.64 MB / 426.7 MB