Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_AST_BatchPlant_Test_TankWithEmptyingPipe1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.741e-05, allocations: 6.812 kB / 292.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.254, allocations: 328.9 MB / 0.6563 GB, free: 27.19 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/1.254, allocations: 89.95 kB / 0.6564 GB, free: 27.14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9566/2.211, allocations: 169.9 MB / 0.8224 GB, free: 65.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.254e-06/2.211, allocations: 0 / 0.8224 GB, free: 65.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001015/2.211, allocations: 27.92 kB / 0.8224 GB, free: 65.71 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.003979/2.215, allocations: 1.113 MB / 0.8235 GB, free: 64.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/2.215, allocations: 12.03 kB / 0.8235 GB, free: 64.54 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003697/2.215, allocations: 102.5 kB / 0.8236 GB, free: 64.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006794/2.216, allocations: 94.97 kB / 0.8237 GB, free: 64.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/2.218, allocations: 0.6323 MB / 0.8243 GB, free: 63.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/2.218, allocations: 45.3 kB / 0.8243 GB, free: 63.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/2.218, allocations: 52 kB / 0.8244 GB, free: 63.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/2.221, allocations: 0.8751 MB / 0.8252 GB, free: 62.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/2.221, allocations: 3.906 kB / 0.8252 GB, free: 62.63 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/2.221, allocations: 27.98 kB / 0.8253 GB, free: 62.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.787e-05/2.221, allocations: 45.3 kB / 0.8253 GB, free: 62.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/2.223, allocations: 0.7599 MB / 0.8261 GB, free: 61.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008482/2.231, allocations: 3.787 MB / 0.8297 GB, free: 57.78 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/2.233, allocations: 0.5036 MB / 0.8302 GB, free: 57.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005922/2.234, allocations: 262.1 kB / 0.8305 GB, free: 57.01 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003435/2.237, allocations: 1.891 MB / 0.8323 GB, free: 54.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/2.237, allocations: 38.56 kB / 0.8324 GB, free: 54.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 3.757e-06/2.237, allocations: 0 / 0.8324 GB, free: 54.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.004438/2.242, allocations: 1.367 MB / 0.8337 GB, free: 53.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/2.242, allocations: 140.5 kB / 0.8338 GB, free: 53.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/2.243, allocations: 0.6484 MB / 0.8345 GB, free: 52.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/2.243, allocations: 37.7 kB / 0.8345 GB, free: 52.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/2.244, allocations: 406.9 kB / 0.8349 GB, free: 52.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/2.244, allocations: 165.7 kB / 0.8351 GB, free: 52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/2.244, allocations: 16 kB / 0.8351 GB, free: 51.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/2.244, allocations: 386.8 kB / 0.8354 GB, free: 51.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/2.245, allocations: 253.5 kB / 0.8357 GB, free: 51.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000778/2.245, allocations: 489.5 kB / 0.8362 GB, free: 50.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007589/2.246, allocations: 319 kB / 0.8365 GB, free: 50.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/2.246, allocations: 4 kB / 0.8365 GB, free: 50.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00221/2.248, allocations: 0.8473 MB / 0.8373 GB, free: 49.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005392/2.249, allocations: 2.711 MB / 0.8399 GB, free: 46.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/2.249, allocations: 12 kB / 0.8399 GB, free: 46.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/2.251, allocations: 161.6 kB / 0.8401 GB, free: 46.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/2.253, allocations: 195.7 kB / 0.8403 GB, free: 46.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/2.254, allocations: 1.804 MB / 0.842 GB, free: 44.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/2.256, allocations: 51.88 kB / 0.8421 GB, free: 44.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/2.256, allocations: 35.98 kB / 0.8421 GB, free: 44.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/2.256, allocations: 4 kB / 0.8421 GB, free: 44.33 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002048/2.258, allocations: 0.7607 MB / 0.8429 GB, free: 43.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/2.258, allocations: 8 kB / 0.8429 GB, free: 43.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/2.26, allocations: 157.9 kB / 0.843 GB, free: 43.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/2.261, allocations: 179.7 kB / 0.8432 GB, free: 43.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009423/2.262, allocations: 1.183 MB / 0.8444 GB, free: 41.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/2.263, allocations: 51.91 kB / 0.8444 GB, free: 41.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/2.264, allocations: 40.11 kB / 0.8445 GB, free: 41.89 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.0003371/2.264, allocations: 156.1 kB / 0.8446 GB, free: 41.74 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/2.264, allocations: 87.05 kB / 0.8447 GB, free: 41.65 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/2.267, allocations: 0.8162 MB / 0.8455 GB, free: 40.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/2.267, allocations: 4 kB / 0.8455 GB, free: 40.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/2.267, allocations: 3.984 kB / 0.8455 GB, free: 40.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/2.267, allocations: 0 / 0.8455 GB, free: 40.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/2.27, allocations: 1.556 MB / 0.847 GB, free: 39.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/2.27, allocations: 0 / 0.847 GB, free: 39.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/2.272, allocations: 135.9 kB / 0.8471 GB, free: 39.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009289/2.272, allocations: 125.6 kB / 0.8473 GB, free: 38.92 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-05/2.273, allocations: 16.09 kB / 0.8473 GB, free: 38.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009988/2.274, allocations: 1.749 MB / 0.849 GB, free: 37.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/2.274, allocations: 3.953 kB / 0.849 GB, free: 37.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/2.276, allocations: 1.122 MB / 0.8501 GB, free: 35.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/2.276, allocations: 168 kB / 0.8502 GB, free: 35.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/2.277, allocations: 15.98 kB / 0.8503 GB, free: 35.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009549/2.278, allocations: 47.97 kB / 0.8503 GB, free: 35.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/2.278, allocations: 52.48 kB / 0.8504 GB, free: 35.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.781e-05/2.278, allocations: 23.98 kB / 0.8504 GB, free: 35.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009239/2.279, allocations: 0.5148 MB / 0.8509 GB, free: 35.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.182e-06/2.279, allocations: 0 / 0.8509 GB, free: 35.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002747/2.282, allocations: 0.6595 MB / 0.8515 GB, free: 34.41 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.004766/2.286, allocations: 2.453 MB / 0.8539 GB, free: 31.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004219/2.291, allocations: 1.134 MB / 0.855 GB, free: 30.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/2.291, allocations: 0 / 0.855 GB, free: 30.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/2.292, allocations: 375 kB / 0.8554 GB, free: 30.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/2.295, allocations: 364.8 kB / 0.8557 GB, free: 30.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/2.3, allocations: 1.488 MB / 0.8572 GB, free: 28.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/2.3, allocations: 1.008 MB / 0.8582 GB, free: 27.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002175/2.302, allocations: 370.6 kB / 0.8585 GB, free: 27.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006144/2.303, allocations: 291.3 kB / 0.8588 GB, free: 26.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.143e-06/2.303, allocations: 0 / 0.8588 GB, free: 26.84 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3859/2.689, allocations: 30.61 MB / 0.8887 GB, free: 102.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/2.689, allocations: 238.5 kB / 0.8889 GB, free: 102.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.609/7.298, allocations: 0 / 0.8889 GB, free: 102.1 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_res.mat does not exist to compare? outputFormat=mat