Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.635/2.635, allocations: 270 MB / 282.6 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.753e-05, allocations: 4 kB / 347.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4777, allocations: 61.86 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1884/0.6661, allocations: 98.15 MB / 0.4952 GB, free: 8.469 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/0.6665, allocations: 79.95 kB / 0.4953 GB, free: 8.391 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6705/1.337, allocations: 76.34 MB / 0.5698 GB, free: 70.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.337, allocations: 0 / 0.5698 GB, free: 70.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000217/1.337, allocations: 64 kB / 0.5699 GB, free: 70.26 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: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.01574/1.353, allocations: 3.611 MB / 0.5734 GB, free: 66.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.353, allocations: 15.97 kB / 0.5734 GB, free: 66.57 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004039/1.357, allocations: 0.7422 MB / 0.5741 GB, free: 65.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02421/1.381, allocations: 3.31 MB / 0.5774 GB, free: 62.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008416/1.39, allocations: 2.442 MB / 0.5798 GB, free: 60 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/1.39, allocations: 271.2 kB / 0.58 GB, free: 59.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002281/1.393, allocations: 359.9 kB / 0.5804 GB, free: 59.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02731/1.42, allocations: 9.45 MB / 0.5896 GB, free: 49.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/1.42, allocations: 19.81 kB / 0.5896 GB, free: 49.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002341/1.423, allocations: 163.9 kB / 0.5898 GB, free: 49.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002228/1.425, allocations: 1.1 MB / 0.5908 GB, free: 48.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02493/1.45, allocations: 9.018 MB / 0.5996 GB, free: 39.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07167/1.521, allocations: 32.88 MB / 0.6318 GB, free: 5.305 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/1.532, allocations: 3.508 MB / 0.6352 GB, free: 1.547 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/1.534, allocations: 1.083 MB / 0.6362 GB, free: 472 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02298/1.557, allocations: 7.498 MB / 0.6436 GB, free: 8.422 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.287e-05/1.557, allocations: 51.28 kB / 0.6436 GB, free: 8.363 MB / 458.7 MB Notification: Performance of pre-optimization done (n=135): time 6.532e-06/1.557, allocations: 0 / 0.6436 GB, free: 8.363 MB / 458.7 MB Notification: Performance of matching and sorting (n=135): time 0.01338/1.571, allocations: 2.519 MB / 0.6461 GB, free: 5.832 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/1.571, allocations: 119.5 kB / 0.6462 GB, free: 5.691 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006493/1.577, allocations: 2.453 MB / 0.6486 GB, free: 3.219 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002298/1.578, allocations: 45.69 kB / 0.6486 GB, free: 3.168 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002834/1.581, allocations: 2.764 MB / 0.6513 GB, free: 372 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009068/1.582, allocations: 0.5171 MB / 0.6518 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005109/1.582, allocations: 84 kB / 0.6519 GB, free: 15.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004632/1.583, allocations: 0.5127 MB / 0.6524 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003754/1.586, allocations: 1.356 MB / 0.6537 GB, free: 13.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006604/1.593, allocations: 4.194 MB / 0.6578 GB, free: 8.238 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005981/1.599, allocations: 2.458 MB / 0.6602 GB, free: 5.777 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.302e-05/1.599, allocations: 28 kB / 0.6603 GB, free: 5.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=607) (initialization): time 0.01501/1.614, allocations: 5.07 MB / 0.6652 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.614, allocations: 48 kB / 0.6653 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/1.615, allocations: 104.9 kB / 0.6654 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/1.615, allocations: 148 kB / 0.6655 GB, free: 392 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006491/1.621, allocations: 1.041 MB / 0.6665 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002668/1.622, allocations: 203.2 kB / 0.6667 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005234/1.627, allocations: 0.6379 MB / 0.6673 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/1.628, allocations: 307.9 kB / 0.6676 GB, free: 14.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 465 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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 (559): * Single equations (assignments): 553 * 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.001705/1.63, allocations: 460.6 kB / 0.6681 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006516/1.63, allocations: 232.9 kB / 0.6683 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/1.632, allocations: 301.1 kB / 0.6686 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.569e-05/1.632, allocations: 16 kB / 0.6686 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.348e-05/1.632, allocations: 3.984 kB / 0.6686 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/1.632, allocations: 7.984 kB / 0.6686 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/1.651, allocations: 6.161 MB / 0.6746 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/1.651, allocations: 8 kB / 0.6746 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/1.652, allocations: 163.7 kB / 0.6748 GB, free: 6.688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-05/1.652, allocations: 12 kB / 0.6748 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/1.652, allocations: 31.98 kB / 0.6748 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.308e-05/1.652, allocations: 16.5 kB / 0.6748 GB, free: 6.629 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.83e-05/1.652, allocations: 15.94 kB / 0.6748 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004488/1.657, allocations: 2.632 MB / 0.6774 GB, free: 3.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009998/1.658, allocations: 341.6 kB / 0.6777 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000701/1.659, allocations: 40.03 kB / 0.6778 GB, free: 3.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/1.66, allocations: 39.97 kB / 0.6778 GB, free: 3.227 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003583/1.661, allocations: 88.27 kB / 0.6779 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.661, allocations: 47.98 kB / 0.678 GB, free: 3.094 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004393/1.665, allocations: 1.67 MB / 0.6796 GB, free: 1.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.262e-06/1.665, allocations: 0 / 0.6796 GB, free: 1.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005661/1.671, allocations: 1.05 MB / 0.6806 GB, free: 364 kB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.005745/1.677, allocations: 5.291 MB / 0.6858 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007798/1.685, allocations: 3.071 MB / 0.6888 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.685, allocations: 4.062 kB / 0.6888 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/1.686, allocations: 0.7753 MB / 0.6895 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/1.689, allocations: 289 kB / 0.6898 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05784/1.746, allocations: 16.8 MB / 0.7062 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006992/1.754, allocations: 3.195 MB / 0.7093 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004634/1.758, allocations: 1.663 MB / 0.711 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of SimCode: time 1.693e-06/1.758, allocations: 0 / 0.711 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.705/5.463, allocations: 66.01 MB / 0.7754 GB, free: 114.1 MB / 0.5105 GB