Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.475/2.475, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.031e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3973, allocations: 54.86 MB / 359.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.5599, allocations: 86.83 MB / 446.7 MB, free: 10.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.5603, allocations: 77.17 kB / 446.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1514/0.7117, allocations: 34.35 MB / 481.1 MB, free: 7.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.7118, allocations: 0 / 481.1 MB, free: 7.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001005/0.7119, allocations: 35.94 kB / 481.1 MB, free: 7.359 MB / 410.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.005074/0.717, allocations: 1.64 MB / 482.8 MB, free: 5.668 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.7171, allocations: 11.97 kB / 482.8 MB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001287/0.7184, allocations: 375.8 kB / 483.2 MB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/0.731, allocations: 1.659 MB / 484.8 MB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.7346, allocations: 1.009 MB / 485.8 MB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.7348, allocations: 131.4 kB / 486 MB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009808/0.7358, allocations: 172.2 kB / 486.1 MB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/0.748, allocations: 4.884 MB / 491 MB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.499e-05/0.7482, allocations: 27.75 kB / 491 MB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006364/0.7488, allocations: 95.88 kB / 491.1 MB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001427/0.7503, allocations: 0.5101 MB / 491.6 MB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01437/0.7647, allocations: 3.909 MB / 495.5 MB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04555/0.8103, allocations: 24.56 MB / 0.5079 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/0.8135, allocations: 1.165 MB / 0.5091 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.8147, allocations: 339.3 kB / 0.5094 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.8148, allocations: 4.141 kB / 0.5094 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.8148, allocations: 50.38 kB / 0.5094 GB, free: 12.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=60): time 4.829e-06/0.8148, allocations: 0 / 0.5094 GB, free: 12.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=60): time 0.002787/0.8176, allocations: 0.7607 MB / 0.5102 GB, free: 12.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.8178, allocations: 106.8 kB / 0.5103 GB, free: 12.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006503/0.8243, allocations: 1.909 MB / 0.5121 GB, free: 10.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.8245, allocations: 33.7 kB / 0.5122 GB, free: 10.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002368/0.8269, allocations: 1.631 MB / 0.5138 GB, free: 8.449 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005975/0.8275, allocations: 257 kB / 0.514 GB, free: 8.195 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.828, allocations: 68 kB / 0.5141 GB, free: 8.129 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004898/0.8285, allocations: 461.9 kB / 0.5145 GB, free: 7.668 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00342/0.8319, allocations: 0.8577 MB / 0.5154 GB, free: 6.809 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004967/0.8369, allocations: 3.087 MB / 0.5184 GB, free: 2.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004094/0.8411, allocations: 1.675 MB / 0.52 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.463e-05/0.8412, allocations: 20 kB / 0.52 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.3425/1.184, allocations: 3.476 MB / 0.5234 GB, free: 128.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.893e-05/1.184, allocations: 44.72 kB / 0.5235 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001553/1.184, allocations: 79.72 kB / 0.5235 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/1.184, allocations: 117.1 kB / 0.5237 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004501/1.189, allocations: 0.7453 MB / 0.5244 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002236/1.189, allocations: 156.3 kB / 0.5245 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/1.193, allocations: 497.2 kB / 0.525 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007877/1.194, allocations: 214.5 kB / 0.5252 GB, free: 128.8 MB / 458.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.0006872/1.194, allocations: 363.3 kB / 0.5256 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004748/1.195, allocations: 162.2 kB / 0.5257 GB, free: 128.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/1.195, allocations: 201.8 kB / 0.5259 GB, free: 128.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.278e-05/1.196, allocations: 7.781 kB / 0.5259 GB, free: 128.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.196, allocations: 1.594 kB / 0.5259 GB, free: 128.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.196, allocations: 6.234 kB / 0.5259 GB, free: 128.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/1.201, allocations: 2.007 MB / 0.5279 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/1.201, allocations: 1.844 kB / 0.5279 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/1.202, allocations: 60.52 kB / 0.5279 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/1.202, allocations: 4.688 kB / 0.5279 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/1.202, allocations: 13.06 kB / 0.528 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.383e-06/1.202, allocations: 3.094 kB / 0.528 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.202, allocations: 6.156 kB / 0.528 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/1.204, allocations: 1.054 MB / 0.529 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/1.204, allocations: 241.5 kB / 0.5292 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/1.204, allocations: 7.094 kB / 0.5292 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009134/1.205, allocations: 26.02 kB / 0.5293 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.205, allocations: 23.31 kB / 0.5293 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.296e-05/1.206, allocations: 21.05 kB / 0.5293 GB, free: 127.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00323/1.209, allocations: 1.315 MB / 0.5306 GB, free: 127.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.134e-06/1.209, allocations: 0 / 0.5306 GB, free: 127.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003962/1.213, allocations: 0.493 MB / 0.5311 GB, free: 127.4 MB / 458.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.002278/1.215, allocations: 1.782 MB / 0.5328 GB, free: 126.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004741/1.22, allocations: 1.888 MB / 0.5346 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.22, allocations: 0 / 0.5346 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007088/1.221, allocations: 334.3 kB / 0.535 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/1.222, allocations: 159.6 kB / 0.5351 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/1.235, allocations: 3.807 MB / 0.5388 GB, free: 125.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002952/1.238, allocations: 1.831 MB / 0.5406 GB, free: 124.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001659/1.239, allocations: 0.7536 MB / 0.5414 GB, free: 124 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/1.239, allocations: 0 / 0.5414 GB, free: 124 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.264/4.503, allocations: 35.49 MB / 0.576 GB, free: 109 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat does not exist to compare? outputFormat=mat