Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.945/1.945, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.172e-05, allocations: 0 / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.09875, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4005/0.4993, allocations: 81.06 MB / 402.9 MB, free: 8.758 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.4996, allocations: 83.11 kB / 403 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07278/0.5724, allocations: 16.3 MB / 419.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5725, allocations: 4 kB / 419.3 MB, free: 8.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.658e-05/0.5726, allocations: 20 kB / 419.3 MB, free: 8.246 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.002196/0.5748, allocations: 0.9783 MB / 420.3 MB, free: 7.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5749, allocations: 11.97 kB / 420.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000374/0.5752, allocations: 173.4 kB / 420.5 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.5774, allocations: 234.3 kB / 420.7 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.579, allocations: 0.5613 MB / 421.3 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.099e-05/0.5791, allocations: 61.97 kB / 421.3 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.5793, allocations: 83.98 kB / 421.4 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003778/0.5831, allocations: 1.681 MB / 423.1 MB, free: 4.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/0.5832, allocations: 7.938 kB / 423.1 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/0.5834, allocations: 43.97 kB / 423.1 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006116/0.584, allocations: 177.4 kB / 423.3 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/0.5872, allocations: 1.08 MB / 424.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/0.5995, allocations: 7.43 MB / 431.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.6, allocations: 147.1 kB / 432 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.6002, allocations: 84.81 kB / 432 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.6003, allocations: 0 / 432 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.6003, allocations: 38.55 kB / 432.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.6003, allocations: 0 / 432.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006507/0.601, allocations: 244.9 kB / 432.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.601, allocations: 55.41 kB / 432.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.6027, allocations: 0.8318 MB / 433.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.6027, allocations: 29.7 kB / 433.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005929/0.6033, allocations: 0.7161 MB / 433.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.432e-05/0.6034, allocations: 59.42 kB / 434 MB, free: 8.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.6035, allocations: 23.94 kB / 434 MB, free: 8.887 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.6037, allocations: 350.8 kB / 434.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005694/0.6043, allocations: 225.9 kB / 434.6 MB, free: 8.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.6054, allocations: 0.8858 MB / 435.5 MB, free: 7.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009622/0.6064, allocations: 451.3 kB / 435.9 MB, free: 6.648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/0.6064, allocations: 8 kB / 435.9 MB, free: 6.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002403/0.6088, allocations: 0.9827 MB / 436.9 MB, free: 5.652 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.6089, allocations: 20.03 kB / 436.9 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.534e-05/0.6089, allocations: 24 kB / 436.9 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.635e-05/0.609, allocations: 36 kB / 437 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.6104, allocations: 239.6 kB / 437.2 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.08e-05/0.6105, allocations: 51.78 kB / 437.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.6116, allocations: 158.5 kB / 437.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.6118, allocations: 60 kB / 437.5 MB, free: 5.074 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.0002353/0.612, allocations: 202 kB / 437.7 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.6122, allocations: 71.06 kB / 437.7 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007834/0.613, allocations: 272.4 kB / 438 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.613, allocations: 4 kB / 438 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.613, allocations: 4 kB / 438 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.613, allocations: 3.938 kB / 438 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.6144, allocations: 0.7276 MB / 438.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6144, allocations: 3.953 kB / 438.8 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.6148, allocations: 39.91 kB / 438.8 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.6148, allocations: 0 / 438.8 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.6149, allocations: 4 kB / 438.8 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6149, allocations: 0 / 438.8 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.6149, allocations: 0 / 438.8 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.6155, allocations: 354.6 kB / 439.1 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.6159, allocations: 172 kB / 439.3 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.616, allocations: 0 / 439.3 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.6165, allocations: 19.98 kB / 439.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.6166, allocations: 15.97 kB / 439.3 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.6166, allocations: 0 / 439.3 MB, free: 3.105 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001205/0.6178, allocations: 0.6084 MB / 440 MB, free: 2.504 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6178, allocations: 0 / 440 MB, free: 2.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001293/0.6191, allocations: 215.2 kB / 440.2 MB, free: 2.293 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.001009/0.6202, allocations: 0.895 MB / 441.1 MB, free: 1.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.6216, allocations: 0.5056 MB / 441.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6216, allocations: 0 / 441.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.6219, allocations: 91.88 kB / 441.7 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/0.6226, allocations: 67.3 kB / 441.7 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.627, allocations: 1.481 MB / 443.2 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.6282, allocations: 1.167 MB / 444.4 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007119/0.6289, allocations: 351.3 kB / 444.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.462e-06/0.6289, allocations: 0 / 444.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.709/3.338, allocations: 14.61 MB / 459.3 MB, free: 15.03 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat does not exist to compare? outputFormat=mat