Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.896/1.896, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.77e-05/4.793e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.548, allocations: 80.26 MB / 402.1 MB, free: 9.668 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.5483, allocations: 79.02 kB / 402.2 MB, free: 9.594 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1641/0.7125, allocations: 34.34 MB / 436.5 MB, free: 6.898 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.7125, allocations: 0 / 436.5 MB, free: 6.898 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001128/0.7127, allocations: 31.94 kB / 436.5 MB, free: 6.867 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.006062/0.7187, allocations: 1.652 MB / 438.2 MB, free: 5.164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.7188, allocations: 12.03 kB / 438.2 MB, free: 5.152 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001518/0.7204, allocations: 379.9 kB / 438.6 MB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/0.7344, allocations: 1.655 MB / 440.2 MB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.7382, allocations: 1.013 MB / 441.2 MB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.7384, allocations: 127.4 kB / 441.4 MB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.7395, allocations: 171.9 kB / 441.5 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.7529, allocations: 4.895 MB / 446.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.933e-05/0.753, allocations: 31.69 kB / 446.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006583/0.7537, allocations: 91.94 kB / 446.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001137/0.7548, allocations: 0.5063 MB / 447.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.7658, allocations: 4.015 MB / 451.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03376/0.7997, allocations: 24.56 MB / 475.6 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.8019, allocations: 1.178 MB / 476.8 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007997/0.8028, allocations: 339.1 kB / 477.1 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.8028, allocations: 11.94 kB / 477.2 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.8029, allocations: 42.5 kB / 477.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 3.667e-06/0.8029, allocations: 0 / 477.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.001988/0.8049, allocations: 0.7523 MB / 478 MB, free: 11.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/0.805, allocations: 106.8 kB / 478.1 MB, free: 11.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004759/0.8098, allocations: 1.912 MB / 480 MB, free: 9.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.81, allocations: 37.7 kB / 480 MB, free: 9.484 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001775/0.8118, allocations: 1.624 MB / 481.6 MB, free: 7.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/0.8123, allocations: 268.9 kB / 481.9 MB, free: 7.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.8126, allocations: 68 kB / 482 MB, free: 7.504 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003397/0.8129, allocations: 458 kB / 482.4 MB, free: 7.047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/0.8153, allocations: 0.8577 MB / 483.3 MB, free: 6.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004544/0.8199, allocations: 3.113 MB / 486.4 MB, free: 1.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004173/0.8242, allocations: 1.664 MB / 488 MB, free: 288 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.18e-05/0.8243, allocations: 24 kB / 488.1 MB, free: 264 kB / 410.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01076/0.8351, allocations: 3.713 MB / 491.8 MB, free: 12.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.433e-05/0.8352, allocations: 40 kB / 491.8 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/0.8354, allocations: 80 kB / 491.9 MB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/0.8356, allocations: 116 kB / 492 MB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004523/0.8401, allocations: 0.7447 MB / 492.8 MB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002065/0.8403, allocations: 155.4 kB / 492.9 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003668/0.844, allocations: 490.8 kB / 493.4 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007325/0.8448, allocations: 216 kB / 493.6 MB, free: 10.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 368 * Number of states: 0 () * Number of discrete variables: 9 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * Array equations: 3 * 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.0006665/0.8455, allocations: 374.9 kB / 494 MB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000421/0.8459, allocations: 165.8 kB / 494.1 MB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005971/0.8465, allocations: 199.6 kB / 494.3 MB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/0.8466, allocations: 8 kB / 494.3 MB, free: 9.965 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.8466, allocations: 0 / 494.3 MB, free: 9.965 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.8466, allocations: 3.984 kB / 494.3 MB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005989/0.8526, allocations: 2.007 MB / 496.3 MB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.8527, allocations: 0 / 496.3 MB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/0.8533, allocations: 59.91 kB / 496.4 MB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.8533, allocations: 4 kB / 496.4 MB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.8534, allocations: 11.98 kB / 496.4 MB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.8534, allocations: 0 / 496.4 MB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.8534, allocations: 8.281 kB / 496.4 MB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.8554, allocations: 1.058 MB / 497.5 MB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006173/0.8561, allocations: 242.7 kB / 497.7 MB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.8564, allocations: 7.938 kB / 497.7 MB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000927/0.8573, allocations: 27.97 kB / 497.7 MB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.8575, allocations: 27.92 kB / 497.8 MB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/0.8575, allocations: 16 kB / 497.8 MB, free: 6.379 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003406/0.861, allocations: 1.32 MB / 499.1 MB, free: 5.027 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.022e-06/0.861, allocations: 0 / 499.1 MB, free: 5.027 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003308/0.8643, allocations: 0.4949 MB / 499.6 MB, free: 4.531 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 3 * 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.002574/0.8669, allocations: 1.78 MB / 0.4896 GB, free: 2.715 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005081/0.872, allocations: 1.987 MB / 0.4916 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.8721, allocations: 0 / 0.4916 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007546/0.8729, allocations: 335.7 kB / 0.4919 GB, free: 424 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.8741, allocations: 160.4 kB / 0.492 GB, free: 260 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2785/1.153, allocations: 3.808 MB / 0.4958 GB, free: 129.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004264/1.157, allocations: 1.825 MB / 0.4975 GB, free: 128.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002443/1.16, allocations: 0.748 MB / 0.4983 GB, free: 128.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.904e-06/1.16, allocations: 0 / 0.4983 GB, free: 128.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.539/4.699, allocations: 36.01 MB / 0.5334 GB, free: 119.6 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat does not exist to compare? outputFormat=mat