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.021/2.021, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.422e-05/4.434e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1443, allocations: 48.71 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4667/0.611, allocations: 82.79 MB / 404.6 MB, free: 7.035 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.6113, allocations: 71.97 kB / 404.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2882/0.8995, allocations: 67.82 MB / 472.5 MB, free: 2.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.8996, allocations: 0 / 472.5 MB, free: 2.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001541/0.8997, allocations: 67.88 kB / 472.6 MB, free: 2.422 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.0109/0.9107, allocations: 3.029 MB / 475.6 MB, free: 15.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.9107, allocations: 16.02 kB / 475.6 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003276/0.914, allocations: 0.7215 MB / 476.3 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03785/0.9519, allocations: 3.286 MB / 479.6 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.9635, allocations: 2.067 MB / 481.7 MB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006244/0.9642, allocations: 271.1 kB / 482 MB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003145/0.9673, allocations: 355.9 kB / 482.3 MB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04202/1.009, allocations: 8.974 MB / 491.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002464/1.01, allocations: 15.86 kB / 491.3 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002623/1.012, allocations: 163.9 kB / 491.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003684/1.016, allocations: 1.045 MB / 492.5 MB, free: 14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03961/1.056, allocations: 8.509 MB / 0.4893 GB, free: 5.477 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4676/1.523, allocations: 29.1 MB / 0.5177 GB, free: 96.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/1.535, allocations: 3.047 MB / 0.5207 GB, free: 94.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003762/1.539, allocations: 0.9719 MB / 0.5216 GB, free: 94.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02264/1.562, allocations: 4.874 MB / 0.5264 GB, free: 93.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/1.562, allocations: 41.59 kB / 0.5264 GB, free: 93.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 9.217e-06/1.562, allocations: 1.375 kB / 0.5264 GB, free: 93.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.01369/1.576, allocations: 2.092 MB / 0.5285 GB, free: 93.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/1.576, allocations: 59.78 kB / 0.5285 GB, free: 93.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007836/1.584, allocations: 2.237 MB / 0.5307 GB, free: 92.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002747/1.584, allocations: 42.22 kB / 0.5307 GB, free: 92.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002886/1.587, allocations: 2.65 MB / 0.5333 GB, free: 91.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009572/1.588, allocations: 0.4947 MB / 0.5338 GB, free: 91.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006283/1.589, allocations: 83.84 kB / 0.5339 GB, free: 91.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006054/1.589, allocations: 0.4965 MB / 0.5344 GB, free: 90.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00497/1.594, allocations: 1.302 MB / 0.5357 GB, free: 90.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007324/1.602, allocations: 4.028 MB / 0.5396 GB, free: 87.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006907/1.609, allocations: 2.341 MB / 0.5419 GB, free: 86.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001302/1.609, allocations: 28.94 kB / 0.5419 GB, free: 86.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.0144/1.623, allocations: 5.117 MB / 0.5469 GB, free: 84.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.482e-05/1.623, allocations: 52.55 kB / 0.5469 GB, free: 84.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/1.624, allocations: 95.5 kB / 0.547 GB, free: 84.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/1.624, allocations: 143.6 kB / 0.5472 GB, free: 84.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005586/1.629, allocations: 0.9678 MB / 0.5481 GB, free: 84.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002002/1.63, allocations: 194.1 kB / 0.5483 GB, free: 84.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004679/1.634, allocations: 0.6021 MB / 0.5489 GB, free: 84.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009582/1.635, allocations: 270.7 kB / 0.5491 GB, free: 84.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 443 * 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 (535): * Single equations (assignments): 529 * 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.0009136/1.636, allocations: 443.7 kB / 0.5496 GB, free: 83.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004707/1.637, allocations: 216.3 kB / 0.5498 GB, free: 83.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007879/1.637, allocations: 279.2 kB / 0.55 GB, free: 83.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.194e-05/1.638, allocations: 14.86 kB / 0.5501 GB, free: 83.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.638, allocations: 0 / 0.5501 GB, free: 83.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.638, allocations: 3.141 kB / 0.5501 GB, free: 83.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/1.653, allocations: 5.611 MB / 0.5555 GB, free: 81.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.653, allocations: 9.203 kB / 0.5556 GB, free: 81.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.654, allocations: 138.8 kB / 0.5557 GB, free: 81.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.76e-05/1.654, allocations: 7.156 kB / 0.5557 GB, free: 81.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.654, allocations: 21.72 kB / 0.5557 GB, free: 81.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.345e-05/1.654, allocations: 15.42 kB / 0.5557 GB, free: 81.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.654, allocations: 7.625 kB / 0.5557 GB, free: 81.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/1.657, allocations: 2.094 MB / 0.5578 GB, free: 80.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007098/1.658, allocations: 300.6 kB / 0.5581 GB, free: 79.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004725/1.659, allocations: 21.77 kB / 0.5581 GB, free: 79.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.66, allocations: 43.45 kB / 0.5581 GB, free: 79.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/1.66, allocations: 63.7 kB / 0.5582 GB, free: 79.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.66, allocations: 40.89 kB / 0.5582 GB, free: 79.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003434/1.664, allocations: 1.512 MB / 0.5597 GB, free: 79.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.664, allocations: 0 / 0.5597 GB, free: 79.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004899/1.669, allocations: 0.9952 MB / 0.5607 GB, free: 79.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * 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.003937/1.673, allocations: 3.855 MB / 0.5644 GB, free: 76.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006368/1.679, allocations: 3.063 MB / 0.5674 GB, free: 75.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.679, allocations: 1.938 kB / 0.5674 GB, free: 75.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/1.68, allocations: 0.7263 MB / 0.5681 GB, free: 74.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/1.682, allocations: 242.2 kB / 0.5684 GB, free: 74.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/1.704, allocations: 7.417 MB / 0.5756 GB, free: 71.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005897/1.71, allocations: 3.042 MB / 0.5786 GB, free: 68.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00334/1.714, allocations: 1.523 MB / 0.5801 GB, free: 67.24 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/1.714, allocations: 0 / 0.5801 GB, free: 67.24 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.518/5.231, allocations: 61.52 MB / 0.6402 GB, free: 10.29 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