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 1.971/1.971, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.17e-05/4.188e-05, allocations: 9.531 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.471/1.58, allocations: 395.3 MB / 0.7003 GB, free: 109.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003876/1.58, allocations: 84.06 kB / 0.7004 GB, free: 109.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084/2.664, allocations: 190.8 MB / 0.8868 GB, free: 86.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.176e-06/2.664, allocations: 7.5 kB / 0.8868 GB, free: 86.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001343/2.664, allocations: 33.09 kB / 0.8868 GB, free: 86.19 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.005277/2.67, allocations: 1.34 MB / 0.8881 GB, free: 85.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/2.67, allocations: 7.469 kB / 0.8881 GB, free: 85.18 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004544/2.67, allocations: 121.1 kB / 0.8883 GB, free: 85.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007792/2.671, allocations: 122.5 kB / 0.8884 GB, free: 85.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/2.674, allocations: 0.802 MB / 0.8892 GB, free: 84.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/2.674, allocations: 113.9 kB / 0.8893 GB, free: 84.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003686/2.675, allocations: 65.27 kB / 0.8893 GB, free: 84.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/2.678, allocations: 1.187 MB / 0.8905 GB, free: 83.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/2.678, allocations: 6.766 kB / 0.8905 GB, free: 83.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/2.678, allocations: 26.66 kB / 0.8905 GB, free: 83.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/2.678, allocations: 71.27 kB / 0.8906 GB, free: 83.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/2.681, allocations: 1.165 MB / 0.8917 GB, free: 83.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/2.696, allocations: 4.774 MB / 0.8964 GB, free: 79.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/2.698, allocations: 0.6524 MB / 0.897 GB, free: 79.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/2.699, allocations: 397.5 kB / 0.8974 GB, free: 78.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005779/2.705, allocations: 2.529 MB / 0.8999 GB, free: 76.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/2.705, allocations: 38.94 kB / 0.8999 GB, free: 76.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 3.526e-06/2.705, allocations: 0 / 0.8999 GB, free: 76.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=56): time 0.008815/2.714, allocations: 2.278 MB / 0.9021 GB, free: 74.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/2.714, allocations: 162.8 kB / 0.9023 GB, free: 74.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/2.716, allocations: 0.7621 MB / 0.903 GB, free: 73.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/2.716, allocations: 37.7 kB / 0.9031 GB, free: 73.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/2.716, allocations: 488.5 kB / 0.9035 GB, free: 73.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/2.717, allocations: 201.1 kB / 0.9037 GB, free: 73.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/2.717, allocations: 24 kB / 0.9037 GB, free: 73.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/2.717, allocations: 398.7 kB / 0.9041 GB, free: 72.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/2.718, allocations: 421.8 kB / 0.9045 GB, free: 72.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/2.719, allocations: 0.7132 MB / 0.9052 GB, free: 71.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/2.72, allocations: 0.4978 MB / 0.9057 GB, free: 71.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/2.72, allocations: 4 kB / 0.9057 GB, free: 71.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003653/2.724, allocations: 1.491 MB / 0.9072 GB, free: 69.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007619/2.725, allocations: 3.57 MB / 0.9107 GB, free: 65.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/2.725, allocations: 8 kB / 0.9107 GB, free: 65.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0027/2.728, allocations: 0.4974 MB / 0.9112 GB, free: 65.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/2.729, allocations: 195.6 kB / 0.9113 GB, free: 64.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/2.732, allocations: 2.919 MB / 0.9142 GB, free: 61.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/2.734, allocations: 51.88 kB / 0.9142 GB, free: 61.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/2.734, allocations: 47.98 kB / 0.9143 GB, free: 61.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/2.734, allocations: 4 kB / 0.9143 GB, free: 61.74 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003279/2.738, allocations: 1.291 MB / 0.9155 GB, free: 60.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/2.738, allocations: 8 kB / 0.9156 GB, free: 60.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/2.739, allocations: 321.9 kB / 0.9159 GB, free: 60.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/2.741, allocations: 195.7 kB / 0.9161 GB, free: 59.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/2.743, allocations: 2.689 MB / 0.9187 GB, free: 57.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/2.744, allocations: 59.81 kB / 0.9187 GB, free: 56.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/2.745, allocations: 47.98 kB / 0.9188 GB, free: 56.92 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.000384/2.745, allocations: 164.7 kB / 0.9189 GB, free: 56.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/2.745, allocations: 90.88 kB / 0.919 GB, free: 56.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003544/2.749, allocations: 1.343 MB / 0.9203 GB, free: 55.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/2.749, allocations: 12 kB / 0.9203 GB, free: 55.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/2.749, allocations: 4 kB / 0.9204 GB, free: 55.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/2.749, allocations: 7.922 kB / 0.9204 GB, free: 55.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005329/2.754, allocations: 2.29 MB / 0.9226 GB, free: 52.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/2.754, allocations: 0 / 0.9226 GB, free: 52.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009101/2.755, allocations: 87.88 kB / 0.9227 GB, free: 52.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/2.758, allocations: 0.5013 MB / 0.9232 GB, free: 52.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/2.758, allocations: 19.98 kB / 0.9232 GB, free: 52.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/2.761, allocations: 2.903 MB / 0.926 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/2.761, allocations: 0 / 0.926 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/2.765, allocations: 1.753 MB / 0.9277 GB, free: 47.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008324/2.766, allocations: 283.8 kB / 0.928 GB, free: 47.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/2.766, allocations: 24.06 kB / 0.928 GB, free: 47.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/2.767, allocations: 31.97 kB / 0.9281 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/2.767, allocations: 56.42 kB / 0.9281 GB, free: 46.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/2.767, allocations: 31.97 kB / 0.9281 GB, free: 46.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001078/2.769, allocations: 0.5889 MB / 0.9287 GB, free: 46.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.769, allocations: 0 / 0.9287 GB, free: 46.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003569/2.772, allocations: 0.8624 MB / 0.9296 GB, free: 45.5 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.006638/2.779, allocations: 3.159 MB / 0.9326 GB, free: 42.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00588/2.785, allocations: 1.892 MB / 0.9345 GB, free: 40.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/2.785, allocations: 0 / 0.9345 GB, free: 40.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/2.787, allocations: 0.5695 MB / 0.935 GB, free: 39.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/2.789, allocations: 334.2 kB / 0.9354 GB, free: 39.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007192/2.797, allocations: 2.024 MB / 0.9373 GB, free: 37.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/2.797, allocations: 1.079 MB / 0.9384 GB, free: 36.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00251/2.8, allocations: 479.4 kB / 0.9389 GB, free: 35.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006245/2.8, allocations: 339.2 kB / 0.9392 GB, free: 35.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/2.8, allocations: 4 kB / 0.9392 GB, free: 35.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4777/3.278, allocations: 36.84 MB / 0.9752 GB, free: 78.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/3.279, allocations: 249 kB / 0.9754 GB, free: 78.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.489/7.768, allocations: 0 / 0.9754 GB, free: 78.5 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