Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.694/2.694, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.36e-05/4.364e-05, allocations: 7.172 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1563, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5522/0.7086, allocations: 95.19 MB / 0.4937 GB, free: 8.773 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/0.709, allocations: 71.97 kB / 0.4938 GB, free: 8.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1739/0.883, allocations: 35.65 MB / 0.5286 GB, free: 4.703 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8831, allocations: 0 / 0.5286 GB, free: 4.703 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001005/0.8832, allocations: 36 kB / 0.5286 GB, free: 4.668 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: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.005508/0.8887, allocations: 1.659 MB / 0.5302 GB, free: 2.957 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.591e-05/0.8888, allocations: 12.03 kB / 0.5302 GB, free: 2.945 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001646/0.8904, allocations: 372 kB / 0.5306 GB, free: 2.574 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/0.9035, allocations: 1.663 MB / 0.5322 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003773/0.9074, allocations: 1.028 MB / 0.5332 GB, free: 15.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002271/0.9077, allocations: 135.3 kB / 0.5334 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.9089, allocations: 167.9 kB / 0.5335 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.9222, allocations: 4.897 MB / 0.5383 GB, free: 9.988 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.9224, allocations: 27.75 kB / 0.5383 GB, free: 9.961 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008383/0.9233, allocations: 91.94 kB / 0.5384 GB, free: 9.871 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001261/0.9246, allocations: 0.5179 MB / 0.5389 GB, free: 9.352 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.9355, allocations: 3.905 MB / 0.5427 GB, free: 5.438 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0363/0.9719, allocations: 24.67 MB / 0.5668 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.9743, allocations: 1.173 MB / 0.568 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008561/0.9752, allocations: 346.4 kB / 0.5683 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.9753, allocations: 4 kB / 0.5683 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.9753, allocations: 34.56 kB / 0.5683 GB, free: 10.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=60): time 5.41e-06/0.9753, allocations: 8 kB / 0.5684 GB, free: 10.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.0022/0.9775, allocations: 0.7472 MB / 0.5691 GB, free: 9.375 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/0.9777, allocations: 107 kB / 0.5692 GB, free: 9.246 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00555/0.9832, allocations: 1.938 MB / 0.5711 GB, free: 7.262 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.9835, allocations: 37.64 kB / 0.5711 GB, free: 7.219 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002147/0.9856, allocations: 1.633 MB / 0.5727 GB, free: 5.559 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005766/0.9863, allocations: 268.9 kB / 0.573 GB, free: 5.293 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004507/0.9867, allocations: 64 kB / 0.573 GB, free: 5.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005646/0.9873, allocations: 0.4941 MB / 0.5735 GB, free: 4.727 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/0.99, allocations: 0.8616 MB / 0.5743 GB, free: 3.863 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005017/0.9951, allocations: 3.102 MB / 0.5774 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004419/0.9996, allocations: 1.677 MB / 0.579 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/0.9997, allocations: 24 kB / 0.579 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01135/1.011, allocations: 3.545 MB / 0.5825 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.346e-05/1.011, allocations: 47.94 kB / 0.5825 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/1.011, allocations: 84 kB / 0.5826 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/1.012, allocations: 116 kB / 0.5827 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004811/1.016, allocations: 0.7564 MB / 0.5835 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002199/1.017, allocations: 159.4 kB / 0.5836 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003944/1.021, allocations: 494.7 kB / 0.5841 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008298/1.022, allocations: 220.1 kB / 0.5843 GB, free: 8.52 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * 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.001052/1.023, allocations: 367 kB / 0.5847 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007492/1.023, allocations: 169.8 kB / 0.5848 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/1.025, allocations: 203.8 kB / 0.585 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-05/1.025, allocations: 8 kB / 0.585 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.025, allocations: 0 / 0.585 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/1.025, allocations: 4 kB / 0.585 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006538/1.031, allocations: 2.016 MB / 0.587 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/1.031, allocations: 3.984 kB / 0.587 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/1.032, allocations: 55.91 kB / 0.5871 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/1.032, allocations: 4 kB / 0.5871 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/1.032, allocations: 11.98 kB / 0.5871 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-06/1.032, allocations: 4 kB / 0.5871 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.032, allocations: 0 / 0.5871 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/1.034, allocations: 1.063 MB / 0.5881 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007039/1.035, allocations: 238.8 kB / 0.5883 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/1.035, allocations: 8 kB / 0.5883 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.037, allocations: 23.97 kB / 0.5884 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.037, allocations: 23.92 kB / 0.5884 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/1.037, allocations: 24 kB / 0.5884 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005044/1.042, allocations: 1.333 MB / 0.5897 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.012e-06/1.042, allocations: 0 / 0.5897 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006363/1.048, allocations: 0.5026 MB / 0.5902 GB, free: 2.312 MB / 0.4948 GB 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.003917/1.052, allocations: 1.792 MB / 0.592 GB, free: 496 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007236/1.06, allocations: 1.903 MB / 0.5938 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.06, allocations: 4 kB / 0.5938 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/1.061, allocations: 329.6 kB / 0.5941 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.063, allocations: 156.3 kB / 0.5943 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/1.082, allocations: 3.617 MB / 0.5978 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005456/1.088, allocations: 1.834 MB / 0.5996 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007282/1.095, allocations: 1.109 MB / 0.6007 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002835/1.098, allocations: 0.7297 MB / 0.6014 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of SimCode: time 3.426e-06/1.098, allocations: 0 / 0.6014 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.458/1.556, allocations: 32.36 MB / 0.633 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001086/1.557, allocations: 159 kB / 0.6332 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.69/5.247, allocations: 0 / 0.6332 GB, free: 153.1 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat does not exist to compare? outputFormat=mat