Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.505/2.505, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.666e-05/4.666e-05, allocations: 4.938 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.399, allocations: 54.85 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.5554, allocations: 82.78 MB / 442.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.5558, allocations: 67.95 kB / 442.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01844/0.5743, allocations: 4.158 MB / 446.9 MB, free: 9.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.5743, allocations: 0 / 446.9 MB, free: 9.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.5744, allocations: 8 kB / 446.9 MB, free: 9.828 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001133/0.5755, allocations: 0.5062 MB / 447.4 MB, free: 9.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.5756, allocations: 12.03 kB / 447.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.5757, allocations: 66.53 kB / 447.5 MB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.121e-05/0.5758, allocations: 35.58 kB / 447.5 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.5761, allocations: 198.8 kB / 447.7 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.5762, allocations: 28.77 kB / 447.7 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.5763, allocations: 32 kB / 447.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007338/0.5771, allocations: 258.2 kB / 448 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.5771, allocations: 0.9375 kB / 448 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.5771, allocations: 19.98 kB / 448.1 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.5772, allocations: 11.95 kB / 448.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000608/0.5778, allocations: 197.5 kB / 448.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/0.5807, allocations: 1.04 MB / 449.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.5809, allocations: 34.58 kB / 449.3 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.581, allocations: 20.92 kB / 449.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.581, allocations: 4 kB / 449.4 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.581, allocations: 30.56 kB / 449.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 3.256e-06/0.5811, allocations: 0 / 449.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002436/0.5813, allocations: 70.34 kB / 449.5 MB, free: 7.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.5814, allocations: 59.42 kB / 449.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/0.5819, allocations: 279.3 kB / 449.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.5819, allocations: 29.7 kB / 449.8 MB, free: 6.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.5821, allocations: 226.8 kB / 450 MB, free: 6.488 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.5822, allocations: 15.84 kB / 450 MB, free: 6.473 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.5822, allocations: 4 kB / 450.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5824, allocations: 334.8 kB / 450.4 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.5826, allocations: 56 kB / 450.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.5828, allocations: 81.7 kB / 450.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.583, allocations: 73.03 kB / 450.6 MB, free: 5.922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.583, allocations: 0 / 450.6 MB, free: 5.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000568/0.5836, allocations: 221.3 kB / 450.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.5837, allocations: 4 kB / 450.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5837, allocations: 0 / 450.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.5837, allocations: 4.438 kB / 450.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.5843, allocations: 57.45 kB / 450.9 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.5843, allocations: 12.02 kB / 450.9 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.5848, allocations: 39.53 kB / 450.9 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.5849, allocations: 8 kB / 450.9 MB, free: 5.578 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001049/0.585, allocations: 112.9 kB / 451 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.585, allocations: 15.81 kB / 451 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.5851, allocations: 20.89 kB / 451.1 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5851, allocations: 0 / 451.1 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5852, allocations: 3.953 kB / 451.1 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.5852, allocations: 3.984 kB / 451.1 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009336/0.5861, allocations: 0.511 MB / 451.6 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5861, allocations: 3.938 kB / 451.6 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.5862, allocations: 4 kB / 451.6 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-06/0.5862, allocations: 3.953 kB / 451.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.5862, allocations: 0 / 451.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.5862, allocations: 0 / 451.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5863, allocations: 4 kB / 451.6 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.5865, allocations: 104.5 kB / 451.7 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.5866, allocations: 108.8 kB / 451.8 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.5866, allocations: 4 kB / 451.8 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.5869, allocations: 0 / 451.8 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.5869, allocations: 4 kB / 451.8 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.5869, allocations: 4.031 kB / 451.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003468/0.5873, allocations: 219.1 kB / 452 MB, free: 4.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5873, allocations: 3.938 kB / 452 MB, free: 4.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000416/0.5877, allocations: 63.84 kB / 452.1 MB, free: 4.281 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005227/0.5882, allocations: 0.7108 MB / 452.8 MB, free: 3.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.5886, allocations: 112.5 kB / 452.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5886, allocations: 0 / 452.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.5887, allocations: 7.984 kB / 452.9 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.589, allocations: 35.86 kB / 453 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.59, allocations: 281.6 kB / 453.2 MB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.5903, allocations: 0.748 MB / 454 MB, free: 2.285 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000203/0.5906, allocations: 26.06 kB / 454 MB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.5907, allocations: 71.42 kB / 454.1 MB, free: 2.188 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5907, allocations: 0 / 454.1 MB, free: 2.188 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.6204, allocations: 3.664 MB / 457.7 MB, free: 14.61 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003541/0.6208, allocations: 145.4 kB / 457.9 MB, free: 14.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.033, allocations: 7.938 kB / 457.9 MB, free: 14.38 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat