Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.358e-05, allocations: 4 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4096, allocations: 61.87 MB / 408.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2022/0.6118, allocations: 97.76 MB / 0.4948 GB, free: 8.719 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.6121, allocations: 75.95 kB / 0.4949 GB, free: 8.645 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.679/1.291, allocations: 69.72 MB / 0.563 GB, free: 77.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.495e-06/1.291, allocations: 0 / 0.563 GB, free: 77.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001301/1.291, allocations: 71.92 kB / 0.563 GB, free: 77.03 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: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.009841/1.301, allocations: 3.041 MB / 0.566 GB, free: 73.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.301, allocations: 8.031 kB / 0.566 GB, free: 73.93 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003134/1.304, allocations: 0.7255 MB / 0.5667 GB, free: 73.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02412/1.329, allocations: 3.284 MB / 0.5699 GB, free: 69.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00688/1.336, allocations: 2.083 MB / 0.572 GB, free: 67.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003286/1.336, allocations: 275.1 kB / 0.5722 GB, free: 67.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002213/1.338, allocations: 351.9 kB / 0.5726 GB, free: 67.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02553/1.364, allocations: 8.941 MB / 0.5813 GB, free: 57.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/1.364, allocations: 19.81 kB / 0.5813 GB, free: 57.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002056/1.366, allocations: 159.9 kB / 0.5815 GB, free: 57.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002086/1.368, allocations: 1.045 MB / 0.5825 GB, free: 56.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02252/1.391, allocations: 8.43 MB / 0.5907 GB, free: 48.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05653/1.447, allocations: 29.2 MB / 0.6192 GB, free: 18.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007315/1.455, allocations: 3.03 MB / 0.6222 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/1.457, allocations: 0.9692 MB / 0.6231 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01411/1.471, allocations: 4.888 MB / 0.6279 GB, free: 8.793 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/1.471, allocations: 47.3 kB / 0.628 GB, free: 8.738 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 5.64e-06/1.471, allocations: 0 / 0.628 GB, free: 8.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.008724/1.48, allocations: 2.09 MB / 0.63 GB, free: 6.641 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/1.48, allocations: 60.19 kB / 0.6301 GB, free: 6.566 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005268/1.485, allocations: 2.267 MB / 0.6323 GB, free: 4.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002015/1.485, allocations: 37.7 kB / 0.6323 GB, free: 4.227 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/1.487, allocations: 2.667 MB / 0.6349 GB, free: 1.523 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007121/1.488, allocations: 493.7 kB / 0.6354 GB, free: 1.035 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005027/1.489, allocations: 88 kB / 0.6355 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003658/1.489, allocations: 0.5007 MB / 0.636 GB, free: 448 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003616/1.493, allocations: 1.301 MB / 0.6372 GB, free: 15.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006517/1.499, allocations: 4.036 MB / 0.6412 GB, free: 9.703 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005798/1.505, allocations: 2.352 MB / 0.6435 GB, free: 7.352 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/1.505, allocations: 28 kB / 0.6435 GB, free: 7.324 MB / 458.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.0143/1.52, allocations: 4.864 MB / 0.6482 GB, free: 2.461 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.52, allocations: 48 kB / 0.6483 GB, free: 2.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/1.52, allocations: 96 kB / 0.6484 GB, free: 2.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/1.52, allocations: 148 kB / 0.6485 GB, free: 2.176 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006164/1.526, allocations: 0.9786 MB / 0.6495 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002485/1.527, allocations: 191.2 kB / 0.6497 GB, free: 1.008 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004917/1.532, allocations: 0.5995 MB / 0.6502 GB, free: 412 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/1.533, allocations: 284 kB / 0.6505 GB, free: 128 kB / 458.7 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.001132/1.534, allocations: 432.8 kB / 0.6509 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004953/1.534, allocations: 213.1 kB / 0.6511 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008139/1.535, allocations: 267.4 kB / 0.6514 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.635e-05/1.535, allocations: 19.95 kB / 0.6514 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.535, allocations: 0 / 0.6514 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.535, allocations: 7.984 kB / 0.6514 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.552, allocations: 5.607 MB / 0.6569 GB, free: 9.461 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/1.552, allocations: 4.562 kB / 0.6569 GB, free: 9.457 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.553, allocations: 135.8 kB / 0.657 GB, free: 9.324 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.219e-05/1.553, allocations: 12 kB / 0.657 GB, free: 9.312 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/1.553, allocations: 23.98 kB / 0.6571 GB, free: 9.289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/1.553, allocations: 15.88 kB / 0.6571 GB, free: 9.273 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/1.553, allocations: 11.95 kB / 0.6571 GB, free: 9.262 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003862/1.557, allocations: 2.099 MB / 0.6591 GB, free: 6.957 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007715/1.558, allocations: 305.9 kB / 0.6594 GB, free: 6.637 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/1.558, allocations: 23.97 kB / 0.6594 GB, free: 6.613 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.56, allocations: 39.95 kB / 0.6595 GB, free: 6.574 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/1.56, allocations: 64.38 kB / 0.6595 GB, free: 6.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.56, allocations: 44 kB / 0.6596 GB, free: 6.469 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003951/1.564, allocations: 1.519 MB / 0.6611 GB, free: 4.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.564, allocations: 0 / 0.6611 GB, free: 4.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005569/1.57, allocations: 1.019 MB / 0.6621 GB, free: 3.906 MB / 474.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.00526/1.575, allocations: 3.869 MB / 0.6658 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007657/1.583, allocations: 2.94 MB / 0.6687 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.583, allocations: 0 / 0.6687 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001655/1.584, allocations: 0.7253 MB / 0.6694 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/1.586, allocations: 241.1 kB / 0.6696 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02552/1.612, allocations: 7.435 MB / 0.6769 GB, free: 4.453 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007694/1.619, allocations: 3.053 MB / 0.6799 GB, free: 1.371 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004185/1.624, allocations: 1.53 MB / 0.6814 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.272e-06/1.624, allocations: 0 / 0.6814 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.824/5.448, allocations: 61.28 MB / 0.7412 GB, free: 143.5 MB / 0.5105 GB