Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.548e-05, allocations: 0 / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4141, allocations: 58.84 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.591, allocations: 95.11 MB / 477.4 MB, free: 13.39 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.5914, allocations: 79.95 kB / 477.5 MB, free: 13.32 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.08121/0.6726, allocations: 16.99 MB / 494.5 MB, free: 12.19 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6727, allocations: 0 / 494.5 MB, free: 12.19 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.975e-05/0.6727, allocations: 16 kB / 494.5 MB, free: 12.17 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002917/0.6757, allocations: 0.9863 MB / 495.5 MB, free: 11.14 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/0.6758, allocations: 19.91 kB / 495.5 MB, free: 11.12 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006311/0.6764, allocations: 173.5 kB / 495.7 MB, free: 10.94 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/0.6788, allocations: 238.2 kB / 495.9 MB, free: 10.71 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.6808, allocations: 0.5691 MB / 496.5 MB, free: 10.1 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.863e-05/0.681, allocations: 65.98 kB / 496.5 MB, free: 10.03 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/0.6813, allocations: 87.97 kB / 496.6 MB, free: 9.945 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004429/0.6857, allocations: 1.682 MB / 498.3 MB, free: 8.078 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.6859, allocations: 7.938 kB / 498.3 MB, free: 8.07 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.686, allocations: 43.97 kB / 498.4 MB, free: 8.027 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006833/0.6867, allocations: 181.4 kB / 498.5 MB, free: 7.848 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003413/0.6902, allocations: 1.088 MB / 499.6 MB, free: 6.758 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/0.7042, allocations: 7.541 MB / 0.4953 GB, free: 14.93 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.7047, allocations: 146.6 kB / 0.4954 GB, free: 14.78 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.705, allocations: 80.83 kB / 0.4955 GB, free: 14.7 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.705, allocations: 3.984 kB / 0.4955 GB, free: 14.7 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.7051, allocations: 34.56 kB / 0.4955 GB, free: 14.65 MB / 442.8 MB Notification: Performance of pre-optimization done (n=12): time 3.186e-06/0.7051, allocations: 0 / 0.4955 GB, free: 14.65 MB / 442.8 MB Notification: Performance of matching and sorting (n=12): time 0.0007783/0.7059, allocations: 248.8 kB / 0.4958 GB, free: 14.4 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.7059, allocations: 55.34 kB / 0.4958 GB, free: 14.34 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002005/0.708, allocations: 0.8515 MB / 0.4967 GB, free: 13.48 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 6.17e-05/0.7081, allocations: 29.7 kB / 0.4967 GB, free: 13.44 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007463/0.7088, allocations: 0.6825 MB / 0.4973 GB, free: 12.75 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.709, allocations: 71.34 kB / 0.4974 GB, free: 12.68 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.7091, allocations: 20 kB / 0.4974 GB, free: 12.66 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000291/0.7094, allocations: 390.7 kB / 0.4978 GB, free: 12.27 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/0.7101, allocations: 233.9 kB / 0.498 GB, free: 12.04 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.7114, allocations: 0.9117 MB / 0.4989 GB, free: 10.77 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.7126, allocations: 447.4 kB / 0.4993 GB, free: 10.34 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.427e-05/0.7127, allocations: 8 kB / 0.4994 GB, free: 10.33 MB / 442.8 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003092/0.7158, allocations: 1.044 MB / 0.5004 GB, free: 9.277 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.7159, allocations: 16 kB / 0.5004 GB, free: 9.262 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.387e-05/0.716, allocations: 24 kB / 0.5004 GB, free: 9.238 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.851e-05/0.716, allocations: 40 kB / 0.5004 GB, free: 9.199 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.7177, allocations: 256.2 kB / 0.5007 GB, free: 8.949 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.302e-05/0.7178, allocations: 43.86 kB / 0.5007 GB, free: 8.906 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.7192, allocations: 170.2 kB / 0.5009 GB, free: 8.738 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/0.7195, allocations: 64 kB / 0.501 GB, free: 8.676 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 21 (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],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 (126): * Single equations (assignments): 126 * 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.0002908/0.7198, allocations: 198.6 kB / 0.5011 GB, free: 8.473 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.72, allocations: 75.06 kB / 0.5012 GB, free: 8.398 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008655/0.7209, allocations: 272.4 kB / 0.5015 GB, free: 8.121 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.7209, allocations: 7.984 kB / 0.5015 GB, free: 8.113 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7209, allocations: 0 / 0.5015 GB, free: 8.113 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.7209, allocations: 3.984 kB / 0.5015 GB, free: 8.109 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.7227, allocations: 0.7315 MB / 0.5022 GB, free: 7.328 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.7228, allocations: 0 / 0.5022 GB, free: 7.328 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/0.7232, allocations: 35.97 kB / 0.5022 GB, free: 7.293 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.7232, allocations: 0 / 0.5022 GB, free: 7.293 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.7233, allocations: 11.98 kB / 0.5023 GB, free: 7.281 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.7233, allocations: 0 / 0.5023 GB, free: 7.281 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7233, allocations: 0 / 0.5023 GB, free: 7.281 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007556/0.7241, allocations: 358.5 kB / 0.5026 GB, free: 6.914 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.7244, allocations: 152.1 kB / 0.5027 GB, free: 6.746 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.7246, allocations: 8 kB / 0.5027 GB, free: 6.738 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.7251, allocations: 15.98 kB / 0.5028 GB, free: 6.723 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.7252, allocations: 7.984 kB / 0.5028 GB, free: 6.715 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.7253, allocations: 11.98 kB / 0.5028 GB, free: 6.703 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.00141/0.7267, allocations: 0.6084 MB / 0.5034 GB, free: 6.102 MB / 442.8 MB Notification: Performance of sort global known variables: time 8.52e-07/0.7267, allocations: 0 / 0.5034 GB, free: 6.102 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.001526/0.7283, allocations: 223.1 kB / 0.5036 GB, free: 5.883 MB / 442.8 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.001196/0.7295, allocations: 0.895 MB / 0.5045 GB, free: 4.957 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.7311, allocations: 0.5171 MB / 0.505 GB, free: 4.445 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.7311, allocations: 0 / 0.505 GB, free: 4.445 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.7314, allocations: 83.94 kB / 0.505 GB, free: 4.363 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.7322, allocations: 83.67 kB / 0.5051 GB, free: 4.281 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005085/0.7373, allocations: 1.393 MB / 0.5065 GB, free: 2.844 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.7388, allocations: 1.167 MB / 0.5076 GB, free: 1.648 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.001488/0.7403, allocations: 274 kB / 0.5079 GB, free: 1.379 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008674/0.7413, allocations: 351.3 kB / 0.5082 GB, free: 1.035 MB / 442.8 MB Notification: Performance of SimCode: time 1.262e-06/0.7413, allocations: 0 / 0.5082 GB, free: 1.035 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05279/0.7941, allocations: 13.49 MB / 0.5214 GB, free: 3.625 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.7944, allocations: 144.5 kB / 0.5215 GB, free: 3.402 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.882/3.676, allocations: 4 kB / 0.5215 GB, free: 3.398 MB / 458.8 MB