Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_AST_BatchPlant_Test_TankWithEmptyingPipe1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.124/2.124, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.127e-05, allocations: 0 / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.17, allocations: 328.1 MB / 0.63 GB, free: 35.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/1.171, allocations: 93.55 kB / 0.6301 GB, free: 35.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8806/2.051, allocations: 166.4 MB / 0.7926 GB, free: 45.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/2.051, allocations: 0 / 0.7926 GB, free: 45.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.753e-05/2.051, allocations: 23.98 kB / 0.7926 GB, free: 45.86 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003113/2.054, allocations: 1.107 MB / 0.7937 GB, free: 44.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/2.054, allocations: 12.03 kB / 0.7937 GB, free: 44.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/2.055, allocations: 98.5 kB / 0.7938 GB, free: 44.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/2.055, allocations: 102.9 kB / 0.7939 GB, free: 44.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/2.057, allocations: 0.6208 MB / 0.7945 GB, free: 43.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/2.057, allocations: 49.3 kB / 0.7946 GB, free: 43.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/2.057, allocations: 52 kB / 0.7946 GB, free: 43.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/2.059, allocations: 0.875 MB / 0.7955 GB, free: 42.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/2.059, allocations: 0 / 0.7955 GB, free: 42.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/2.059, allocations: 27.98 kB / 0.7955 GB, free: 42.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.801e-05/2.059, allocations: 45.28 kB / 0.7955 GB, free: 42.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/2.061, allocations: 0.7716 MB / 0.7963 GB, free: 41.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007826/2.069, allocations: 3.78 MB / 0.8 GB, free: 37.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/2.07, allocations: 0.5114 MB / 0.8005 GB, free: 37.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005857/2.071, allocations: 266 kB / 0.8007 GB, free: 37.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00328/2.074, allocations: 1.88 MB / 0.8026 GB, free: 35.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/2.074, allocations: 38.56 kB / 0.8026 GB, free: 35.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 3.707e-06/2.074, allocations: 0 / 0.8026 GB, free: 35.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.004121/2.078, allocations: 1.383 MB / 0.8039 GB, free: 33.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/2.078, allocations: 132.5 kB / 0.8041 GB, free: 33.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/2.08, allocations: 0.6522 MB / 0.8047 GB, free: 32.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.601e-05/2.08, allocations: 41.69 kB / 0.8048 GB, free: 32.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/2.08, allocations: 395 kB / 0.8051 GB, free: 32.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/2.08, allocations: 161.8 kB / 0.8053 GB, free: 32.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/2.08, allocations: 19.94 kB / 0.8053 GB, free: 32.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/2.08, allocations: 394.7 kB / 0.8057 GB, free: 31.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/2.081, allocations: 249.5 kB / 0.8059 GB, free: 31.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/2.082, allocations: 488.7 kB / 0.8064 GB, free: 30.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007135/2.083, allocations: 319.1 kB / 0.8067 GB, free: 30.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/2.083, allocations: 7.938 kB / 0.8067 GB, free: 30.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002116/2.085, allocations: 0.8438 MB / 0.8075 GB, free: 29.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005406/2.085, allocations: 2.712 MB / 0.8102 GB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/2.085, allocations: 4 kB / 0.8102 GB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/2.087, allocations: 165.6 kB / 0.8103 GB, free: 26.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/2.089, allocations: 187.7 kB / 0.8105 GB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/2.09, allocations: 1.804 MB / 0.8123 GB, free: 24.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/2.091, allocations: 60.08 kB / 0.8123 GB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/2.092, allocations: 32 kB / 0.8124 GB, free: 24.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/2.092, allocations: 4 kB / 0.8124 GB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00189/2.093, allocations: 0.7569 MB / 0.8131 GB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/2.094, allocations: 8.156 kB / 0.8131 GB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/2.095, allocations: 169.5 kB / 0.8133 GB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/2.096, allocations: 175.8 kB / 0.8134 GB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008015/2.097, allocations: 1.175 MB / 0.8146 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/2.098, allocations: 56.03 kB / 0.8146 GB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.686e-05/2.098, allocations: 35.98 kB / 0.8147 GB, free: 22.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * 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: 2 * 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: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000287/2.099, allocations: 156.7 kB / 0.8148 GB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/2.099, allocations: 90.97 kB / 0.8149 GB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/2.101, allocations: 0.8034 MB / 0.8157 GB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/2.101, allocations: 8 kB / 0.8157 GB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/2.101, allocations: 0 / 0.8157 GB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/2.101, allocations: 3.984 kB / 0.8157 GB, free: 20.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/2.105, allocations: 1.56 MB / 0.8172 GB, free: 19.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/2.105, allocations: 0 / 0.8172 GB, free: 19.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/2.106, allocations: 127.9 kB / 0.8173 GB, free: 19.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009063/2.107, allocations: 133.7 kB / 0.8175 GB, free: 19.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/2.107, allocations: 23.92 kB / 0.8175 GB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009863/2.108, allocations: 1.741 MB / 0.8192 GB, free: 17.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/2.108, allocations: 3.938 kB / 0.8192 GB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/2.11, allocations: 1.111 MB / 0.8203 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/2.11, allocations: 172 kB / 0.8205 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/2.111, allocations: 16.06 kB / 0.8205 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009364/2.112, allocations: 51.81 kB / 0.8205 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/2.112, allocations: 52.48 kB / 0.8206 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.542e-05/2.112, allocations: 27.97 kB / 0.8206 GB, free: 15.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009334/2.113, allocations: 0.5148 MB / 0.8211 GB, free: 15.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.113, allocations: 0 / 0.8211 GB, free: 15.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002605/2.115, allocations: 0.6557 MB / 0.8217 GB, free: 14.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (tank1.medium.T,tank1.level) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {1 2,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004491/2.12, allocations: 2.466 MB / 0.8241 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003954/2.124, allocations: 1.134 MB / 0.8253 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/2.124, allocations: 0 / 0.8253 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/2.125, allocations: 375.2 kB / 0.8256 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/2.128, allocations: 366 kB / 0.826 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/2.133, allocations: 1.488 MB / 0.8274 GB, free: 8.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/2.133, allocations: 1.004 MB / 0.8284 GB, free: 7.645 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002041/2.135, allocations: 369.3 kB / 0.8287 GB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/2.136, allocations: 287.3 kB / 0.829 GB, free: 7.004 MB / 426.7 MB Notification: Performance of SimCode: time 1.392e-06/2.136, allocations: 0 / 0.829 GB, free: 7.004 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.395/2.531, allocations: 30.62 MB / 0.8589 GB, free: 82.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/2.531, allocations: 239.4 kB / 0.8592 GB, free: 82.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.153/6.685, allocations: 0 / 0.8592 GB, free: 82.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat does not exist to compare? outputFormat=mat