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.824/1.824, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.327e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4146/0.5154, allocations: 80.28 MB / 402.1 MB, free: 9.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.5157, allocations: 74.78 kB / 402.2 MB, free: 9.461 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1373/0.6531, allocations: 34.35 MB / 436.5 MB, free: 6.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6531, allocations: 0 / 436.5 MB, free: 6.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.135e-05/0.6532, allocations: 39.94 kB / 436.6 MB, free: 6.723 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.003858/0.6571, allocations: 1.644 MB / 438.2 MB, free: 5.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.6571, allocations: 12.03 kB / 438.2 MB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008925/0.658, allocations: 375.9 kB / 438.6 MB, free: 4.641 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.6702, allocations: 1.659 MB / 440.3 MB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003404/0.6737, allocations: 1.001 MB / 441.3 MB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.6739, allocations: 139.4 kB / 441.4 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006462/0.6745, allocations: 163.9 kB / 441.6 MB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.685, allocations: 4.88 MB / 446.4 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-05/0.6851, allocations: 31.69 kB / 446.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004084/0.6855, allocations: 91.94 kB / 446.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009817/0.6866, allocations: 0.5063 MB / 447.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009972/0.6965, allocations: 3.905 MB / 451 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03193/0.7285, allocations: 24.56 MB / 475.5 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.7307, allocations: 1.178 MB / 476.7 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/0.7315, allocations: 343 kB / 477.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.7315, allocations: 8.078 kB / 477.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.7316, allocations: 42.48 kB / 477.1 MB, free: 12.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 3.377e-06/0.7316, allocations: 0 / 477.1 MB, free: 12.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.001849/0.7334, allocations: 0.7519 MB / 477.9 MB, free: 11.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.7335, allocations: 110.8 kB / 478 MB, free: 11.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004162/0.7377, allocations: 1.912 MB / 479.9 MB, free: 9.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.209e-05/0.7378, allocations: 33.7 kB / 479.9 MB, free: 9.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001488/0.7393, allocations: 1.628 MB / 481.5 MB, free: 7.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.7397, allocations: 268.9 kB / 481.8 MB, free: 7.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.7399, allocations: 63.94 kB / 481.9 MB, free: 7.508 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003128/0.7402, allocations: 458 kB / 482.3 MB, free: 7.051 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.7423, allocations: 0.8615 MB / 483.2 MB, free: 6.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003872/0.7462, allocations: 3.087 MB / 486.3 MB, free: 1.969 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.75, allocations: 1.669 MB / 487.9 MB, free: 308 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.652e-05/0.7501, allocations: 27.94 kB / 488 MB, free: 280 kB / 410.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.008984/0.7591, allocations: 3.48 MB / 491.4 MB, free: 12.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.548e-05/0.7592, allocations: 43.94 kB / 491.5 MB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/0.7594, allocations: 80 kB / 491.6 MB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.7595, allocations: 116 kB / 491.7 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004014/0.7636, allocations: 0.7447 MB / 492.4 MB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001768/0.7638, allocations: 159.4 kB / 492.6 MB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/0.7671, allocations: 495.2 kB / 493.1 MB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005048/0.7676, allocations: 212 kB / 493.3 MB, free: 10.95 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.0006028/0.7683, allocations: 366.9 kB / 493.6 MB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/0.7687, allocations: 165.8 kB / 493.8 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005832/0.7693, allocations: 195.6 kB / 494 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.434e-05/0.7693, allocations: 8 kB / 494 MB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.7693, allocations: 0 / 494 MB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.7694, allocations: 7.984 kB / 494 MB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005336/0.7747, allocations: 2.003 MB / 496 MB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.7748, allocations: 3.938 kB / 496 MB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.7753, allocations: 63.95 kB / 496.1 MB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.7754, allocations: 0 / 496.1 MB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.7754, allocations: 11.94 kB / 496.1 MB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.7754, allocations: 4 kB / 496.1 MB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7755, allocations: 0 / 496.1 MB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.7773, allocations: 1.054 MB / 497.1 MB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005418/0.7779, allocations: 238.7 kB / 497.4 MB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.7781, allocations: 15.97 kB / 497.4 MB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008981/0.779, allocations: 27.97 kB / 497.4 MB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.7792, allocations: 35.86 kB / 497.4 MB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/0.7792, allocations: 12 kB / 497.4 MB, free: 6.629 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003126/0.7824, allocations: 1.32 MB / 498.8 MB, free: 5.277 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.7824, allocations: 0 / 498.8 MB, free: 5.277 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00341/0.7858, allocations: 498.8 kB / 499.3 MB, free: 4.789 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.002439/0.7883, allocations: 1.78 MB / 0.4893 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004839/0.7931, allocations: 1.883 MB / 0.4911 GB, free: 1.109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7932, allocations: 0 / 0.4911 GB, free: 1.109 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000725/0.7939, allocations: 332.7 kB / 0.4914 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.7952, allocations: 167.1 kB / 0.4916 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3145/1.11, allocations: 3.808 MB / 0.4953 GB, free: 129.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004907/1.115, allocations: 1.818 MB / 0.4971 GB, free: 128.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002413/1.117, allocations: 0.7533 MB / 0.4978 GB, free: 128.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.765e-06/1.117, allocations: 0 / 0.4978 GB, free: 128.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.167/4.285, allocations: 35.47 MB / 0.5325 GB, free: 119.8 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