Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.483/2.483, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.839e-05/4.873e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1575, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5557/0.7133, allocations: 95.72 MB / 0.4942 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.7136, allocations: 71.97 kB / 0.4943 GB, free: 8.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06856/0.7822, allocations: 13.32 MB / 0.5073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.7823, allocations: 0 / 0.5073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.715e-05/0.7824, allocations: 12 kB / 0.5073 GB, free: 10.79 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002826/0.7852, allocations: 0.8409 MB / 0.5081 GB, free: 9.898 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.334e-05/0.7853, allocations: 8.031 kB / 0.5081 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004311/0.7858, allocations: 131.1 kB / 0.5083 GB, free: 9.754 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/0.7882, allocations: 190.7 kB / 0.5084 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.7902, allocations: 0.4951 MB / 0.5089 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-05/0.7904, allocations: 53.3 kB / 0.509 GB, free: 8.973 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/0.7907, allocations: 59.98 kB / 0.509 GB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003923/0.7946, allocations: 1.239 MB / 0.5102 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/0.7947, allocations: 11.88 kB / 0.5102 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.7949, allocations: 43.86 kB / 0.5103 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003132/0.7953, allocations: 100.7 kB / 0.5104 GB, free: 7.367 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.7982, allocations: 0.7429 MB / 0.5111 GB, free: 6.621 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008897/0.8072, allocations: 5.997 MB / 0.517 GB, free: 388 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.8074, allocations: 50.98 kB / 0.517 GB, free: 328 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.642e-05/0.8075, allocations: 32.92 kB / 0.517 GB, free: 292 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.8075, allocations: 4 kB / 0.5171 GB, free: 288 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.8076, allocations: 30.56 kB / 0.5171 GB, free: 248 kB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 4.058e-06/0.8076, allocations: 0 / 0.5171 GB, free: 248 kB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004413/0.8081, allocations: 144.8 kB / 0.5172 GB, free: 96 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.8081, allocations: 59.41 kB / 0.5173 GB, free: 24 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.8097, allocations: 0.7573 MB / 0.518 GB, free: 15.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.8097, allocations: 25.7 kB / 0.518 GB, free: 15.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/0.8103, allocations: 0.5437 MB / 0.5186 GB, free: 14.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.8103, allocations: 19.89 kB / 0.5186 GB, free: 14.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.8104, allocations: 12 kB / 0.5186 GB, free: 14.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.8106, allocations: 378.8 kB / 0.519 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.811, allocations: 161.5 kB / 0.5191 GB, free: 14.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008703/0.8119, allocations: 0.7111 MB / 0.5198 GB, free: 13.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007142/0.8127, allocations: 323.6 kB / 0.5201 GB, free: 12.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.8127, allocations: 4 kB / 0.5201 GB, free: 12.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001959/0.8147, allocations: 0.7828 MB / 0.5209 GB, free: 12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.8147, allocations: 16 kB / 0.5209 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/0.8148, allocations: 20 kB / 0.5209 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.786e-05/0.8149, allocations: 28 kB / 0.5209 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.8159, allocations: 187.6 kB / 0.5211 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-05/0.816, allocations: 35.86 kB / 0.5212 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009609/0.8169, allocations: 123.1 kB / 0.5213 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-05/0.817, allocations: 55.94 kB / 0.5213 GB, free: 11.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (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.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,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 (92): * Single equations (assignments): 92 * 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.000214/0.8173, allocations: 171.5 kB / 0.5215 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.8174, allocations: 59.25 kB / 0.5216 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.8176, allocations: 65.44 kB / 0.5216 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.8176, allocations: 3.938 kB / 0.5216 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8177, allocations: 7.938 kB / 0.5216 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.8177, allocations: 4 kB / 0.5216 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.8188, allocations: 0.5481 MB / 0.5222 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.8189, allocations: 0 / 0.5222 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.8191, allocations: 15.98 kB / 0.5222 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.8191, allocations: 0 / 0.5222 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.8192, allocations: 3.984 kB / 0.5222 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.8192, allocations: 0 / 0.5222 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8192, allocations: 48 / 0.5222 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.8197, allocations: 258.5 kB / 0.5224 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.8199, allocations: 140.3 kB / 0.5226 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.82, allocations: 0 / 0.5226 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.8204, allocations: 8 kB / 0.5226 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/0.8205, allocations: 11.97 kB / 0.5226 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.8205, allocations: 0 / 0.5226 GB, free: 10.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001159/0.8217, allocations: 0.5421 MB / 0.5231 GB, free: 9.633 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.8217, allocations: 4 kB / 0.5231 GB, free: 9.629 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001122/0.8229, allocations: 163.4 kB / 0.5233 GB, free: 9.469 MB / 442.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 (3): * Single equations (assignments): 3 * 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.0008015/0.8237, allocations: 0.7819 MB / 0.524 GB, free: 8.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.8248, allocations: 356 kB / 0.5244 GB, free: 8.316 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8248, allocations: 4.875 kB / 0.5244 GB, free: 8.312 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.8249, allocations: 35.97 kB / 0.5244 GB, free: 8.277 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009228/0.8258, allocations: 86.94 kB / 0.5245 GB, free: 8.191 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.8294, allocations: 1.033 MB / 0.5255 GB, free: 7.113 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.8306, allocations: 1.042 MB / 0.5265 GB, free: 6.043 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001075/0.8317, allocations: 208.8 kB / 0.5267 GB, free: 5.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/0.8322, allocations: 259.3 kB / 0.527 GB, free: 5.586 MB / 442.7 MB Notification: Performance of SimCode: time 1.483e-06/0.8322, allocations: 0 / 0.527 GB, free: 5.586 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05572/0.888, allocations: 11.03 MB / 0.5377 GB, free: 10.69 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003338/0.8884, allocations: 153 kB / 0.5379 GB, free: 10.46 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/3.713, allocations: 0 / 0.5379 GB, free: 10.46 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat does not exist to compare? outputFormat=mat