Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.541/2.541, allocations: 270 MB / 283.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.39e-05/4.396e-05, allocations: 4 kB / 348.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1366, allocations: 61.88 MB / 410.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5134/0.65, allocations: 94.55 MB / 0.4931 GB, free: 9.441 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.6503, allocations: 71.97 kB / 0.4931 GB, free: 9.371 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1331/0.7834, allocations: 28.04 MB / 0.5205 GB, free: 13.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7835, allocations: 0 / 0.5205 GB, free: 13.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.125e-05/0.7836, allocations: 40 kB / 0.5206 GB, free: 13.08 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.004593/0.7882, allocations: 1.593 MB / 0.5221 GB, free: 11.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.298e-05/0.7883, allocations: 8.031 kB / 0.5221 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009325/0.7892, allocations: 350.3 kB / 0.5225 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.7906, allocations: 257.2 kB / 0.5227 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.7931, allocations: 0.8373 MB / 0.5235 GB, free: 9.941 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.7933, allocations: 155.7 kB / 0.5237 GB, free: 9.789 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004259/0.7938, allocations: 180 kB / 0.5238 GB, free: 9.613 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007778/0.8015, allocations: 3.314 MB / 0.5271 GB, free: 5.906 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.341e-05/0.8017, allocations: 19.81 kB / 0.5271 GB, free: 5.887 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.802, allocations: 87.94 kB / 0.5272 GB, free: 5.801 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006582/0.8026, allocations: 336.1 kB / 0.5275 GB, free: 5.473 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005235/0.8079, allocations: 1.753 MB / 0.5292 GB, free: 3.715 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/0.8283, allocations: 15.21 MB / 0.5441 GB, free: 4.008 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.485e-05/0.8285, allocations: 173.1 kB / 0.5442 GB, free: 3.828 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.8285, allocations: 80.14 kB / 0.5443 GB, free: 3.746 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.8285, allocations: 75.28 kB / 0.5444 GB, free: 3.672 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.8286, allocations: 105.8 kB / 0.5445 GB, free: 3.559 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.8286, allocations: 0 / 0.5445 GB, free: 3.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003267/0.8289, allocations: 164 kB / 0.5446 GB, free: 3.391 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.829, allocations: 130.6 kB / 0.5448 GB, free: 3.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/0.8319, allocations: 1.463 MB / 0.5462 GB, free: 1.781 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.8319, allocations: 29.69 kB / 0.5462 GB, free: 1.746 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.8332, allocations: 1.359 MB / 0.5476 GB, free: 372 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.8333, allocations: 43.95 kB / 0.5476 GB, free: 328 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.02e-05/0.8334, allocations: 40 kB / 0.5476 GB, free: 288 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003136/0.8337, allocations: 442.7 kB / 0.5481 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008403/0.8346, allocations: 356 kB / 0.5484 GB, free: 15.49 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.8368, allocations: 1.886 MB / 0.5502 GB, free: 12.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.8385, allocations: 0.78 MB / 0.551 GB, free: 12.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-05/0.8385, allocations: 20 kB / 0.551 GB, free: 11.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00484/0.8434, allocations: 1.917 MB / 0.5529 GB, free: 10.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.815e-05/0.8435, allocations: 28 kB / 0.5529 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.581e-05/0.8436, allocations: 56 kB / 0.553 GB, free: 9.984 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.8437, allocations: 84 kB / 0.553 GB, free: 9.902 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/0.8461, allocations: 487 kB / 0.5535 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001265/0.8463, allocations: 119.5 kB / 0.5536 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.8484, allocations: 320.5 kB / 0.5539 GB, free: 8.992 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.8487, allocations: 136 kB / 0.5541 GB, free: 8.859 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.0004077/0.8491, allocations: 377 kB / 0.5544 GB, free: 8.484 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.8494, allocations: 223.4 kB / 0.5546 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.8497, allocations: 228.5 kB / 0.5549 GB, free: 8.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.381e-05/0.8498, allocations: 180.3 kB / 0.555 GB, free: 7.836 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.872e-05/0.8499, allocations: 180.2 kB / 0.5552 GB, free: 7.652 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.098e-05/0.85, allocations: 184.2 kB / 0.5554 GB, free: 7.465 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.8526, allocations: 1.474 MB / 0.5568 GB, free: 5.934 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/0.8527, allocations: 109 kB / 0.5569 GB, free: 5.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.8528, allocations: 104.9 kB / 0.557 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.391e-05/0.8529, allocations: 184.4 kB / 0.5572 GB, free: 5.523 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.691e-05/0.853, allocations: 184.3 kB / 0.5574 GB, free: 5.336 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.849e-05/0.853, allocations: 180.2 kB / 0.5575 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.072e-05/0.8531, allocations: 180.3 kB / 0.5577 GB, free: 4.969 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.8535, allocations: 437.3 kB / 0.5581 GB, free: 4.516 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/0.854, allocations: 296.5 kB / 0.5584 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.8543, allocations: 180.3 kB / 0.5586 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/0.8549, allocations: 104.9 kB / 0.5587 GB, free: 3.906 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.855, allocations: 176.3 kB / 0.5589 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/0.855, allocations: 105 kB / 0.559 GB, free: 3.617 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002222/0.8573, allocations: 0.9977 MB / 0.5599 GB, free: 2.621 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.8573, allocations: 0 / 0.5599 GB, free: 2.621 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002482/0.8598, allocations: 442 kB / 0.5603 GB, free: 2.188 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0006875/0.8605, allocations: 0.9439 MB / 0.5613 GB, free: 1.211 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.8627, allocations: 0.805 MB / 0.5621 GB, free: 428 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.8627, allocations: 0 / 0.5621 GB, free: 428 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.038e-06/0.8627, allocations: 0 / 0.5621 GB, free: 428 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.8639, allocations: 0.6466 MB / 0.5627 GB, free: 15.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00771/0.8716, allocations: 2.557 MB / 0.5652 GB, free: 13.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/0.8737, allocations: 1.615 MB / 0.5668 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002275/0.876, allocations: 495.1 kB / 0.5672 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/0.8773, allocations: 0.6672 MB / 0.5679 GB, free: 10.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8773, allocations: 0 / 0.5679 GB, free: 10.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/0.9776, allocations: 22.09 MB / 0.5895 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003729/0.978, allocations: 152.6 kB / 0.5896 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.318/4.296, allocations: 3.938 kB / 0.5896 GB, free: 4.176 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat