Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.584e-05, allocations: 4.938 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3919, allocations: 54.86 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.546, allocations: 82.78 MB / 442.6 MB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.5463, allocations: 71.95 kB / 442.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01776/0.5641, allocations: 4.157 MB / 446.9 MB, free: 9.922 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.358e-06/0.5641, allocations: 4 kB / 446.9 MB, free: 9.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.5641, allocations: 4 kB / 446.9 MB, free: 9.914 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.001074/0.5652, allocations: 0.5063 MB / 447.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5653, allocations: 8.031 kB / 447.4 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.5654, allocations: 70.53 kB / 447.5 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.5655, allocations: 35.58 kB / 447.5 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.5657, allocations: 194.8 kB / 447.7 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.5659, allocations: 24.78 kB / 447.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/0.566, allocations: 39.98 kB / 447.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.5667, allocations: 262.2 kB / 448 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.5667, allocations: 0 / 448 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.5667, allocations: 12.94 kB / 448 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.5668, allocations: 7.953 kB / 448 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.5674, allocations: 201.5 kB / 448.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.57, allocations: 1.043 MB / 449.3 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.5702, allocations: 26.58 kB / 449.3 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.5703, allocations: 28.92 kB / 449.3 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.5703, allocations: 0 / 449.3 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.5703, allocations: 34.5 kB / 449.4 MB, free: 7.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.144e-06/0.5704, allocations: 4 kB / 449.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002358/0.5706, allocations: 65.47 kB / 449.4 MB, free: 7.188 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.5707, allocations: 52.34 kB / 449.5 MB, free: 7.125 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005165/0.5712, allocations: 287.3 kB / 449.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.5712, allocations: 25.7 kB / 449.8 MB, free: 6.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.5715, allocations: 289.2 kB / 450.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.5715, allocations: 19.83 kB / 450.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.5715, allocations: 4 kB / 450.1 MB, free: 6.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5717, allocations: 326.9 kB / 450.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.5719, allocations: 52 kB / 450.5 MB, free: 6.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.5721, allocations: 81.7 kB / 450.5 MB, free: 6.031 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.5723, allocations: 72.47 kB / 450.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5723, allocations: 0.5625 kB / 450.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005263/0.5729, allocations: 205.5 kB / 450.8 MB, free: 5.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5729, allocations: 4 kB / 450.8 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5729, allocations: 0 / 450.8 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5729, allocations: 8.469 kB / 450.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.5735, allocations: 63.84 kB / 450.9 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.5735, allocations: 1.594 kB / 450.9 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.574, allocations: 43.53 kB / 450.9 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.574, allocations: 7.984 kB / 450.9 MB, free: 5.629 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.0001012/0.5741, allocations: 112.9 kB / 451 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.5742, allocations: 19.72 kB / 451.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.5743, allocations: 28.89 kB / 451.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.5743, allocations: 0 / 451.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.5743, allocations: 3.953 kB / 451.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5743, allocations: 0 / 451.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008913/0.5752, allocations: 0.5033 MB / 451.6 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5753, allocations: 0 / 451.6 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.978e-05/0.5753, allocations: 4 kB / 451.6 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.5753, allocations: 3.953 kB / 451.6 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.5754, allocations: 8.062 kB / 451.6 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.5754, allocations: 0 / 451.6 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5754, allocations: 0 / 451.6 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.5756, allocations: 107.4 kB / 451.7 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5757, allocations: 105.7 kB / 451.8 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.5758, allocations: 4 kB / 451.8 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.576, allocations: 8.016 kB / 451.8 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.576, allocations: 7.938 kB / 451.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.576, allocations: 4 kB / 451.8 MB, free: 4.598 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003331/0.5764, allocations: 211.1 kB / 452.1 MB, free: 4.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5764, allocations: 0 / 452.1 MB, free: 4.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004023/0.5768, allocations: 67.84 kB / 452.1 MB, free: 4.328 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.0005035/0.5773, allocations: 0.707 MB / 452.8 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.5777, allocations: 111.9 kB / 452.9 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5777, allocations: 0.5625 kB / 452.9 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.5777, allocations: 11.94 kB / 452.9 MB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.578, allocations: 27.48 kB / 453 MB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009475/0.579, allocations: 315.1 kB / 453.3 MB, free: 3.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.5794, allocations: 0.748 MB / 454 MB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.5796, allocations: 75.41 kB / 454.1 MB, free: 2.227 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5796, allocations: 0 / 454.1 MB, free: 2.227 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.265/2.845, allocations: 3.703 MB / 457.8 MB, free: 14.53 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat