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.413/2.413, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.56e-05, allocations: 3.938 kB / 299.5 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3814, allocations: 54.84 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.5454, allocations: 88.7 MB / 443 MB, free: 9.523 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.5457, allocations: 75.95 kB / 443.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6311/1.177, allocations: 66.37 MB / 0.4975 GB, free: 102.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.177, allocations: 0 / 0.4975 GB, free: 102.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001564/1.177, allocations: 61.25 kB / 0.4976 GB, free: 102.9 MB / 426.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.0114/1.188, allocations: 3.026 MB / 0.5005 GB, free: 101.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/1.189, allocations: 8.844 kB / 0.5006 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02421/1.213, allocations: 3.284 MB / 0.5038 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007137/1.22, allocations: 2.064 MB / 0.5058 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/1.22, allocations: 116.9 kB / 0.5059 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/1.222, allocations: 208.8 kB / 0.5061 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01449/1.237, allocations: 6.403 MB / 0.5123 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0231/1.26, allocations: 8.467 MB / 0.5206 GB, free: 98.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/1.26, allocations: 22.14 kB / 0.5206 GB, free: 98.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001854/1.262, allocations: 11.53 kB / 0.5206 GB, free: 98.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002049/1.264, allocations: 1.046 MB / 0.5217 GB, free: 98.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05192/1.316, allocations: 26.56 MB / 0.5476 GB, free: 77.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004091/1.32, allocations: 2.696 MB / 0.5502 GB, free: 74.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/1.322, allocations: 0.8803 MB / 0.5511 GB, free: 74.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/1.324, allocations: 1.624 MB / 0.5527 GB, free: 72.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/1.324, allocations: 47.86 kB / 0.5527 GB, free: 72.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=162): time 5.23e-06/1.324, allocations: 0 / 0.5527 GB, free: 72.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=162): time 0.006936/1.331, allocations: 2.138 MB / 0.5548 GB, free: 69.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/1.331, allocations: 64.72 kB / 0.5549 GB, free: 69.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005308/1.336, allocations: 2.038 MB / 0.5569 GB, free: 67.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003087/1.337, allocations: 25.7 kB / 0.5569 GB, free: 67.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002579/1.339, allocations: 2.626 MB / 0.5594 GB, free: 65.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.34, allocations: 0.5937 MB / 0.56 GB, free: 64.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004705/1.341, allocations: 0 / 0.56 GB, free: 64.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005542/1.341, allocations: 0.5525 MB / 0.5606 GB, free: 63.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004022/1.345, allocations: 1.349 MB / 0.5619 GB, free: 62.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007157/1.353, allocations: 4.303 MB / 0.5661 GB, free: 56.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007363/1.36, allocations: 2.482 MB / 0.5685 GB, free: 54.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/1.36, allocations: 36 kB / 0.5685 GB, free: 54.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01816/1.378, allocations: 4.993 MB / 0.5734 GB, free: 49.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/1.379, allocations: 52 kB / 0.5735 GB, free: 49.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001898/1.379, allocations: 104 kB / 0.5736 GB, free: 49.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006774/1.386, allocations: 156 kB / 0.5737 GB, free: 48.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009164/1.395, allocations: 1.072 MB / 0.5748 GB, free: 47.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002658/1.395, allocations: 207.2 kB / 0.575 GB, free: 47.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006707/1.402, allocations: 0.5364 MB / 0.5755 GB, free: 47.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/1.403, allocations: 299.9 kB / 0.5758 GB, free: 46.88 MB / 426.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.001212/1.404, allocations: 369.9 kB / 0.5761 GB, free: 46.51 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005251/1.41, allocations: 1.79 MB / 0.5779 GB, free: 44.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006328/1.41, allocations: 213.2 kB / 0.5781 GB, free: 44.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006372/1.417, allocations: 2.064 MB / 0.5801 GB, free: 42.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-05/1.417, allocations: 22.42 kB / 0.5801 GB, free: 42.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.417, allocations: 0 / 0.5801 GB, free: 42.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/1.417, allocations: 3.984 kB / 0.5801 GB, free: 42.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/1.435, allocations: 6.05 MB / 0.586 GB, free: 36.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/1.435, allocations: 15.94 kB / 0.586 GB, free: 36.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.436, allocations: 199.6 kB / 0.5862 GB, free: 35.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.546e-05/1.436, allocations: 16 kB / 0.5862 GB, free: 35.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/1.436, allocations: 23.98 kB / 0.5863 GB, free: 35.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.698e-05/1.437, allocations: 19.94 kB / 0.5863 GB, free: 35.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/1.437, allocations: 11.94 kB / 0.5863 GB, free: 35.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005203/1.442, allocations: 2.977 MB / 0.5892 GB, free: 32.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/1.442, allocations: 297.9 kB / 0.5895 GB, free: 32.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005634/1.443, allocations: 16 kB / 0.5895 GB, free: 32.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.444, allocations: 27.95 kB / 0.5895 GB, free: 32.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/1.445, allocations: 100.5 kB / 0.5896 GB, free: 32.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.445, allocations: 59.36 kB / 0.5897 GB, free: 31.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00272/1.448, allocations: 1.324 MB / 0.591 GB, free: 30.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.448, allocations: 0 / 0.591 GB, free: 30.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005237/1.453, allocations: 0.9135 MB / 0.5919 GB, free: 29.71 MB / 426.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.004691/1.458, allocations: 6.106 MB / 0.5978 GB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00611/1.464, allocations: 3.224 MB / 0.601 GB, free: 20.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.464, allocations: 4.312 kB / 0.601 GB, free: 20.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/1.465, allocations: 0.9206 MB / 0.6019 GB, free: 19.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/1.467, allocations: 162.2 kB / 0.602 GB, free: 19.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02188/1.488, allocations: 7.418 MB / 0.6093 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006224/1.495, allocations: 3.051 MB / 0.6123 GB, free: 8.367 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007052/1.502, allocations: 1.707 MB / 0.6139 GB, free: 6.652 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003448/1.505, allocations: 1.522 MB / 0.6154 GB, free: 5.129 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/1.505, allocations: 0 / 0.6154 GB, free: 5.129 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1492/1.655, allocations: 47.58 MB / 0.6619 GB, free: 5.75 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003821/1.655, allocations: 142 kB / 0.662 GB, free: 5.547 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.978/5.633, allocations: 0 / 0.662 GB, free: 5.547 MB / 474.7 MB