Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.056/2.056, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.374e-05, allocations: 7.375 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 48.7 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.483/1.592, allocations: 395.3 MB / 0.7004 GB, free: 108.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/1.592, allocations: 81.66 kB / 0.7005 GB, free: 108.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013/2.605, allocations: 190.8 MB / 0.8868 GB, free: 84.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/2.605, allocations: 0 / 0.8868 GB, free: 84.42 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.897e-05/2.605, allocations: 24.83 kB / 0.8868 GB, free: 84.42 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005011/2.61, allocations: 1.347 MB / 0.8882 GB, free: 83.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/2.61, allocations: 6.969 kB / 0.8882 GB, free: 83.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004032/2.611, allocations: 122.2 kB / 0.8883 GB, free: 83.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006854/2.611, allocations: 121.4 kB / 0.8884 GB, free: 83.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/2.614, allocations: 0.7944 MB / 0.8892 GB, free: 82.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/2.614, allocations: 118 kB / 0.8893 GB, free: 82.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/2.614, allocations: 68.81 kB / 0.8894 GB, free: 82.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/2.617, allocations: 1.176 MB / 0.8905 GB, free: 81.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/2.617, allocations: 7.797 kB / 0.8905 GB, free: 81.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/2.618, allocations: 31.62 kB / 0.8905 GB, free: 81.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/2.618, allocations: 79.17 kB / 0.8906 GB, free: 81.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/2.621, allocations: 1.15 MB / 0.8917 GB, free: 81.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/2.635, allocations: 4.779 MB / 0.8964 GB, free: 77.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/2.637, allocations: 0.6391 MB / 0.897 GB, free: 77.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008822/2.638, allocations: 398.1 kB / 0.8974 GB, free: 77.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004829/2.643, allocations: 2.52 MB / 0.8999 GB, free: 74.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/2.643, allocations: 38.88 kB / 0.8999 GB, free: 74.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 3.877e-06/2.643, allocations: 0 / 0.8999 GB, free: 74.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=56): time 0.007241/2.65, allocations: 2.277 MB / 0.9021 GB, free: 72.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/2.65, allocations: 162.8 kB / 0.9023 GB, free: 72.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/2.652, allocations: 0.7698 MB / 0.903 GB, free: 71.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001768/2.652, allocations: 41.7 kB / 0.9031 GB, free: 71.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/2.652, allocations: 478.6 kB / 0.9035 GB, free: 71.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/2.653, allocations: 201.1 kB / 0.9037 GB, free: 70.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/2.653, allocations: 16 kB / 0.9037 GB, free: 70.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/2.653, allocations: 402.7 kB / 0.9041 GB, free: 70.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/2.654, allocations: 417.8 kB / 0.9045 GB, free: 70.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/2.655, allocations: 0.7073 MB / 0.9052 GB, free: 69.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/2.656, allocations: 0.5017 MB / 0.9057 GB, free: 68.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/2.656, allocations: 7.938 kB / 0.9057 GB, free: 68.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003858/2.66, allocations: 1.463 MB / 0.9071 GB, free: 67.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008028/2.661, allocations: 3.574 MB / 0.9106 GB, free: 63.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/2.661, allocations: 16 kB / 0.9106 GB, free: 63.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/2.664, allocations: 0.4931 MB / 0.9111 GB, free: 62.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/2.665, allocations: 195.7 kB / 0.9113 GB, free: 62.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/2.669, allocations: 2.911 MB / 0.9142 GB, free: 59.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/2.671, allocations: 67.95 kB / 0.9142 GB, free: 59.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/2.671, allocations: 43.98 kB / 0.9143 GB, free: 59.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/2.671, allocations: 7.125 kB / 0.9143 GB, free: 59.42 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003427/2.675, allocations: 1.256 MB / 0.9155 GB, free: 58.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/2.675, allocations: 8 kB / 0.9155 GB, free: 58.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/2.676, allocations: 318.3 kB / 0.9158 GB, free: 57.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/2.678, allocations: 203.6 kB / 0.916 GB, free: 57.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/2.68, allocations: 2.685 MB / 0.9186 GB, free: 54.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/2.682, allocations: 67.88 kB / 0.9187 GB, free: 54.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/2.682, allocations: 43.98 kB / 0.9187 GB, free: 54.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004208/2.682, allocations: 164.6 kB / 0.9189 GB, free: 54.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/2.683, allocations: 90.88 kB / 0.919 GB, free: 54.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/2.686, allocations: 1.34 MB / 0.9203 GB, free: 53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/2.686, allocations: 4 kB / 0.9203 GB, free: 53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/2.686, allocations: 4 kB / 0.9203 GB, free: 52.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/2.686, allocations: 3.984 kB / 0.9203 GB, free: 52.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005364/2.692, allocations: 2.286 MB / 0.9225 GB, free: 50.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/2.692, allocations: 3.953 kB / 0.9225 GB, free: 50.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008613/2.693, allocations: 91.88 kB / 0.9226 GB, free: 50.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/2.695, allocations: 0.4938 MB / 0.9231 GB, free: 50.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/2.695, allocations: 19.98 kB / 0.9231 GB, free: 50.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002986/2.698, allocations: 2.911 MB / 0.926 GB, free: 46.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/2.698, allocations: 0 / 0.926 GB, free: 46.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/2.702, allocations: 1.749 MB / 0.9277 GB, free: 45.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008107/2.703, allocations: 283.8 kB / 0.9279 GB, free: 44.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/2.703, allocations: 15.98 kB / 0.928 GB, free: 44.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/2.704, allocations: 39.88 kB / 0.928 GB, free: 44.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/2.705, allocations: 64.67 kB / 0.9281 GB, free: 44.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/2.705, allocations: 31.91 kB / 0.9281 GB, free: 44.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001151/2.706, allocations: 0.585 MB / 0.9287 GB, free: 44.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.706, allocations: 0 / 0.9287 GB, free: 44.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003802/2.71, allocations: 0.8586 MB / 0.9295 GB, free: 43.22 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006629/2.716, allocations: 3.165 MB / 0.9326 GB, free: 40.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005691/2.722, allocations: 1.846 MB / 0.9344 GB, free: 38.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/2.722, allocations: 1.938 kB / 0.9344 GB, free: 38.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001696/2.724, allocations: 0.5543 MB / 0.9349 GB, free: 37.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/2.727, allocations: 331.9 kB / 0.9353 GB, free: 37.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007243/2.734, allocations: 2.015 MB / 0.9372 GB, free: 35.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/2.735, allocations: 1.087 MB / 0.9383 GB, free: 34.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00257/2.737, allocations: 479.3 kB / 0.9387 GB, free: 33.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006868/2.738, allocations: 343.3 kB / 0.9391 GB, free: 33.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/2.738, allocations: 0 / 0.9391 GB, free: 33.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4248/3.163, allocations: 36.79 MB / 0.975 GB, free: 79.75 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/3.163, allocations: 250 kB / 0.9752 GB, free: 79.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.249/7.412, allocations: 1.094 kB / 0.9752 GB, free: 79.43 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat