Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.168/2.168, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.304e-05/4.309e-05, allocations: 8 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 50.41 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.5937, allocations: 79.48 MB / 422.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.5941, allocations: 65.41 kB / 422.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02922/0.6233, allocations: 6.027 MB / 428.2 MB, free: 9.301 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6234, allocations: 0 / 428.2 MB, free: 9.301 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.367e-05/0.6234, allocations: 4 kB / 428.2 MB, free: 9.297 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001425/0.6249, allocations: 0.5748 MB / 428.8 MB, free: 8.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.625, allocations: 12.03 kB / 428.8 MB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.6251, allocations: 69.62 kB / 428.9 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.6253, allocations: 47.47 kB / 428.9 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.6259, allocations: 289.5 kB / 429.2 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.6261, allocations: 49.2 kB / 429.2 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.6262, allocations: 23.44 kB / 429.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007601/0.627, allocations: 310.8 kB / 429.6 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.6271, allocations: 3.953 kB / 429.6 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.6271, allocations: 11 kB / 429.6 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.6271, allocations: 8 kB / 429.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.6277, allocations: 180 kB / 429.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.6303, allocations: 0.8272 MB / 430.6 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009277/0.6313, allocations: 261.5 kB / 430.9 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.6316, allocations: 114.2 kB / 431 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-05/0.6317, allocations: 3.25 kB / 431 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.6318, allocations: 38.38 kB / 431 MB, free: 6.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 6.031e-06/0.6318, allocations: 3.984 kB / 431 MB, free: 6.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009563/0.6328, allocations: 276 kB / 431.3 MB, free: 6.617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/0.633, allocations: 316.4 kB / 431.6 MB, free: 6.234 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.6334, allocations: 244 kB / 431.8 MB, free: 6.035 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.957e-05/0.6336, allocations: 33.64 kB / 431.9 MB, free: 6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.6337, allocations: 179.2 kB / 432 MB, free: 5.863 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.6339, allocations: 107.5 kB / 432.1 MB, free: 5.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.6339, allocations: 6.25 kB / 432.1 MB, free: 5.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.6341, allocations: 344.4 kB / 432.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.6344, allocations: 79.44 kB / 432.6 MB, free: 5.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.6348, allocations: 189.9 kB / 432.7 MB, free: 5.203 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.6351, allocations: 131.7 kB / 432.9 MB, free: 5.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.6352, allocations: 0 / 432.9 MB, free: 5.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009697/0.6361, allocations: 343.1 kB / 433.2 MB, free: 4.828 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/0.6362, allocations: 37.52 kB / 433.2 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6363, allocations: 0 / 433.2 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.6365, allocations: 40.16 kB / 433.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.6385, allocations: 199.3 kB / 433.5 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005063/0.6437, allocations: 2.941 MB / 436.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005205/0.6442, allocations: 35.59 kB / 436.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.6443, allocations: 15.81 kB / 436.5 MB, free: 1.496 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 2} Notification: Performance of prepare postOptimizeDAE: time 0.000186/0.6445, allocations: 133.8 kB / 436.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.6446, allocations: 35.62 kB / 436.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.6448, allocations: 39.45 kB / 436.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.6448, allocations: 4 kB / 436.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6448, allocations: 0 / 436.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009569/0.6458, allocations: 0.6328 MB / 437.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000764/0.6466, allocations: 391.6 kB / 437.7 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.6466, allocations: 4 kB / 437.7 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/0.6493, allocations: 259.1 kB / 437.9 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.6495, allocations: 20.64 kB / 438 MB, free: 0 / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/0.6496, allocations: 3.812 kB / 438 MB, free: 0 / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004364/0.6539, allocations: 2.771 MB / 440.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.654, allocations: 0 / 440.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.6552, allocations: 488.6 kB / 441.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.6555, allocations: 132.7 kB / 441.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.967e-05/0.6556, allocations: 17.62 kB / 441.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.656, allocations: 19.14 kB / 441.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.6562, allocations: 23.58 kB / 441.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.6562, allocations: 7.984 kB / 441.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003271/0.6565, allocations: 197.3 kB / 441.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6566, allocations: 0 / 441.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007446/0.6573, allocations: 111.4 kB / 441.7 MB, free: 12.26 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001753/0.6591, allocations: 1.049 MB / 442.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002512/0.6616, allocations: 0.5338 MB / 443.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.6617, allocations: 0 / 443.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002467/0.6642, allocations: 408.2 kB / 443.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008538/0.6651, allocations: 82.09 kB / 443.8 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.6682, allocations: 0.7494 MB / 444.5 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.6687, allocations: 0.7879 MB / 445.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002872/0.669, allocations: 30.95 kB / 445.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.6692, allocations: 101.8 kB / 445.4 MB, free: 8.785 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6692, allocations: 4 kB / 445.5 MB, free: 8.781 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/0.7101, allocations: 8.455 MB / 453.9 MB, free: 476 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/0.7105, allocations: 180.5 kB / 454.1 MB, free: 248 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/3.773, allocations: 64 / 454.1 MB, free: 248 kB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat does not exist to compare? outputFormat=mat