Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.06/2.06, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.463e-05, allocations: 0 / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5555, allocations: 81.05 MB / 402.9 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.5559, allocations: 72.83 kB / 403 MB, free: 8.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06874/0.6247, allocations: 16.31 MB / 419.3 MB, free: 8.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6247, allocations: 0 / 419.3 MB, free: 8.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.635e-05/0.6248, allocations: 24 kB / 419.3 MB, free: 8.051 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002896/0.6277, allocations: 0.9783 MB / 420.3 MB, free: 7.027 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.6278, allocations: 12.03 kB / 420.3 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005165/0.6283, allocations: 173.4 kB / 420.5 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/0.6307, allocations: 238.3 kB / 420.7 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.6326, allocations: 0.5535 MB / 421.3 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.742e-05/0.6327, allocations: 65.98 kB / 421.3 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/0.633, allocations: 87.97 kB / 421.4 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004104/0.6371, allocations: 1.684 MB / 423.1 MB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.6372, allocations: 3.938 kB / 423.1 MB, free: 3.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.6374, allocations: 43.97 kB / 423.1 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006408/0.6381, allocations: 173.4 kB / 423.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003208/0.6413, allocations: 1.122 MB / 424.4 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.6543, allocations: 7.427 MB / 431.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.6548, allocations: 150.5 kB / 432 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.6551, allocations: 80.81 kB / 432.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.6551, allocations: 7.984 kB / 432.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.6552, allocations: 38.55 kB / 432.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.886e-06/0.6552, allocations: 0 / 432.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.000761/0.656, allocations: 248.9 kB / 432.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.656, allocations: 55.41 kB / 432.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.6578, allocations: 0.8396 MB / 433.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.6579, allocations: 25.7 kB / 433.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006655/0.6586, allocations: 0.6786 MB / 434 MB, free: 8.762 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.434e-05/0.6587, allocations: 55.44 kB / 434 MB, free: 8.707 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.6588, allocations: 20 kB / 434 MB, free: 8.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.659, allocations: 390.8 kB / 434.4 MB, free: 8.297 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005953/0.6596, allocations: 221.9 kB / 434.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.6608, allocations: 0.9034 MB / 435.5 MB, free: 6.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.6619, allocations: 435.4 kB / 436 MB, free: 6.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/0.6619, allocations: 8 kB / 436 MB, free: 6.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002875/0.6648, allocations: 1.099 MB / 437.1 MB, free: 5.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.6649, allocations: 19.94 kB / 437.1 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.03e-05/0.6649, allocations: 24 kB / 437.1 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.671e-05/0.665, allocations: 36 kB / 437.1 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.6665, allocations: 243.5 kB / 437.4 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.09e-05/0.6666, allocations: 47.8 kB / 437.4 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.6678, allocations: 150.8 kB / 437.6 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.6679, allocations: 67.98 kB / 437.6 MB, free: 4.719 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * Number of states: 0 () * Number of discrete variables: 18 (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],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 123 * Array equations: 0 * 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.0002642/0.6682, allocations: 194.1 kB / 437.8 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.6684, allocations: 71.06 kB / 437.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000836/0.6692, allocations: 276.4 kB / 438.2 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6692, allocations: 0 / 438.2 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6692, allocations: 0 / 438.2 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.6693, allocations: 0 / 438.2 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.6709, allocations: 0.7353 MB / 438.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.6709, allocations: 3.953 kB / 438.9 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.6713, allocations: 31.97 kB / 438.9 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6713, allocations: 0 / 438.9 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.6714, allocations: 15.98 kB / 439 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.6714, allocations: 0 / 439 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6714, allocations: 3.938 kB / 439 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.6721, allocations: 354.6 kB / 439.3 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/0.6725, allocations: 168.1 kB / 439.5 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.6727, allocations: 4 kB / 439.5 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.6732, allocations: 15.98 kB / 439.5 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.6733, allocations: 11.98 kB / 439.5 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.6733, allocations: 11.98 kB / 439.5 MB, free: 2.746 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00135/0.6747, allocations: 0.5928 MB / 440.1 MB, free: 2.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.6747, allocations: 0 / 440.1 MB, free: 2.156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001252/0.6759, allocations: 215.2 kB / 440.3 MB, free: 1.945 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * 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.00106/0.677, allocations: 0.895 MB / 441.2 MB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.6785, allocations: 0.5401 MB / 441.8 MB, free: 500 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6785, allocations: 0 / 441.8 MB, free: 500 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.6788, allocations: 87.89 kB / 441.8 MB, free: 412 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.6795, allocations: 79.22 kB / 441.9 MB, free: 332 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.6839, allocations: 1.383 MB / 443.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.6852, allocations: 1.163 MB / 444.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00133/0.6866, allocations: 273.8 kB / 444.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006994/0.6873, allocations: 339.3 kB / 445.1 MB, free: 13.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6873, allocations: 4 kB / 445.1 MB, free: 13.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05294/0.7403, allocations: 13.27 MB / 458.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003949/0.7407, allocations: 153.8 kB / 458.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/3.61, allocations: 0 / 458.5 MB, free: 15.68 MB / 394.7 MB