Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_AST_BatchPlant_Test_TankWithEmptyingPipe1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.456e-05/4.437e-05, allocations: 4 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 50.41 MB / 342.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.235, allocations: 328.9 MB / 0.6558 GB, free: 27.18 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/1.236, allocations: 95.56 kB / 0.6559 GB, free: 27.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9419/2.178, allocations: 169.9 MB / 0.8219 GB, free: 65.72 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.914e-06/2.178, allocations: 0 / 0.8219 GB, free: 65.72 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.008e-05/2.178, allocations: 20 kB / 0.8219 GB, free: 65.7 MB / 458.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.003206/2.181, allocations: 1.114 MB / 0.823 GB, free: 64.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/2.181, allocations: 12.03 kB / 0.823 GB, free: 64.53 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/2.181, allocations: 98.5 kB / 0.8231 GB, free: 64.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005417/2.182, allocations: 103 kB / 0.8232 GB, free: 64.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/2.184, allocations: 0.6245 MB / 0.8238 GB, free: 63.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/2.184, allocations: 45.3 kB / 0.8238 GB, free: 63.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/2.184, allocations: 55.98 kB / 0.8239 GB, free: 63.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/2.186, allocations: 0.8712 MB / 0.8247 GB, free: 62.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/2.186, allocations: 7.906 kB / 0.8247 GB, free: 62.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/2.186, allocations: 20 kB / 0.8248 GB, free: 62.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.169e-05/2.186, allocations: 49.28 kB / 0.8248 GB, free: 62.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/2.188, allocations: 0.7638 MB / 0.8256 GB, free: 61.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007436/2.196, allocations: 3.783 MB / 0.8292 GB, free: 57.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/2.197, allocations: 0.5114 MB / 0.8297 GB, free: 57.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/2.197, allocations: 258.1 kB / 0.83 GB, free: 57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003127/2.201, allocations: 1.895 MB / 0.8318 GB, free: 54.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/2.201, allocations: 38.56 kB / 0.8319 GB, free: 54.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 3.506e-06/2.201, allocations: 0 / 0.8319 GB, free: 54.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.004062/2.205, allocations: 1.371 MB / 0.8332 GB, free: 53.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/2.205, allocations: 136.5 kB / 0.8333 GB, free: 53.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/2.206, allocations: 0.6523 MB / 0.834 GB, free: 52.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/2.206, allocations: 37.7 kB / 0.834 GB, free: 52.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/2.206, allocations: 402.9 kB / 0.8344 GB, free: 52.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/2.207, allocations: 165.7 kB / 0.8346 GB, free: 51.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/2.207, allocations: 16 kB / 0.8346 GB, free: 51.96 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/2.207, allocations: 386.8 kB / 0.8349 GB, free: 51.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006376/2.208, allocations: 249.5 kB / 0.8352 GB, free: 51.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000756/2.208, allocations: 493.5 kB / 0.8357 GB, free: 50.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007471/2.209, allocations: 319 kB / 0.836 GB, free: 50.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/2.209, allocations: 4 kB / 0.836 GB, free: 50.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002129/2.211, allocations: 0.8551 MB / 0.8368 GB, free: 49.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005351/2.212, allocations: 2.706 MB / 0.8394 GB, free: 46.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/2.212, allocations: 8 kB / 0.8394 GB, free: 46.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/2.213, allocations: 161.6 kB / 0.8396 GB, free: 46.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/2.215, allocations: 195.7 kB / 0.8398 GB, free: 46.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/2.217, allocations: 1.804 MB / 0.8416 GB, free: 44.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/2.218, allocations: 55.81 kB / 0.8416 GB, free: 44.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/2.218, allocations: 35.98 kB / 0.8416 GB, free: 44.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/2.218, allocations: 4 kB / 0.8416 GB, free: 44.32 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001917/2.22, allocations: 0.7568 MB / 0.8424 GB, free: 43.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/2.22, allocations: 8 kB / 0.8424 GB, free: 43.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/2.222, allocations: 166 kB / 0.8425 GB, free: 43.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/2.223, allocations: 175.8 kB / 0.8427 GB, free: 43.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008496/2.224, allocations: 1.187 MB / 0.8439 GB, free: 41.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/2.225, allocations: 47.97 kB / 0.8439 GB, free: 41.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/2.225, allocations: 44.11 kB / 0.844 GB, free: 41.88 MB / 458.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.0003334/2.225, allocations: 152.7 kB / 0.8441 GB, free: 41.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/2.226, allocations: 79.06 kB / 0.8442 GB, free: 41.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/2.228, allocations: 0.8163 MB / 0.845 GB, free: 40.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/2.228, allocations: 4 kB / 0.845 GB, free: 40.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/2.228, allocations: 0 / 0.845 GB, free: 40.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/2.228, allocations: 3.984 kB / 0.845 GB, free: 40.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/2.232, allocations: 1.556 MB / 0.8465 GB, free: 39.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/2.232, allocations: 0 / 0.8465 GB, free: 39.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/2.233, allocations: 139.9 kB / 0.8466 GB, free: 39.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009532/2.234, allocations: 125.6 kB / 0.8468 GB, free: 38.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.673e-05/2.234, allocations: 19.98 kB / 0.8468 GB, free: 38.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/2.235, allocations: 1.745 MB / 0.8485 GB, free: 37.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/2.235, allocations: 3.953 kB / 0.8485 GB, free: 37.06 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/2.238, allocations: 1.11 MB / 0.8496 GB, free: 35.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/2.238, allocations: 172.1 kB / 0.8497 GB, free: 35.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/2.239, allocations: 16 kB / 0.8498 GB, free: 35.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009712/2.24, allocations: 43.97 kB / 0.8498 GB, free: 35.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/2.24, allocations: 60.41 kB / 0.8499 GB, free: 35.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.379e-05/2.24, allocations: 27.97 kB / 0.8499 GB, free: 35.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009716/2.241, allocations: 0.5109 MB / 0.8504 GB, free: 35.06 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.31e-07/2.241, allocations: 0 / 0.8504 GB, free: 35.06 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002863/2.244, allocations: 0.6556 MB / 0.851 GB, free: 34.4 MB / 458.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.004921/2.249, allocations: 2.459 MB / 0.8534 GB, free: 31.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004242/2.253, allocations: 1.13 MB / 0.8545 GB, free: 30.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/2.253, allocations: 0 / 0.8545 GB, free: 30.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/2.254, allocations: 375 kB / 0.8549 GB, free: 30.42 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/2.258, allocations: 361.3 kB / 0.8552 GB, free: 30.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/2.262, allocations: 1.492 MB / 0.8567 GB, free: 28.53 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/2.263, allocations: 1.008 MB / 0.8577 GB, free: 27.49 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00217/2.265, allocations: 366.6 kB / 0.858 GB, free: 27.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005973/2.266, allocations: 291.3 kB / 0.8583 GB, free: 26.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.432e-06/2.266, allocations: 0 / 0.8583 GB, free: 26.84 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4473/2.713, allocations: 30.62 MB / 0.8882 GB, free: 102.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/2.713, allocations: 238.7 kB / 0.8884 GB, free: 102.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.451/7.165, allocations: 1.375 kB / 0.8884 GB, free: 102.1 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat does not exist to compare? outputFormat=mat