Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.685/2.685, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.73e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4075, allocations: 54.86 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.5908, allocations: 87.5 MB / 447.4 MB, free: 9.367 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.5912, allocations: 80.55 kB / 447.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06922/0.6604, allocations: 16.27 MB / 463.7 MB, free: 8.945 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.709e-06/0.6605, allocations: 4 kB / 463.7 MB, free: 8.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.01e-05/0.6605, allocations: 16 kB / 463.7 MB, free: 8.926 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.002459/0.663, allocations: 0.9745 MB / 464.7 MB, free: 7.906 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.6631, allocations: 12.03 kB / 464.7 MB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004479/0.6635, allocations: 181.4 kB / 464.9 MB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/0.6658, allocations: 222.4 kB / 465.1 MB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.6676, allocations: 0.5651 MB / 465.7 MB, free: 6.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.6677, allocations: 69.98 kB / 465.7 MB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.668, allocations: 79.97 kB / 465.8 MB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004167/0.6722, allocations: 1.673 MB / 467.5 MB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-05/0.6723, allocations: 11.89 kB / 467.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.6725, allocations: 39.97 kB / 467.5 MB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006475/0.6731, allocations: 181.4 kB / 467.7 MB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/0.6765, allocations: 1.08 MB / 468.8 MB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/0.6896, allocations: 7.435 MB / 476.2 MB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.6901, allocations: 154.5 kB / 476.4 MB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.6903, allocations: 72.83 kB / 476.4 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.6904, allocations: 7.984 kB / 476.5 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.6904, allocations: 34.55 kB / 476.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 3.357e-06/0.6904, allocations: 3.938 kB / 476.5 MB, free: 11.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007229/0.6912, allocations: 241.8 kB / 476.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.6912, allocations: 55.36 kB / 476.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.693, allocations: 0.8357 MB / 477.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/0.6931, allocations: 25.7 kB / 477.6 MB, free: 10.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/0.6938, allocations: 0.7045 MB / 478.4 MB, free: 9.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.52e-05/0.6939, allocations: 63.42 kB / 478.4 MB, free: 9.598 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.694, allocations: 16 kB / 478.4 MB, free: 9.582 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.6942, allocations: 350.8 kB / 478.8 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005999/0.6948, allocations: 225.9 kB / 479 MB, free: 9.012 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.696, allocations: 0.8975 MB / 479.9 MB, free: 7.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009761/0.697, allocations: 443.5 kB / 480.3 MB, free: 7.336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/0.697, allocations: 4 kB / 480.3 MB, free: 7.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002518/0.6995, allocations: 0.9903 MB / 481.3 MB, free: 6.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.6996, allocations: 17.72 kB / 481.3 MB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.675e-05/0.6997, allocations: 24 kB / 481.4 MB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.641e-05/0.6998, allocations: 36 kB / 481.4 MB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.7012, allocations: 243.5 kB / 481.6 MB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.196e-05/0.7013, allocations: 47.8 kB / 481.7 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.7026, allocations: 166.5 kB / 481.8 MB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.7028, allocations: 67.98 kB / 481.9 MB, free: 5.746 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.0002751/0.7031, allocations: 182.2 kB / 482.1 MB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.7033, allocations: 71.06 kB / 482.2 MB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008613/0.7041, allocations: 280.2 kB / 482.4 MB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.7042, allocations: 0 / 482.4 MB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.7042, allocations: 4 kB / 482.4 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7042, allocations: 0 / 482.4 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.7059, allocations: 0.7314 MB / 483.2 MB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7059, allocations: 0 / 483.2 MB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.7064, allocations: 39.97 kB / 483.2 MB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.7064, allocations: 0 / 483.2 MB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.7064, allocations: 3.984 kB / 483.2 MB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.7065, allocations: 4 kB / 483.2 MB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7065, allocations: 7.984 kB / 483.2 MB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.7072, allocations: 346.5 kB / 483.6 MB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.7075, allocations: 148.1 kB / 483.7 MB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.7076, allocations: 8 kB / 483.7 MB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/0.7081, allocations: 11.98 kB / 483.7 MB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.7083, allocations: 27.84 kB / 483.7 MB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.7083, allocations: 0 / 483.7 MB, free: 3.801 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00129/0.7096, allocations: 0.6006 MB / 484.3 MB, free: 3.207 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7096, allocations: 0 / 484.3 MB, free: 3.207 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00141/0.711, allocations: 215.2 kB / 484.6 MB, free: 2.996 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.001114/0.7122, allocations: 0.8873 MB / 485.4 MB, free: 2.078 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.7137, allocations: 0.5041 MB / 485.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7137, allocations: 0 / 485.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.714, allocations: 92.38 kB / 486 MB, free: 1.488 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/0.7147, allocations: 73.81 kB / 486.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.7196, allocations: 1.475 MB / 487.6 MB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.7208, allocations: 1.156 MB / 488.7 MB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000739/0.7216, allocations: 355.3 kB / 489.1 MB, free: 14.37 MB / 426.7 MB Notification: Performance of SimCode: time 3.466e-06/0.7216, allocations: 0 / 489.1 MB, free: 14.37 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.692/3.414, allocations: 14.61 MB / 0.4919 GB, free: 15.76 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat does not exist to compare? outputFormat=mat