Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 235 MB / 247.2 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.17e-05/4.184e-05, allocations: 4.938 kB / 305 MB, free: 5.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4623, allocations: 54.85 MB / 359.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.6192, allocations: 82.84 MB / 442.7 MB, free: 14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.6195, allocations: 63.97 kB / 442.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04005/0.6596, allocations: 6.871 MB / 449.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.6596, allocations: 0 / 449.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.759e-05/0.6597, allocations: 8 kB / 449.6 MB, free: 7.082 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002471/0.6622, allocations: 0.5885 MB / 450.2 MB, free: 6.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.163e-05/0.6623, allocations: 12.03 kB / 450.2 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.6625, allocations: 74.47 kB / 450.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.6627, allocations: 44.23 kB / 450.4 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008196/0.6636, allocations: 272.3 kB / 450.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.6637, allocations: 24.78 kB / 450.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.6638, allocations: 28 kB / 450.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.6651, allocations: 331.8 kB / 451 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.6651, allocations: 3.984 kB / 451 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/0.6652, allocations: 15.95 kB / 451 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.6653, allocations: 12 kB / 451 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.6663, allocations: 210.2 kB / 451.2 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/0.6709, allocations: 1.295 MB / 452.5 MB, free: 3.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008081/0.6718, allocations: 162.5 kB / 452.7 MB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.672, allocations: 63.56 kB / 452.8 MB, free: 3.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-05/0.6721, allocations: 7.984 kB / 452.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.6722, allocations: 42.59 kB / 452.8 MB, free: 3.656 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 4.709e-06/0.6722, allocations: 0 / 452.8 MB, free: 3.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007962/0.673, allocations: 137.2 kB / 452.9 MB, free: 3.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.6732, allocations: 144.5 kB / 453.1 MB, free: 3.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007157/0.6739, allocations: 274.8 kB / 453.3 MB, free: 3.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.674, allocations: 33.7 kB / 453.4 MB, free: 3.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.6743, allocations: 235.3 kB / 453.6 MB, free: 2.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/0.6744, allocations: 52.12 kB / 453.7 MB, free: 2.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.6744, allocations: 8 kB / 453.7 MB, free: 2.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.6747, allocations: 342.8 kB / 454 MB, free: 2.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.675, allocations: 48.56 kB / 454 MB, free: 2.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.6754, allocations: 144.2 kB / 454.2 MB, free: 2.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.6758, allocations: 84.02 kB / 454.3 MB, free: 2.078 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.6759, allocations: 0 / 454.3 MB, free: 2.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001065/0.6769, allocations: 253.3 kB / 454.5 MB, free: 1.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.677, allocations: 8 kB / 454.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.677, allocations: 3.938 kB / 454.5 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/0.6771, allocations: 19.86 kB / 454.6 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000957/0.6781, allocations: 79.89 kB / 454.6 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.6781, allocations: 4 kB / 454.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007682/0.6789, allocations: 51.64 kB / 454.7 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.679, allocations: 12 kB / 454.7 MB, free: 1.648 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001697/0.6792, allocations: 128.8 kB / 454.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.6794, allocations: 27.62 kB / 454.8 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.6796, allocations: 42.39 kB / 454.9 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.6796, allocations: 0 / 454.9 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6796, allocations: 0 / 454.9 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.6797, allocations: 4 kB / 454.9 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.6814, allocations: 0.5837 MB / 455.5 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.6815, allocations: 4 kB / 455.5 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/0.6821, allocations: 44.06 kB / 455.5 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/0.6822, allocations: 8 kB / 455.5 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.6822, allocations: 4 kB / 455.5 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.6823, allocations: 7.953 kB / 455.5 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.6823, allocations: 4 kB / 455.5 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.6831, allocations: 414.1 kB / 456 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.6833, allocations: 112.7 kB / 456.1 MB, free: 112 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.733e-05/0.6834, allocations: 4 kB / 456.1 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007491/0.6842, allocations: 27.97 kB / 456.1 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.6844, allocations: 11.94 kB / 456.1 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.6844, allocations: 8.062 kB / 456.1 MB, free: 60 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000634/0.6851, allocations: 230.1 kB / 456.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.6851, allocations: 4 kB / 456.3 MB, free: 15.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001032/0.6862, allocations: 71.78 kB / 456.4 MB, free: 15.76 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.00161/0.6878, allocations: 1.366 MB / 457.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008207/0.6887, allocations: 147.7 kB / 457.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.6887, allocations: 0 / 457.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.689, allocations: 59.92 kB / 458 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.6897, allocations: 18.03 kB / 458 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.6921, allocations: 419.4 kB / 458.4 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.6927, allocations: 0.7798 MB / 459.2 MB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003416/0.6931, allocations: 30.28 kB / 459.2 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.6934, allocations: 103.3 kB / 459.3 MB, free: 12.72 MB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6935, allocations: 0 / 459.3 MB, free: 12.72 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06084/0.7543, allocations: 4.456 MB / 463.8 MB, free: 8.344 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003673/0.7548, allocations: 139.3 kB / 463.9 MB, free: 8.117 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.451, allocations: 0 / 463.9 MB, free: 8.117 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat