Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.745/2.745, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.687e-05/4.692e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1421, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.26/1.402, allocations: 407.6 MB / 0.7988 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.402, allocations: 87.36 kB / 0.7988 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.094/2.496, allocations: 196.2 MB / 0.9905 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.674e-06/2.496, allocations: 0 / 0.9905 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.088e-05/2.496, allocations: 27.98 kB / 0.9905 GB, free: 38.79 MB / 0.5261 GB 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.00436/2.501, allocations: 1.352 MB / 0.9918 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/2.501, allocations: 12.03 kB / 0.9918 GB, free: 37.38 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002549/2.501, allocations: 118.4 kB / 0.9919 GB, free: 37.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006198/2.502, allocations: 118.8 kB / 0.9921 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/2.504, allocations: 0.7804 MB / 0.9928 GB, free: 36.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/2.504, allocations: 120.7 kB / 0.9929 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/2.504, allocations: 59.98 kB / 0.993 GB, free: 36.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/2.507, allocations: 1.188 MB / 0.9942 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/2.507, allocations: 3.953 kB / 0.9942 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/2.507, allocations: 31.98 kB / 0.9942 GB, free: 34.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/2.507, allocations: 77.89 kB / 0.9943 GB, free: 34.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/2.51, allocations: 1.152 MB / 0.9954 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/2.522, allocations: 4.724 MB / 1 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/2.524, allocations: 0.6629 MB / 1.001 GB, free: 27.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008786/2.525, allocations: 418.4 kB / 1.001 GB, free: 27.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00464/2.529, allocations: 2.489 MB / 1.003 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/2.529, allocations: 50.94 kB / 1.004 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 3.276e-06/2.529, allocations: 0 / 1.004 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.00711/2.537, allocations: 2.349 MB / 1.006 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/2.537, allocations: 170.8 kB / 1.006 GB, free: 22.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/2.538, allocations: 0.8172 MB / 1.007 GB, free: 21.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/2.538, allocations: 37.7 kB / 1.007 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/2.539, allocations: 467.1 kB / 1.007 GB, free: 20.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/2.539, allocations: 205.1 kB / 1.007 GB, free: 20.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.902e-05/2.539, allocations: 23.94 kB / 1.007 GB, free: 20.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/2.539, allocations: 334 kB / 1.008 GB, free: 20.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/2.54, allocations: 441.8 kB / 1.008 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/2.541, allocations: 0.6563 MB / 1.009 GB, free: 19.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/2.543, allocations: 0.5056 MB / 1.009 GB, free: 18.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/2.543, allocations: 4 kB / 1.009 GB, free: 18.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003594/2.546, allocations: 1.471 MB / 1.011 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006073/2.547, allocations: 2.443 MB / 1.013 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/2.547, allocations: 4 kB / 1.013 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/2.55, allocations: 0.5098 MB / 1.014 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/2.551, allocations: 183.7 kB / 1.014 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/2.555, allocations: 2.927 MB / 1.017 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/2.557, allocations: 56.03 kB / 1.017 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/2.557, allocations: 47.92 kB / 1.017 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/2.557, allocations: 7.594 kB / 1.017 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003613/2.561, allocations: 1.33 MB / 1.018 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/2.561, allocations: 11.94 kB / 1.018 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/2.563, allocations: 402.4 kB / 1.019 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/2.564, allocations: 191.6 kB / 1.019 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/2.567, allocations: 2.802 MB / 1.021 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/2.568, allocations: 59.98 kB / 1.021 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/2.568, allocations: 43.98 kB / 1.022 GB, free: 5.492 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (99): * Single equations (assignments): 96 * 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.0003658/2.569, allocations: 156.7 kB / 1.022 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/2.569, allocations: 98.78 kB / 1.022 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/2.572, allocations: 1.387 MB / 1.023 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/2.572, allocations: 4 kB / 1.023 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/2.572, allocations: 4 kB / 1.023 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/2.573, allocations: 11.94 kB / 1.023 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004844/2.577, allocations: 2.326 MB / 1.025 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/2.577, allocations: 4.062 kB / 1.025 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008514/2.578, allocations: 88 kB / 1.026 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/2.581, allocations: 0.502 MB / 1.026 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/2.581, allocations: 23.92 kB / 1.026 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3655/2.946, allocations: 2.901 MB / 1.029 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/2.946, allocations: 0.9375 kB / 1.029 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004933/2.951, allocations: 1.763 MB / 1.031 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/2.952, allocations: 303.6 kB / 1.031 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/2.953, allocations: 13.67 kB / 1.031 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/2.954, allocations: 43.8 kB / 1.031 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/2.954, allocations: 60.19 kB / 1.031 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/2.954, allocations: 31.7 kB / 1.031 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001539/2.956, allocations: 0.6505 MB / 1.032 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.814e-06/2.956, allocations: 0 / 1.032 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004503/2.96, allocations: 0.8952 MB / 1.033 GB, free: 105.2 MB / 0.5261 GB 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.007618/2.968, allocations: 3.201 MB / 1.036 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006371/2.975, allocations: 1.875 MB / 1.037 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/2.975, allocations: 1.031 kB / 1.037 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/2.977, allocations: 0.5666 MB / 1.038 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003639/2.981, allocations: 396.2 kB / 1.038 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007811/2.988, allocations: 1.921 MB / 1.04 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008579/2.989, allocations: 1.082 MB / 1.041 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003137/2.993, allocations: 0.4935 MB / 1.042 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008333/2.993, allocations: 338 kB / 1.042 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/2.993, allocations: 0 / 1.042 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/3.099, allocations: 39.4 MB / 1.081 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/3.099, allocations: 243.2 kB / 1.081 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.342/8.441, allocations: 4 kB / 1.081 GB, free: 101.2 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat