Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.532/2.532, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.869e-05/4.878e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1408, allocations: 61.9 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.563/0.7038, allocations: 97.76 MB / 0.4962 GB, free: 6.184 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.7042, allocations: 75.95 kB / 0.4963 GB, free: 6.109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.298/1.002, allocations: 69.73 MB / 0.5644 GB, free: 15.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.002, allocations: 0 / 0.5644 GB, free: 15.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001653/1.002, allocations: 64 kB / 0.5644 GB, free: 15.66 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.01031/1.013, allocations: 3.048 MB / 0.5674 GB, free: 12.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/1.013, allocations: 8.031 kB / 0.5674 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002972/1.016, allocations: 0.7294 MB / 0.5681 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02575/1.042, allocations: 3.283 MB / 0.5713 GB, free: 8.516 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007944/1.05, allocations: 2.075 MB / 0.5734 GB, free: 6.391 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004482/1.05, allocations: 271.1 kB / 0.5736 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002518/1.053, allocations: 355.9 kB / 0.574 GB, free: 5.777 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02965/1.082, allocations: 8.945 MB / 0.5827 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/1.083, allocations: 15.88 kB / 0.5827 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001165/1.084, allocations: 163.9 kB / 0.5829 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002361/1.086, allocations: 1.045 MB / 0.5839 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03205/1.118, allocations: 8.424 MB / 0.5921 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4371/1.555, allocations: 29.2 MB / 0.6206 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007863/1.563, allocations: 3.023 MB / 0.6236 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00235/1.566, allocations: 0.9748 MB / 0.6245 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/1.581, allocations: 4.863 MB / 0.6293 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/1.581, allocations: 48.94 kB / 0.6293 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=126): time 5.43e-06/1.581, allocations: 1.219 kB / 0.6293 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126): time 0.009684/1.591, allocations: 2.09 MB / 0.6314 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/1.591, allocations: 59.84 kB / 0.6314 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005563/1.596, allocations: 2.264 MB / 0.6336 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000208/1.597, allocations: 39.75 kB / 0.6337 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00238/1.599, allocations: 2.647 MB / 0.6363 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007829/1.6, allocations: 499.9 kB / 0.6367 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/1.6, allocations: 82.36 kB / 0.6368 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005154/1.601, allocations: 0.5484 MB / 0.6374 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003433/1.604, allocations: 1.305 MB / 0.6386 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005245/1.609, allocations: 4.033 MB / 0.6426 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005482/1.615, allocations: 2.356 MB / 0.6449 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/1.615, allocations: 28.34 kB / 0.6449 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01343/1.629, allocations: 4.919 MB / 0.6497 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.482e-05/1.629, allocations: 46.97 kB / 0.6498 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.629, allocations: 99.84 kB / 0.6498 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/1.629, allocations: 144.7 kB / 0.65 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005691/1.635, allocations: 0.9789 MB / 0.6509 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002071/1.635, allocations: 191.9 kB / 0.6511 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005059/1.64, allocations: 0.5982 MB / 0.6517 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/1.641, allocations: 274.3 kB / 0.652 GB, free: 112.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (538): * Single equations (assignments): 532 * 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.001304/1.643, allocations: 440 kB / 0.6524 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/1.643, allocations: 219.9 kB / 0.6526 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009323/1.644, allocations: 272.7 kB / 0.6529 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.314e-05/1.644, allocations: 14.12 kB / 0.6529 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.296e-05/1.644, allocations: 6.781 kB / 0.6529 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/1.644, allocations: 3.656 kB / 0.6529 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/1.66, allocations: 5.604 MB / 0.6584 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/1.66, allocations: 11.34 kB / 0.6584 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.661, allocations: 133.3 kB / 0.6585 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/1.661, allocations: 9.969 kB / 0.6585 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/1.661, allocations: 28.09 kB / 0.6585 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/1.661, allocations: 10.69 kB / 0.6585 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/1.661, allocations: 11.28 kB / 0.6585 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/1.665, allocations: 2.108 MB / 0.6606 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008489/1.666, allocations: 293 kB / 0.6609 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006261/1.666, allocations: 23.17 kB / 0.6609 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/1.667, allocations: 39.19 kB / 0.6609 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.668, allocations: 62.92 kB / 0.661 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.668, allocations: 44.95 kB / 0.661 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003325/1.671, allocations: 1.52 MB / 0.6625 GB, free: 109 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.693e-06/1.671, allocations: 0 / 0.6625 GB, free: 109 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00533/1.677, allocations: 1.017 MB / 0.6635 GB, free: 108.7 MB / 0.5105 GB 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.003908/1.68, allocations: 3.868 MB / 0.6673 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006283/1.687, allocations: 2.938 MB / 0.6702 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.687, allocations: 0 / 0.6702 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/1.688, allocations: 0.7256 MB / 0.6709 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/1.69, allocations: 234.3 kB / 0.6711 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02028/1.71, allocations: 7.018 MB / 0.678 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005567/1.716, allocations: 3.039 MB / 0.6809 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005988/1.722, allocations: 1.49 MB / 0.6824 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003055/1.725, allocations: 1.49 MB / 0.6838 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of SimCode: time 1.273e-06/1.725, allocations: 4 kB / 0.6838 GB, free: 99.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/1.841, allocations: 48.88 MB / 0.7316 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/1.841, allocations: 141 kB / 0.7317 GB, free: 63.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.066/5.908, allocations: 4 kB / 0.7317 GB, free: 63.32 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat does not exist to compare? outputFormat=mat