Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.531/2.531, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.873e-05/3.873e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4152, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2547/0.67, allocations: 96.4 MB / 478.7 MB, free: 12 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.6703, allocations: 71.97 kB / 478.8 MB, free: 11.93 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6425/1.313, allocations: 68.68 MB / 0.5346 GB, free: 112.9 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.655e-06/1.313, allocations: 2.844 kB / 0.5346 GB, free: 112.9 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001366/1.313, allocations: 61.31 kB / 0.5347 GB, free: 112.9 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.01043/1.324, allocations: 3.049 MB / 0.5376 GB, free: 111.4 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.24e-05/1.324, allocations: 10.69 kB / 0.5377 GB, free: 111.4 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003521/1.327, allocations: 0.7255 MB / 0.5384 GB, free: 111.3 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02395/1.351, allocations: 3.285 MB / 0.5416 GB, free: 111.1 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007346/1.359, allocations: 2.079 MB / 0.5436 GB, free: 110.6 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/1.359, allocations: 277.5 kB / 0.5439 GB, free: 110.6 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002332/1.361, allocations: 356.2 kB / 0.5442 GB, free: 110.6 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02562/1.387, allocations: 8.94 MB / 0.5529 GB, free: 109.5 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/1.387, allocations: 18.97 kB / 0.553 GB, free: 109.5 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002124/1.389, allocations: 163.4 kB / 0.5531 GB, free: 109.5 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002155/1.391, allocations: 1.054 MB / 0.5541 GB, free: 109.5 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/1.415, allocations: 8.411 MB / 0.5624 GB, free: 107.2 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05607/1.471, allocations: 29.22 MB / 0.5909 GB, free: 81.39 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007341/1.478, allocations: 3.019 MB / 0.5938 GB, free: 78.16 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/1.48, allocations: 0.9766 MB / 0.5948 GB, free: 77.18 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01479/1.495, allocations: 4.877 MB / 0.5996 GB, free: 72.08 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/1.495, allocations: 39.34 kB / 0.5996 GB, free: 72.03 MB / 458.8 MB Notification: Performance of pre-optimization done (n=126): time 8.787e-06/1.495, allocations: 0 / 0.5996 GB, free: 72.03 MB / 458.8 MB Notification: Performance of matching and sorting (n=126): time 0.009506/1.505, allocations: 2.094 MB / 0.6016 GB, free: 69.93 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/1.505, allocations: 60.19 kB / 0.6017 GB, free: 69.86 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004883/1.51, allocations: 2.267 MB / 0.6039 GB, free: 67.57 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002261/1.51, allocations: 37.7 kB / 0.6039 GB, free: 67.52 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002161/1.512, allocations: 2.647 MB / 0.6065 GB, free: 64.88 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007486/1.513, allocations: 0.4897 MB / 0.607 GB, free: 64.39 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005164/1.514, allocations: 88 kB / 0.6071 GB, free: 64.3 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004636/1.514, allocations: 0.5437 MB / 0.6076 GB, free: 63.75 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003264/1.517, allocations: 1.301 MB / 0.6089 GB, free: 62.44 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00499/1.522, allocations: 4.036 MB / 0.6128 GB, free: 57.02 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005062/1.528, allocations: 2.352 MB / 0.6151 GB, free: 54.67 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.525e-05/1.528, allocations: 28 kB / 0.6152 GB, free: 54.64 MB / 458.8 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01297/1.541, allocations: 4.91 MB / 0.62 GB, free: 49.73 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.308e-05/1.541, allocations: 48 kB / 0.62 GB, free: 49.68 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/1.541, allocations: 100 kB / 0.6201 GB, free: 49.58 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/1.541, allocations: 140 kB / 0.6202 GB, free: 49.45 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005882/1.547, allocations: 0.9786 MB / 0.6212 GB, free: 48.46 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001848/1.547, allocations: 191.3 kB / 0.6214 GB, free: 48.28 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0048/1.552, allocations: 0.611 MB / 0.622 GB, free: 47.66 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009492/1.553, allocations: 276 kB / 0.6222 GB, free: 47.39 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (538): * Single equations (assignments): 532 * 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.0009349/1.554, allocations: 432.8 kB / 0.6226 GB, free: 46.96 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004916/1.555, allocations: 217 kB / 0.6229 GB, free: 46.75 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008445/1.555, allocations: 275.4 kB / 0.6231 GB, free: 46.47 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-05/1.556, allocations: 15.91 kB / 0.6231 GB, free: 46.46 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.556, allocations: 4 kB / 0.6231 GB, free: 46.46 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/1.556, allocations: 7.984 kB / 0.6231 GB, free: 46.45 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/1.571, allocations: 5.598 MB / 0.6286 GB, free: 40.75 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.571, allocations: 4 kB / 0.6286 GB, free: 40.75 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.573, allocations: 140.1 kB / 0.6287 GB, free: 40.61 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.116e-05/1.573, allocations: 12 kB / 0.6288 GB, free: 40.6 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/1.573, allocations: 27.95 kB / 0.6288 GB, free: 40.57 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.942e-05/1.573, allocations: 19.19 kB / 0.6288 GB, free: 40.56 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/1.573, allocations: 7.938 kB / 0.6288 GB, free: 40.55 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004084/1.577, allocations: 2.099 MB / 0.6309 GB, free: 38.26 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.578, allocations: 298 kB / 0.6311 GB, free: 37.95 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008952/1.579, allocations: 23.95 kB / 0.6312 GB, free: 37.92 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.581, allocations: 39.95 kB / 0.6312 GB, free: 37.88 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003829/1.581, allocations: 64.39 kB / 0.6313 GB, free: 37.82 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/1.582, allocations: 43.89 kB / 0.6313 GB, free: 37.78 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005047/1.587, allocations: 1.519 MB / 0.6328 GB, free: 36.24 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.81e-07/1.587, allocations: 4 kB / 0.6328 GB, free: 36.23 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00761/1.594, allocations: 1.003 MB / 0.6338 GB, free: 35.23 MB / 458.8 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.005604/1.6, allocations: 3.869 MB / 0.6376 GB, free: 31.21 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.008609/1.609, allocations: 2.939 MB / 0.6404 GB, free: 28.3 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/1.609, allocations: 1.125 kB / 0.6404 GB, free: 28.3 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002/1.611, allocations: 0.7292 MB / 0.6411 GB, free: 27.57 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/1.613, allocations: 242.9 kB / 0.6414 GB, free: 27.34 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03005/1.643, allocations: 7.008 MB / 0.6482 GB, free: 20.23 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008618/1.652, allocations: 3.045 MB / 0.6512 GB, free: 17.17 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.008074/1.66, allocations: 1.484 MB / 0.6526 GB, free: 15.68 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004751/1.665, allocations: 1.495 MB / 0.6541 GB, free: 14.19 MB / 458.8 MB Notification: Performance of SimCode: time 2.054e-06/1.665, allocations: 0 / 0.6541 GB, free: 14.19 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1474/1.812, allocations: 48.83 MB / 0.7018 GB, free: 13.7 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003249/1.813, allocations: 148.5 kB / 0.7019 GB, free: 13.47 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.948/5.761, allocations: 7.938 kB / 0.7019 GB, free: 13.46 MB / 0.4949 GB