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.275/2.275, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.685e-05, allocations: 4 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1327, allocations: 48.69 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4851/0.6179, allocations: 82.36 MB / 398.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.6183, allocations: 77.08 kB / 398.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2982/0.9165, allocations: 66.35 MB / 465.1 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.799e-06/0.9166, allocations: 0 / 465.1 MB, free: 10.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001582/0.9168, allocations: 63.94 kB / 465.2 MB, free: 10.77 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.01066/0.9274, allocations: 3.029 MB / 468.2 MB, free: 7.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.9275, allocations: 11.97 kB / 468.2 MB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02628/0.9538, allocations: 3.286 MB / 471.5 MB, free: 4.375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007676/0.9615, allocations: 2.055 MB / 473.6 MB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/0.9619, allocations: 120 kB / 473.7 MB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002367/0.9643, allocations: 204 kB / 473.9 MB, free: 1.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01709/0.9814, allocations: 6.399 MB / 480.3 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0255/1.007, allocations: 8.473 MB / 488.7 MB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/1.007, allocations: 19.81 kB / 488.8 MB, free: 2.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001319/1.008, allocations: 12 kB / 488.8 MB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002274/1.011, allocations: 1.046 MB / 489.8 MB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3353/1.346, allocations: 26.55 MB / 0.5043 GB, free: 90.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007053/1.353, allocations: 2.684 MB / 0.5069 GB, free: 89.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/1.356, allocations: 0.8831 MB / 0.5077 GB, free: 89.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002516/1.359, allocations: 1.627 MB / 0.5093 GB, free: 88.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/1.359, allocations: 44.81 kB / 0.5094 GB, free: 88.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=162): time 8.577e-06/1.359, allocations: 3.969 kB / 0.5094 GB, free: 88.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.0112/1.37, allocations: 2.141 MB / 0.5115 GB, free: 88.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/1.37, allocations: 66 kB / 0.5115 GB, free: 87.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005804/1.376, allocations: 2.036 MB / 0.5135 GB, free: 87.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003595/1.377, allocations: 28.89 kB / 0.5136 GB, free: 87.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002773/1.379, allocations: 2.636 MB / 0.5161 GB, free: 86.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/1.381, allocations: 0.5864 MB / 0.5167 GB, free: 86.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004729/1.381, allocations: 0 / 0.5167 GB, free: 86.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006114/1.382, allocations: 0.5589 MB / 0.5172 GB, free: 85.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004319/1.386, allocations: 1.344 MB / 0.5186 GB, free: 85.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006554/1.393, allocations: 4.306 MB / 0.5228 GB, free: 80.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005035/1.398, allocations: 2.479 MB / 0.5252 GB, free: 80.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-05/1.398, allocations: 29.97 kB / 0.5252 GB, free: 80.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01231/1.41, allocations: 4.997 MB / 0.5301 GB, free: 78.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.352e-05/1.41, allocations: 55.38 kB / 0.5301 GB, free: 78.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/1.411, allocations: 105.2 kB / 0.5302 GB, free: 78.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/1.411, allocations: 157 kB / 0.5304 GB, free: 78.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006162/1.417, allocations: 1.069 MB / 0.5314 GB, free: 78.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001762/1.417, allocations: 208.1 kB / 0.5316 GB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004528/1.422, allocations: 0.5301 MB / 0.5322 GB, free: 78.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/1.423, allocations: 299.2 kB / 0.5324 GB, free: 78.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * 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 (591): * Single equations (assignments): 585 * 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.000839/1.424, allocations: 366.4 kB / 0.5328 GB, free: 77.82 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003856/1.427, allocations: 1.79 MB / 0.5345 GB, free: 77.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/1.428, allocations: 217.5 kB / 0.5347 GB, free: 77.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004442/1.432, allocations: 2.051 MB / 0.5367 GB, free: 76.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.532e-05/1.432, allocations: 19.83 kB / 0.5368 GB, free: 76.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.432, allocations: 4 kB / 0.5368 GB, free: 76.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/1.432, allocations: 10.08 kB / 0.5368 GB, free: 76.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/1.447, allocations: 6.062 MB / 0.5427 GB, free: 74.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/1.447, allocations: 7.875 kB / 0.5427 GB, free: 74.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.449, allocations: 201 kB / 0.5429 GB, free: 74.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.496e-05/1.449, allocations: 16.59 kB / 0.5429 GB, free: 74.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/1.449, allocations: 24.78 kB / 0.5429 GB, free: 74.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-05/1.449, allocations: 20.95 kB / 0.543 GB, free: 74.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/1.449, allocations: 17.34 kB / 0.543 GB, free: 74.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004105/1.453, allocations: 2.964 MB / 0.5459 GB, free: 72.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005726/1.454, allocations: 300.5 kB / 0.5462 GB, free: 71.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004456/1.454, allocations: 15.42 kB / 0.5462 GB, free: 71.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.456, allocations: 30.92 kB / 0.5462 GB, free: 71.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/1.456, allocations: 100.5 kB / 0.5463 GB, free: 71.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/1.456, allocations: 64.17 kB / 0.5464 GB, free: 71.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002734/1.459, allocations: 1.323 MB / 0.5477 GB, free: 71.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.459, allocations: 0 / 0.5477 GB, free: 71.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005685/1.465, allocations: 0.915 MB / 0.5485 GB, free: 70.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * 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.005009/1.47, allocations: 6.109 MB / 0.5545 GB, free: 65.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006576/1.476, allocations: 3.225 MB / 0.5577 GB, free: 62.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/1.476, allocations: 0 / 0.5577 GB, free: 62.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001705/1.478, allocations: 0.9194 MB / 0.5586 GB, free: 61.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/1.479, allocations: 168.6 kB / 0.5587 GB, free: 61.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/1.501, allocations: 7.425 MB / 0.566 GB, free: 54.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005886/1.507, allocations: 3.041 MB / 0.5689 GB, free: 52.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007185/1.515, allocations: 1.711 MB / 0.5706 GB, free: 51.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003362/1.518, allocations: 1.52 MB / 0.5721 GB, free: 49.72 MB / 410.7 MB Notification: Performance of SimCode: time 2.003e-06/1.518, allocations: 4 kB / 0.5721 GB, free: 49.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/1.653, allocations: 47.57 MB / 0.6186 GB, free: 4.758 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.653, allocations: 130.1 kB / 0.6187 GB, free: 4.566 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.198/5.851, allocations: 4 kB / 0.6187 GB, free: 4.562 MB / 410.7 MB