Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.085e-05/5.092e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4252, allocations: 54.85 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.5944, allocations: 89.37 MB / 449.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.5948, allocations: 75.95 kB / 449.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2888/0.8835, allocations: 67.85 MB / 0.505 GB, free: 2.891 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.8836, allocations: 0 / 0.505 GB, free: 2.891 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001572/0.8838, allocations: 67.94 kB / 0.5051 GB, free: 2.824 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: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.01161/0.8954, allocations: 3.029 MB / 0.5081 GB, free: 15.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.8955, allocations: 12.03 kB / 0.5081 GB, free: 15.73 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003506/0.899, allocations: 0.7216 MB / 0.5088 GB, free: 15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02527/0.9244, allocations: 3.278 MB / 0.512 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008227/0.9326, allocations: 2.056 MB / 0.514 GB, free: 9.602 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004771/0.9332, allocations: 279.1 kB / 0.5143 GB, free: 9.328 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002557/0.9357, allocations: 355.9 kB / 0.5146 GB, free: 8.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3442/1.28, allocations: 8.924 MB / 0.5233 GB, free: 112.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002072/1.28, allocations: 17.66 kB / 0.5233 GB, free: 112.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002237/1.283, allocations: 161.3 kB / 0.5235 GB, free: 112.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00269/1.285, allocations: 1.044 MB / 0.5245 GB, free: 112.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02586/1.311, allocations: 8.41 MB / 0.5327 GB, free: 112.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06353/1.375, allocations: 29.12 MB / 0.5612 GB, free: 97.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007577/1.382, allocations: 3.019 MB / 0.5641 GB, free: 96.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002304/1.385, allocations: 0.9805 MB / 0.5651 GB, free: 95.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01499/1.4, allocations: 4.872 MB / 0.5698 GB, free: 93.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.4, allocations: 39.47 kB / 0.5699 GB, free: 93.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=126): time 5.34e-06/1.4, allocations: 0 / 0.5699 GB, free: 93.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=126): time 0.008966/1.409, allocations: 2.095 MB / 0.5719 GB, free: 92.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/1.409, allocations: 58.81 kB / 0.572 GB, free: 92.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005374/1.414, allocations: 2.239 MB / 0.5742 GB, free: 91.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002551/1.415, allocations: 41.95 kB / 0.5742 GB, free: 91.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00232/1.417, allocations: 2.639 MB / 0.5768 GB, free: 90.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008231/1.418, allocations: 496.4 kB / 0.5772 GB, free: 89.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005665/1.419, allocations: 85.72 kB / 0.5773 GB, free: 89.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005473/1.419, allocations: 0.5499 MB / 0.5779 GB, free: 89.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/1.422, allocations: 1.305 MB / 0.5791 GB, free: 88.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005217/1.428, allocations: 4.003 MB / 0.583 GB, free: 84.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005206/1.433, allocations: 2.341 MB / 0.5853 GB, free: 84.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/1.433, allocations: 24.59 kB / 0.5854 GB, free: 84.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01337/1.447, allocations: 4.897 MB / 0.5901 GB, free: 82.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.469e-05/1.447, allocations: 45.69 kB / 0.5902 GB, free: 82.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/1.447, allocations: 99.91 kB / 0.5903 GB, free: 82.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/1.447, allocations: 140.6 kB / 0.5904 GB, free: 82.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005637/1.453, allocations: 0.9708 MB / 0.5914 GB, free: 82.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001986/1.453, allocations: 193.8 kB / 0.5915 GB, free: 82.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004605/1.458, allocations: 0.5957 MB / 0.5921 GB, free: 81.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009831/1.459, allocations: 276.3 kB / 0.5924 GB, free: 81.84 MB / 458.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.0008203/1.459, allocations: 441.8 kB / 0.5928 GB, free: 81.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005006/1.46, allocations: 210.7 kB / 0.593 GB, free: 81.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007285/1.461, allocations: 267.4 kB / 0.5933 GB, free: 81.22 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.076e-05/1.461, allocations: 14.81 kB / 0.5933 GB, free: 81.22 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.461, allocations: 0 / 0.5933 GB, free: 81.22 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.461, allocations: 7.328 kB / 0.5933 GB, free: 81.22 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/1.475, allocations: 5.599 MB / 0.5988 GB, free: 79.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.475, allocations: 4 kB / 0.5988 GB, free: 79.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/1.477, allocations: 145.9 kB / 0.5989 GB, free: 78.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.742e-05/1.477, allocations: 8 kB / 0.5989 GB, free: 78.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-05/1.477, allocations: 25.73 kB / 0.5989 GB, free: 78.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/1.477, allocations: 8 kB / 0.5989 GB, free: 78.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.477, allocations: 11.94 kB / 0.5989 GB, free: 78.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/1.48, allocations: 2.096 MB / 0.601 GB, free: 76.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007392/1.481, allocations: 293.2 kB / 0.6013 GB, free: 76.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005578/1.481, allocations: 28.62 kB / 0.6013 GB, free: 76.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.483, allocations: 39.78 kB / 0.6013 GB, free: 76.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/1.483, allocations: 61.22 kB / 0.6014 GB, free: 76.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.483, allocations: 41.09 kB / 0.6014 GB, free: 76.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003417/1.486, allocations: 1.508 MB / 0.6029 GB, free: 74.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.486, allocations: 0 / 0.6029 GB, free: 74.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005138/1.492, allocations: 1.014 MB / 0.6039 GB, free: 73.92 MB / 458.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.003906/1.496, allocations: 3.855 MB / 0.6077 GB, free: 70.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006547/1.502, allocations: 2.928 MB / 0.6105 GB, free: 67.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/1.502, allocations: 0 / 0.6105 GB, free: 67.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001932/1.504, allocations: 0.7266 MB / 0.6112 GB, free: 66.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.506, allocations: 236.4 kB / 0.6115 GB, free: 66.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02204/1.528, allocations: 6.971 MB / 0.6183 GB, free: 60.42 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00756/1.536, allocations: 3.037 MB / 0.6212 GB, free: 58.05 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009338/1.545, allocations: 1.481 MB / 0.6227 GB, free: 57.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004815/1.55, allocations: 1.485 MB / 0.6241 GB, free: 55.75 MB / 458.7 MB Notification: Performance of SimCode: time 3.296e-06/1.55, allocations: 0 / 0.6241 GB, free: 55.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/1.665, allocations: 48.47 MB / 0.6715 GB, free: 9.168 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/1.666, allocations: 144.6 kB / 0.6716 GB, free: 8.945 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.967/5.633, allocations: 4 kB / 0.6716 GB, free: 8.941 MB / 458.7 MB