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 2.227/2.227, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.521e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5507, allocations: 82.79 MB / 404.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.5511, allocations: 71.91 kB / 404.7 MB, free: 6.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2792/0.8304, allocations: 67.83 MB / 472.6 MB, free: 2.148 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.751e-06/0.8304, allocations: 0 / 472.6 MB, free: 2.148 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000168/0.8306, allocations: 63.94 kB / 472.6 MB, free: 2.086 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.01194/0.8426, allocations: 3.025 MB / 475.7 MB, free: 15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.532e-05/0.8427, allocations: 12.03 kB / 475.7 MB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003599/0.8463, allocations: 0.7293 MB / 476.4 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02539/0.8717, allocations: 3.278 MB / 479.7 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008265/0.88, allocations: 2.067 MB / 481.8 MB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004888/0.8806, allocations: 275.1 kB / 482 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002629/0.8832, allocations: 351.9 kB / 482.4 MB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0296/0.9129, allocations: 8.936 MB / 491.3 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.9131, allocations: 19.81 kB / 491.3 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00115/0.9142, allocations: 159.9 kB / 491.5 MB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002327/0.9166, allocations: 1.045 MB / 492.5 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0259/0.9425, allocations: 8.409 MB / 0.4892 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4046/1.347, allocations: 29.1 MB / 0.5176 GB, free: 96.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008083/1.355, allocations: 3.026 MB / 0.5206 GB, free: 95.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002642/1.358, allocations: 0.9707 MB / 0.5215 GB, free: 95.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01624/1.374, allocations: 4.874 MB / 0.5263 GB, free: 93.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/1.374, allocations: 47.52 kB / 0.5263 GB, free: 93.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 7.414e-06/1.374, allocations: 0 / 0.5263 GB, free: 93.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.008645/1.383, allocations: 2.092 MB / 0.5284 GB, free: 93.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/1.383, allocations: 62.91 kB / 0.5284 GB, free: 93.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004668/1.388, allocations: 2.238 MB / 0.5306 GB, free: 93.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002166/1.388, allocations: 36.78 kB / 0.5306 GB, free: 93.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00214/1.39, allocations: 2.635 MB / 0.5332 GB, free: 91.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007824/1.391, allocations: 0.4891 MB / 0.5337 GB, free: 91.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004821/1.392, allocations: 83.78 kB / 0.5338 GB, free: 91.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004542/1.392, allocations: 0.543 MB / 0.5343 GB, free: 91.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/1.395, allocations: 1.301 MB / 0.5356 GB, free: 91.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005164/1.401, allocations: 4.011 MB / 0.5395 GB, free: 87.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004981/1.406, allocations: 2.34 MB / 0.5418 GB, free: 86.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.111e-05/1.406, allocations: 28.66 kB / 0.5418 GB, free: 86.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01279/1.419, allocations: 4.893 MB / 0.5466 GB, free: 85.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-05/1.419, allocations: 51.17 kB / 0.5466 GB, free: 85.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001592/1.419, allocations: 95.42 kB / 0.5467 GB, free: 85.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/1.419, allocations: 141 kB / 0.5469 GB, free: 85.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005501/1.425, allocations: 0.9777 MB / 0.5478 GB, free: 84.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001582/1.425, allocations: 193.5 kB / 0.548 GB, free: 84.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/1.429, allocations: 0.5979 MB / 0.5486 GB, free: 84.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004491/1.429, allocations: 271.8 kB / 0.5488 GB, free: 84.53 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.0006388/1.43, allocations: 433.3 kB / 0.5493 GB, free: 84.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/1.43, allocations: 218 kB / 0.5495 GB, free: 84.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/1.431, allocations: 272 kB / 0.5497 GB, free: 83.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/1.431, allocations: 18.75 kB / 0.5497 GB, free: 83.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/1.431, allocations: 4.875 kB / 0.5497 GB, free: 83.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.431, allocations: 3.656 kB / 0.5497 GB, free: 83.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/1.443, allocations: 5.595 MB / 0.5552 GB, free: 81.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/1.443, allocations: 11.91 kB / 0.5552 GB, free: 81.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.444, allocations: 139.2 kB / 0.5554 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-05/1.444, allocations: 10.41 kB / 0.5554 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.073e-05/1.445, allocations: 18.97 kB / 0.5554 GB, free: 81.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/1.445, allocations: 10.8 kB / 0.5554 GB, free: 81.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.445, allocations: 7.812 kB / 0.5554 GB, free: 81.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/1.448, allocations: 2.095 MB / 0.5574 GB, free: 80.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/1.448, allocations: 299.7 kB / 0.5577 GB, free: 80.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/1.449, allocations: 23.16 kB / 0.5578 GB, free: 80.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.45, allocations: 47.95 kB / 0.5578 GB, free: 80.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.45, allocations: 60.12 kB / 0.5579 GB, free: 80.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.45, allocations: 43.03 kB / 0.5579 GB, free: 80.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002986/1.453, allocations: 1.503 MB / 0.5594 GB, free: 79.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.453, allocations: 0 / 0.5594 GB, free: 79.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005035/1.458, allocations: 1.002 MB / 0.5603 GB, free: 79.4 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.003707/1.462, allocations: 3.861 MB / 0.5641 GB, free: 76.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006323/1.468, allocations: 2.929 MB / 0.567 GB, free: 75.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/1.468, allocations: 7.938 kB / 0.567 GB, free: 75.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/1.47, allocations: 0.7167 MB / 0.5677 GB, free: 75.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/1.471, allocations: 230.9 kB / 0.5679 GB, free: 75.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/1.492, allocations: 6.984 MB / 0.5747 GB, free: 71.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005938/1.498, allocations: 3.04 MB / 0.5777 GB, free: 69.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005608/1.503, allocations: 1.472 MB / 0.5791 GB, free: 68.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002574/1.506, allocations: 1.486 MB / 0.5806 GB, free: 67.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/1.506, allocations: 0 / 0.5806 GB, free: 67.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/1.618, allocations: 48.46 MB / 0.6279 GB, free: 22.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/1.618, allocations: 148.5 kB / 0.6281 GB, free: 22.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.079/5.697, allocations: 64 / 0.6281 GB, free: 22.49 MB / 426.7 MB