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 2.076/2.076, allocations: 209.4 MB / 216.9 MB, free: 6.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.755e-05, allocations: 2.109 kB / 267.6 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 48.7 MB / 316.3 MB, free: 4.562 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4078/0.5196, allocations: 79.83 MB / 396.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.5199, allocations: 78.88 kB / 396.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1416/0.6615, allocations: 33.69 MB / 429.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.6616, allocations: 7.938 kB / 429.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.697e-05/0.6617, allocations: 32 kB / 429.9 MB, free: 14.66 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.004732/0.6665, allocations: 1.651 MB / 431.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.6666, allocations: 12.03 kB / 431.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/0.6792, allocations: 1.655 MB / 433.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/0.6828, allocations: 1.013 MB / 434.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.683, allocations: 56 kB / 434.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007668/0.6838, allocations: 96 kB / 434.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007403/0.6912, allocations: 2.785 MB / 437.2 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.7023, allocations: 4.646 MB / 441.8 MB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.303e-05/0.7024, allocations: 31.69 kB / 441.9 MB, free: 1.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003645/0.7028, allocations: 20 kB / 441.9 MB, free: 1.965 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001029/0.7038, allocations: 0.5023 MB / 442.4 MB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03245/0.7363, allocations: 23.46 MB / 465.9 MB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.7387, allocations: 1.153 MB / 467 MB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007424/0.7395, allocations: 331.1 kB / 467.3 MB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.543e-05/0.7395, allocations: 7.953 kB / 467.3 MB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.7396, allocations: 46.5 kB / 467.4 MB, free: 7.523 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 3.787e-06/0.7396, allocations: 7.875 kB / 467.4 MB, free: 7.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.001998/0.7416, allocations: 0.722 MB / 468.1 MB, free: 6.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.7417, allocations: 110.8 kB / 468.2 MB, free: 6.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003671/0.7454, allocations: 1.678 MB / 469.9 MB, free: 4.973 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.7456, allocations: 29.7 kB / 469.9 MB, free: 4.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001908/0.7475, allocations: 1.704 MB / 471.6 MB, free: 3.207 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005022/0.748, allocations: 265 kB / 471.9 MB, free: 2.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.7483, allocations: 0 / 471.9 MB, free: 2.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003706/0.7487, allocations: 466.3 kB / 472.4 MB, free: 2.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/0.751, allocations: 0.8306 MB / 473.2 MB, free: 1.648 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005022/0.756, allocations: 3.177 MB / 476.4 MB, free: 13.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004345/0.7604, allocations: 1.673 MB / 478 MB, free: 11.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.302e-05/0.7606, allocations: 24 kB / 478.1 MB, free: 11.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.01021/0.7708, allocations: 3.39 MB / 481.4 MB, free: 8.188 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-05/0.771, allocations: 40 kB / 481.5 MB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/0.7711, allocations: 95.89 kB / 481.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/0.7713, allocations: 120 kB / 481.7 MB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005497/0.7768, allocations: 0.7914 MB / 482.5 MB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001949/0.7771, allocations: 168 kB / 482.7 MB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003539/0.7806, allocations: 419 kB / 483.1 MB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006802/0.7814, allocations: 224 kB / 483.3 MB, free: 6.348 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 389 * 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 (428): * Single equations (assignments): 425 * 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.0006013/0.782, allocations: 302.9 kB / 483.6 MB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001827/0.7838, allocations: 0.7256 MB / 484.3 MB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.7841, allocations: 154 kB / 484.5 MB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005828/0.7847, allocations: 182.2 kB / 484.6 MB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-05/0.7848, allocations: 8 kB / 484.6 MB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.7848, allocations: 8 kB / 484.6 MB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.7848, allocations: 0 / 484.6 MB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004654/0.7895, allocations: 1.627 MB / 486.3 MB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.7895, allocations: 4 kB / 486.3 MB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.7902, allocations: 59.89 kB / 486.3 MB, free: 3.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.7902, allocations: 7.938 kB / 486.3 MB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.7902, allocations: 0 / 486.3 MB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.7903, allocations: 8 kB / 486.3 MB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.7903, allocations: 0 / 486.3 MB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.7922, allocations: 1.035 MB / 487.4 MB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.7926, allocations: 215 kB / 487.6 MB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/0.7929, allocations: 480 / 487.6 MB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008283/0.7938, allocations: 27.97 kB / 487.6 MB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.7939, allocations: 27.92 kB / 487.6 MB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.7939, allocations: 23.98 kB / 487.7 MB, free: 1.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002414/0.7964, allocations: 1.105 MB / 488.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7964, allocations: 3.938 kB / 488.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003496/0.7999, allocations: 450.5 kB / 489.2 MB, free: 304 kB / 410.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.002573/0.8025, allocations: 1.758 MB / 491 MB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004689/0.8072, allocations: 1.889 MB / 492.9 MB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.8073, allocations: 0 / 492.9 MB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006763/0.808, allocations: 323.8 kB / 493.2 MB, free: 12.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.8091, allocations: 131.4 kB / 493.3 MB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.8209, allocations: 3.727 MB / 497 MB, free: 8.387 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/0.8236, allocations: 1.818 MB / 498.9 MB, free: 6.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/0.8254, allocations: 0.7531 MB / 499.6 MB, free: 5.781 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.8254, allocations: 0 / 499.6 MB, free: 5.781 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.422/4.248, allocations: 34.95 MB / 0.522 GB, free: 125.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