Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.728/2.728, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.409e-05/2.41e-05, allocations: 0 / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3799, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.5433, allocations: 82.1 MB / 436.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.5436, allocations: 71.95 kB / 436.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01968/0.5633, allocations: 4.129 MB / 440.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5634, allocations: 0 / 440.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.5634, allocations: 12 kB / 440.8 MB, free: 8.746 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.001255/0.5647, allocations: 0.5147 MB / 441.3 MB, free: 8.188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.5648, allocations: 8.031 kB / 441.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.5649, allocations: 31.67 kB / 441.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.5652, allocations: 198.7 kB / 441.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.5653, allocations: 20.78 kB / 441.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/0.5654, allocations: 16 kB / 441.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006429/0.5661, allocations: 185.5 kB / 441.7 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.5668, allocations: 222.2 kB / 441.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.5668, allocations: 0 / 441.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.5668, allocations: 0 / 441.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.5669, allocations: 11.95 kB / 442 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.5698, allocations: 0.95 MB / 442.9 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.57, allocations: 34.58 kB / 442.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.679e-05/0.5701, allocations: 21.36 kB / 443 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.5701, allocations: 0 / 443 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.5701, allocations: 38.56 kB / 443 MB, free: 6.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 4.118e-06/0.5702, allocations: 0 / 443 MB, free: 6.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002374/0.5704, allocations: 61.39 kB / 443.1 MB, free: 6.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.5705, allocations: 55.39 kB / 443.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/0.5708, allocations: 222 kB / 443.3 MB, free: 5.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.5709, allocations: 25.7 kB / 443.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.5711, allocations: 242.7 kB / 443.6 MB, free: 5.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.5711, allocations: 15.89 kB / 443.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.5712, allocations: 0 / 443.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5713, allocations: 330.8 kB / 443.9 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.5715, allocations: 55.94 kB / 444 MB, free: 5.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.5717, allocations: 77.7 kB / 444.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.5719, allocations: 63.97 kB / 444.1 MB, free: 5.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.572, allocations: 0 / 444.1 MB, free: 5.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005497/0.5725, allocations: 193.4 kB / 444.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5726, allocations: 4 kB / 444.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.5726, allocations: 12.02 kB / 444.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5726, allocations: 0 / 444.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.5733, allocations: 59.89 kB / 444.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.5733, allocations: 4 kB / 444.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.5738, allocations: 23.69 kB / 444.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.5738, allocations: 8 kB / 444.4 MB, free: 4.867 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.0001052/0.5739, allocations: 104.9 kB / 444.5 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001826/0.5741, allocations: 73.44 kB / 444.6 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.5742, allocations: 11.81 kB / 444.6 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.5742, allocations: 21.17 kB / 444.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.5743, allocations: 0 / 444.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5743, allocations: 0 / 444.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5743, allocations: 3.953 kB / 444.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008807/0.5752, allocations: 471.9 kB / 445.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5752, allocations: 0 / 445.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.5753, allocations: 8.094 kB / 445.1 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5753, allocations: 0 / 445.1 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.5753, allocations: 4 kB / 445.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.5753, allocations: 3.953 kB / 445.1 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.5753, allocations: 0 / 445.1 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.5755, allocations: 111.5 kB / 445.2 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.5757, allocations: 96.91 kB / 445.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.5757, allocations: 3.953 kB / 445.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.5759, allocations: 4 kB / 445.3 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.576, allocations: 3.938 kB / 445.3 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.576, allocations: 0 / 445.3 MB, free: 3.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002579/0.5762, allocations: 172.6 kB / 445.5 MB, free: 3.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5762, allocations: 0 / 445.5 MB, free: 3.691 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004814/0.5767, allocations: 63.75 kB / 445.5 MB, free: 3.629 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.0005365/0.5773, allocations: 0.707 MB / 446.3 MB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003694/0.5777, allocations: 103.9 kB / 446.4 MB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5777, allocations: 0 / 446.4 MB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.5778, allocations: 20.03 kB / 446.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.5781, allocations: 20.61 kB / 446.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.5793, allocations: 276.7 kB / 446.7 MB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.5799, allocations: 0.7476 MB / 447.4 MB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003013/0.5802, allocations: 21.84 kB / 447.4 MB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.5805, allocations: 71.41 kB / 447.5 MB, free: 1.562 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5805, allocations: 0 / 447.5 MB, free: 1.562 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/0.6823, allocations: 2.849 MB / 450.4 MB, free: 14.74 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003306/0.6827, allocations: 134.9 kB / 450.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.674/3.356, allocations: 0 / 450.5 MB, free: 14.55 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat