Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.564/2.564, allocations: 270 MB / 283.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.649e-05/4.657e-05, allocations: 7.938 kB / 348.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4455, allocations: 61.86 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.6293, allocations: 97.76 MB / 0.4962 GB, free: 8.711 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.6296, allocations: 75.95 kB / 0.4963 GB, free: 8.637 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6999/1.329, allocations: 69.72 MB / 0.5644 GB, free: 77.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.33, allocations: 0 / 0.5644 GB, free: 77.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001409/1.33, allocations: 63.98 kB / 0.5644 GB, free: 77.06 MB / 442.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.01071/1.34, allocations: 3.045 MB / 0.5674 GB, free: 73.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/1.341, allocations: 8.031 kB / 0.5674 GB, free: 73.95 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003748/1.344, allocations: 0.7333 MB / 0.5681 GB, free: 73.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02472/1.369, allocations: 3.288 MB / 0.5713 GB, free: 69.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007447/1.377, allocations: 2.071 MB / 0.5734 GB, free: 67.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/1.377, allocations: 275.1 kB / 0.5736 GB, free: 67.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002529/1.38, allocations: 355.9 kB / 0.574 GB, free: 67.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02739/1.407, allocations: 8.945 MB / 0.5827 GB, free: 57.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/1.407, allocations: 19.81 kB / 0.5827 GB, free: 57.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002283/1.41, allocations: 159.9 kB / 0.5829 GB, free: 57.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002162/1.412, allocations: 1.049 MB / 0.5839 GB, free: 56.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/1.435, allocations: 8.418 MB / 0.5921 GB, free: 48.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06586/1.501, allocations: 29.21 MB / 0.6206 GB, free: 18.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/1.514, allocations: 3.026 MB / 0.6236 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003265/1.517, allocations: 0.9725 MB / 0.6245 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04463/1.562, allocations: 4.88 MB / 0.6293 GB, free: 8.816 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005348/1.567, allocations: 51.3 kB / 0.6294 GB, free: 8.758 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 1.059e-05/1.567, allocations: 3.938 kB / 0.6294 GB, free: 8.754 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.01056/1.578, allocations: 2.086 MB / 0.6314 GB, free: 6.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/1.578, allocations: 64.19 kB / 0.6315 GB, free: 6.582 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005314/1.583, allocations: 2.267 MB / 0.6337 GB, free: 4.285 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002168/1.584, allocations: 41.69 kB / 0.6337 GB, free: 4.238 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002107/1.586, allocations: 2.641 MB / 0.6363 GB, free: 1.559 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007551/1.587, allocations: 0.4899 MB / 0.6368 GB, free: 1.062 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005289/1.587, allocations: 87.98 kB / 0.6369 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005874/1.588, allocations: 0.5476 MB / 0.6374 GB, free: 428 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003756/1.592, allocations: 1.309 MB / 0.6387 GB, free: 15.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007067/1.599, allocations: 4.032 MB / 0.6426 GB, free: 9.684 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00609/1.605, allocations: 2.348 MB / 0.6449 GB, free: 7.336 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/1.605, allocations: 28 kB / 0.6449 GB, free: 7.309 MB / 458.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01556/1.621, allocations: 4.914 MB / 0.6497 GB, free: 2.391 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.621, allocations: 48 kB / 0.6498 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001794/1.621, allocations: 99.94 kB / 0.6499 GB, free: 2.246 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/1.621, allocations: 148 kB / 0.65 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006412/1.628, allocations: 0.9669 MB / 0.651 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002725/1.628, allocations: 199.2 kB / 0.6511 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004927/1.633, allocations: 0.5953 MB / 0.6517 GB, free: 344 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/1.634, allocations: 284 kB / 0.652 GB, free: 60 kB / 458.7 MB 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.001439/1.635, allocations: 436.9 kB / 0.6524 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/1.636, allocations: 213.1 kB / 0.6526 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/1.637, allocations: 275.3 kB / 0.6529 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.671e-05/1.637, allocations: 19.95 kB / 0.6529 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/1.637, allocations: 0 / 0.6529 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.637, allocations: 3.984 kB / 0.6529 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/1.655, allocations: 5.603 MB / 0.6584 GB, free: 9.391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/1.656, allocations: 4 kB / 0.6584 GB, free: 9.387 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.657, allocations: 139.7 kB / 0.6585 GB, free: 9.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.483e-05/1.657, allocations: 8 kB / 0.6585 GB, free: 9.242 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/1.657, allocations: 16.56 kB / 0.6585 GB, free: 9.227 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.752e-05/1.657, allocations: 15.98 kB / 0.6585 GB, free: 9.211 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/1.657, allocations: 19.89 kB / 0.6586 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004415/1.662, allocations: 2.092 MB / 0.6606 GB, free: 6.895 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009141/1.662, allocations: 313.8 kB / 0.6609 GB, free: 6.566 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006665/1.663, allocations: 19.98 kB / 0.6609 GB, free: 6.547 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/1.665, allocations: 35.95 kB / 0.661 GB, free: 6.512 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002879/1.665, allocations: 60.39 kB / 0.661 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.665, allocations: 43.98 kB / 0.6611 GB, free: 6.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004425/1.67, allocations: 1.527 MB / 0.6626 GB, free: 4.863 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.333e-06/1.67, allocations: 0 / 0.6626 GB, free: 4.863 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005829/1.675, allocations: 1.015 MB / 0.6635 GB, free: 3.844 MB / 474.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.005764/1.681, allocations: 3.869 MB / 0.6673 GB, free: 15.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007936/1.689, allocations: 2.943 MB / 0.6702 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.689, allocations: 7.875 kB / 0.6702 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/1.691, allocations: 0.7228 MB / 0.6709 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/1.693, allocations: 224.6 kB / 0.6711 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0318/1.725, allocations: 7.016 MB / 0.678 GB, free: 4.824 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02964/1.755, allocations: 3.046 MB / 0.681 GB, free: 1.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01755/1.772, allocations: 1.484 MB / 0.6824 GB, free: 264 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00509/1.777, allocations: 1.495 MB / 0.6839 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of SimCode: time 1.773e-06/1.778, allocations: 0 / 0.6839 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5015/2.279, allocations: 48.86 MB / 0.7316 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/2.279, allocations: 148 kB / 0.7317 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.996/6.275, allocations: 0 / 0.7317 GB, free: 147.8 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat does not exist to compare? outputFormat=mat