Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.616/2.616, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.029e-05/4.048e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4264, allocations: 54.85 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2542/0.6806, allocations: 87.48 MB / 447.3 MB, free: 9.312 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003947/0.6811, allocations: 80.73 kB / 447.4 MB, free: 9.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07631/0.7574, allocations: 16.28 MB / 463.7 MB, free: 8.887 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7575, allocations: 0 / 463.7 MB, free: 8.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.659e-05/0.7576, allocations: 16 kB / 463.7 MB, free: 8.871 MB / 394.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.003146/0.7607, allocations: 0.9823 MB / 464.7 MB, free: 7.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.7608, allocations: 8.031 kB / 464.7 MB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005989/0.7614, allocations: 181.3 kB / 464.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/0.7638, allocations: 226.4 kB / 465.1 MB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.7658, allocations: 0.5573 MB / 465.7 MB, free: 6.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.7659, allocations: 69.98 kB / 465.7 MB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/0.7663, allocations: 87.95 kB / 465.8 MB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004492/0.7708, allocations: 1.677 MB / 467.5 MB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/0.7709, allocations: 11.89 kB / 467.5 MB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.7711, allocations: 43.97 kB / 467.5 MB, free: 4.758 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006371/0.7718, allocations: 173.4 kB / 467.7 MB, free: 4.586 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/0.7754, allocations: 1.118 MB / 468.8 MB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.7893, allocations: 7.432 MB / 476.3 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007579/0.7901, allocations: 154.5 kB / 476.4 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.7905, allocations: 72.83 kB / 476.5 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.497e-05/0.7906, allocations: 11.97 kB / 476.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.7907, allocations: 34.56 kB / 476.5 MB, free: 11.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 7.765e-06/0.7907, allocations: 0 / 476.5 MB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.000809/0.7915, allocations: 241.6 kB / 476.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.7916, allocations: 63.28 kB / 476.8 MB, free: 11.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.7935, allocations: 0.8279 MB / 477.7 MB, free: 10.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-05/0.7936, allocations: 25.7 kB / 477.7 MB, free: 10.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007238/0.7944, allocations: 0.6747 MB / 478.4 MB, free: 9.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.7945, allocations: 55.44 kB / 478.4 MB, free: 9.535 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.7946, allocations: 24 kB / 478.4 MB, free: 9.512 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002634/0.7949, allocations: 386.8 kB / 478.8 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007072/0.7956, allocations: 233.9 kB / 479 MB, free: 8.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.7969, allocations: 0.8839 MB / 479.9 MB, free: 7.672 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.798, allocations: 448.2 kB / 480.4 MB, free: 7.234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-05/0.7981, allocations: 8 kB / 480.4 MB, free: 7.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003234/0.8013, allocations: 1.094 MB / 481.5 MB, free: 6.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.8015, allocations: 17 kB / 481.5 MB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.521e-05/0.8015, allocations: 24 kB / 481.5 MB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.611e-05/0.8016, allocations: 40 kB / 481.5 MB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.8033, allocations: 247.5 kB / 481.8 MB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.421e-05/0.8034, allocations: 43.86 kB / 481.8 MB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.8049, allocations: 162.3 kB / 482 MB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.8051, allocations: 64 kB / 482 MB, free: 5.539 MB / 410.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.0003023/0.8054, allocations: 198.1 kB / 482.2 MB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.8056, allocations: 71.06 kB / 482.3 MB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000887/0.8065, allocations: 272.3 kB / 482.6 MB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.8066, allocations: 7.984 kB / 482.6 MB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8066, allocations: 3.938 kB / 482.6 MB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.8066, allocations: 0 / 482.6 MB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.8083, allocations: 0.7315 MB / 483.3 MB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.8084, allocations: 0 / 483.3 MB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.8088, allocations: 35.91 kB / 483.4 MB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/0.8089, allocations: 4 kB / 483.4 MB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.8089, allocations: 4 kB / 483.4 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.8089, allocations: 0 / 483.4 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8089, allocations: 0 / 483.4 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007609/0.8097, allocations: 354.5 kB / 483.7 MB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.8101, allocations: 148.1 kB / 483.9 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.8102, allocations: 3.938 kB / 483.9 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.8107, allocations: 19.98 kB / 483.9 MB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.8108, allocations: 15.91 kB / 483.9 MB, free: 3.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.8109, allocations: 4 kB / 483.9 MB, free: 3.586 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00142/0.8123, allocations: 0.5967 MB / 484.5 MB, free: 2.992 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.222e-06/0.8123, allocations: 0 / 484.5 MB, free: 2.992 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001431/0.8138, allocations: 219.2 kB / 484.7 MB, free: 2.777 MB / 410.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.001225/0.8151, allocations: 0.8801 MB / 485.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.8167, allocations: 0.5439 MB / 486.1 MB, free: 1.332 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.8168, allocations: 0 / 486.1 MB, free: 1.332 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.8171, allocations: 89.08 kB / 486.2 MB, free: 1.246 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008118/0.8179, allocations: 79.78 kB / 486.3 MB, free: 1.172 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.823, allocations: 1.367 MB / 487.7 MB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.8245, allocations: 1.171 MB / 488.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001391/0.8259, allocations: 273.8 kB / 489.1 MB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008351/0.8268, allocations: 335.3 kB / 489.4 MB, free: 13.97 MB / 426.7 MB Notification: Performance of SimCode: time 1.823e-06/0.8269, allocations: 0 / 489.4 MB, free: 13.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05337/0.8802, allocations: 13.27 MB / 0.4909 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.8805, allocations: 149.9 kB / 0.4911 GB, free: 0.543 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/3.765, allocations: 8 kB / 0.4911 GB, free: 0.5352 MB / 426.7 MB