Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.147/2.147, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.332e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.542, allocations: 82.38 MB / 398.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5423, allocations: 78.86 kB / 398.8 MB, free: 9.992 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2784/0.8207, allocations: 66.36 MB / 465.1 MB, free: 11.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.8207, allocations: 0 / 465.1 MB, free: 11.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001605/0.8209, allocations: 60 kB / 465.2 MB, free: 10.97 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: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.01054/0.8315, allocations: 3.025 MB / 468.2 MB, free: 7.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.8316, allocations: 12.03 kB / 468.2 MB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02585/0.8574, allocations: 3.282 MB / 471.5 MB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007526/0.865, allocations: 2.063 MB / 473.6 MB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.8653, allocations: 119.9 kB / 473.7 MB, free: 2.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002392/0.8678, allocations: 207.9 kB / 473.9 MB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01731/0.8851, allocations: 6.399 MB / 480.3 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02608/0.9113, allocations: 8.47 MB / 488.7 MB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001377/0.9115, allocations: 19.81 kB / 488.8 MB, free: 2.902 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001754/0.9132, allocations: 8 kB / 488.8 MB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002465/0.9157, allocations: 1.054 MB / 489.8 MB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.363/1.279, allocations: 26.54 MB / 0.5043 GB, free: 91.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004887/1.284, allocations: 2.688 MB / 0.5069 GB, free: 90.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/1.286, allocations: 0.8786 MB / 0.5077 GB, free: 90.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/1.288, allocations: 1.622 MB / 0.5093 GB, free: 88.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/1.288, allocations: 49.5 kB / 0.5094 GB, free: 88.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=162): time 5.19e-06/1.288, allocations: 0 / 0.5094 GB, free: 88.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.008088/1.296, allocations: 2.138 MB / 0.5115 GB, free: 88.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.296, allocations: 66.09 kB / 0.5115 GB, free: 88.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004619/1.301, allocations: 2.034 MB / 0.5135 GB, free: 88.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00033/1.301, allocations: 28.98 kB / 0.5135 GB, free: 88.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002207/1.303, allocations: 2.663 MB / 0.5161 GB, free: 87.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009912/1.304, allocations: 0.5893 MB / 0.5167 GB, free: 86.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004783/1.305, allocations: 3.5 kB / 0.5167 GB, free: 86.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003847/1.305, allocations: 0.5195 MB / 0.5172 GB, free: 86.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003157/1.309, allocations: 1.347 MB / 0.5185 GB, free: 86.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005321/1.314, allocations: 4.308 MB / 0.5228 GB, free: 81.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006425/1.32, allocations: 2.479 MB / 0.5252 GB, free: 80.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001526/1.321, allocations: 31.47 kB / 0.5252 GB, free: 80.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01753/1.338, allocations: 4.963 MB / 0.5301 GB, free: 79.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.783e-05/1.338, allocations: 50.09 kB / 0.5301 GB, free: 79.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/1.338, allocations: 107.2 kB / 0.5302 GB, free: 79.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/1.339, allocations: 154.5 kB / 0.5304 GB, free: 79.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006205/1.345, allocations: 1.069 MB / 0.5314 GB, free: 79.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001667/1.345, allocations: 212.2 kB / 0.5316 GB, free: 79.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004437/1.35, allocations: 0.5316 MB / 0.5321 GB, free: 78.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009346/1.351, allocations: 306.5 kB / 0.5324 GB, free: 78.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 18 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (591): * Single equations (assignments): 585 * Array equations: 6 * 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.0008585/1.351, allocations: 370.2 kB / 0.5328 GB, free: 78.53 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003853/1.355, allocations: 1.786 MB / 0.5345 GB, free: 77.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/1.356, allocations: 216.9 kB / 0.5347 GB, free: 77.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/1.36, allocations: 2.047 MB / 0.5367 GB, free: 77.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.086e-05/1.36, allocations: 21.56 kB / 0.5367 GB, free: 77.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.36, allocations: 0 / 0.5367 GB, free: 77.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/1.36, allocations: 14.73 kB / 0.5367 GB, free: 77.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/1.375, allocations: 6.044 MB / 0.5426 GB, free: 74.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/1.375, allocations: 9.875 kB / 0.5427 GB, free: 74.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/1.377, allocations: 202.8 kB / 0.5429 GB, free: 74.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.599e-05/1.377, allocations: 15.94 kB / 0.5429 GB, free: 74.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/1.377, allocations: 28.02 kB / 0.5429 GB, free: 74.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.788e-05/1.377, allocations: 17.25 kB / 0.5429 GB, free: 74.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.595e-05/1.377, allocations: 18.95 kB / 0.5429 GB, free: 74.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004308/1.381, allocations: 2.966 MB / 0.5458 GB, free: 72.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006983/1.382, allocations: 300.3 kB / 0.5461 GB, free: 72.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006281/1.383, allocations: 16.12 kB / 0.5461 GB, free: 72.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.384, allocations: 45.31 kB / 0.5462 GB, free: 72.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/1.385, allocations: 90.19 kB / 0.5463 GB, free: 72.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/1.385, allocations: 58.39 kB / 0.5463 GB, free: 72.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002984/1.388, allocations: 1.324 MB / 0.5476 GB, free: 71.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.61e-07/1.388, allocations: 0 / 0.5476 GB, free: 71.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00599/1.394, allocations: 0.9295 MB / 0.5485 GB, free: 71.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * Array equations: 6 * 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.005559/1.4, allocations: 6.095 MB / 0.5545 GB, free: 65.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006641/1.406, allocations: 3.228 MB / 0.5576 GB, free: 63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/1.406, allocations: 4.25 kB / 0.5576 GB, free: 62.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/1.408, allocations: 0.9226 MB / 0.5585 GB, free: 62.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/1.41, allocations: 166.7 kB / 0.5587 GB, free: 62.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02442/1.434, allocations: 7.837 MB / 0.5663 GB, free: 55.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006354/1.441, allocations: 3.053 MB / 0.5693 GB, free: 52.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004088/1.445, allocations: 1.564 MB / 0.5708 GB, free: 51.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.472e-06/1.445, allocations: 0 / 0.5708 GB, free: 51.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.537/4.981, allocations: 61.39 MB / 0.6308 GB, free: 9.16 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.Torus_res.mat does not exist to compare? outputFormat=mat