Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.584/2.584, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.928e-05/4.95e-05, allocations: 0 / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4188, allocations: 54.85 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.659, allocations: 401.7 MB / 0.7437 GB, free: 132.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.66, allocations: 83.94 kB / 0.7438 GB, free: 132.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.05/2.709, allocations: 190.8 MB / 0.9302 GB, free: 73.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.124e-06/2.71, allocations: 0 / 0.9302 GB, free: 73.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.963e-05/2.71, allocations: 26.05 kB / 0.9302 GB, free: 73.39 MB / 490.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.004776/2.714, allocations: 1.344 MB / 0.9315 GB, free: 72.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/2.715, allocations: 11.62 kB / 0.9315 GB, free: 72.73 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003783/2.715, allocations: 118.9 kB / 0.9316 GB, free: 72.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006765/2.716, allocations: 125 kB / 0.9317 GB, free: 72.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/2.718, allocations: 0.7917 MB / 0.9325 GB, free: 72.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/2.719, allocations: 123.2 kB / 0.9326 GB, free: 72.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/2.719, allocations: 65.16 kB / 0.9327 GB, free: 72.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/2.722, allocations: 1.188 MB / 0.9339 GB, free: 72.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/2.722, allocations: 6.188 kB / 0.9339 GB, free: 72.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001886/2.722, allocations: 30.64 kB / 0.9339 GB, free: 72.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/2.722, allocations: 73.84 kB / 0.934 GB, free: 72.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/2.726, allocations: 1.158 MB / 0.9351 GB, free: 72.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/2.74, allocations: 4.78 MB / 0.9398 GB, free: 70.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/2.742, allocations: 0.6431 MB / 0.9404 GB, free: 70.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009626/2.743, allocations: 406 kB / 0.9408 GB, free: 70.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005468/2.748, allocations: 2.514 MB / 0.9432 GB, free: 68.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/2.749, allocations: 41.58 kB / 0.9433 GB, free: 68.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 3.446e-06/2.749, allocations: 0 / 0.9433 GB, free: 68.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=56): time 0.007673/2.756, allocations: 2.272 MB / 0.9455 GB, free: 68.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/2.756, allocations: 163.7 kB / 0.9456 GB, free: 68.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/2.758, allocations: 0.7666 MB / 0.9464 GB, free: 68.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002373/2.758, allocations: 39.11 kB / 0.9464 GB, free: 68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/2.759, allocations: 486.9 kB / 0.9469 GB, free: 67.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/2.759, allocations: 197.2 kB / 0.9471 GB, free: 67.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/2.759, allocations: 21.09 kB / 0.9471 GB, free: 67.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/2.759, allocations: 403 kB / 0.9475 GB, free: 67.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/2.76, allocations: 418.5 kB / 0.9479 GB, free: 67.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/2.762, allocations: 0.7125 MB / 0.9486 GB, free: 66.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/2.763, allocations: 0.5026 MB / 0.9491 GB, free: 66.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/2.763, allocations: 3.906 kB / 0.9491 GB, free: 66.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004024/2.767, allocations: 1.481 MB / 0.9505 GB, free: 66.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008461/2.768, allocations: 3.576 MB / 0.954 GB, free: 63.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/2.768, allocations: 11.72 kB / 0.954 GB, free: 63.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/2.771, allocations: 0.4956 MB / 0.9545 GB, free: 63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/2.772, allocations: 197.4 kB / 0.9547 GB, free: 63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/2.776, allocations: 2.911 MB / 0.9575 GB, free: 60.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/2.777, allocations: 63.41 kB / 0.9576 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/2.778, allocations: 48.86 kB / 0.9577 GB, free: 60.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/2.778, allocations: 12.94 kB / 0.9577 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003453/2.781, allocations: 1.286 MB / 0.9589 GB, free: 60.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/2.781, allocations: 11.25 kB / 0.9589 GB, free: 60.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/2.783, allocations: 318.1 kB / 0.9592 GB, free: 60.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/2.784, allocations: 198.2 kB / 0.9594 GB, free: 60.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/2.787, allocations: 2.684 MB / 0.962 GB, free: 58.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/2.788, allocations: 61.17 kB / 0.9621 GB, free: 58.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/2.788, allocations: 46.89 kB / 0.9621 GB, free: 58.25 MB / 490.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.0004096/2.789, allocations: 167.2 kB / 0.9623 GB, free: 58.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/2.789, allocations: 92.5 kB / 0.9624 GB, free: 58.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/2.793, allocations: 1.349 MB / 0.9637 GB, free: 57.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/2.793, allocations: 11.58 kB / 0.9637 GB, free: 57.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/2.793, allocations: 0 / 0.9637 GB, free: 57.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/2.793, allocations: 3.891 kB / 0.9637 GB, free: 57.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/2.799, allocations: 2.284 MB / 0.966 GB, free: 57.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/2.799, allocations: 7.469 kB / 0.966 GB, free: 57.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008922/2.8, allocations: 87.95 kB / 0.966 GB, free: 57.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/2.802, allocations: 0.4991 MB / 0.9665 GB, free: 57.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/2.803, allocations: 18.86 kB / 0.9666 GB, free: 57.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/2.806, allocations: 2.906 MB / 0.9694 GB, free: 55.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.806, allocations: 0 / 0.9694 GB, free: 55.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/2.81, allocations: 1.746 MB / 0.9711 GB, free: 54.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007844/2.81, allocations: 289 kB / 0.9714 GB, free: 54.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/2.811, allocations: 11.19 kB / 0.9714 GB, free: 54.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/2.812, allocations: 47.27 kB / 0.9714 GB, free: 54.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/2.812, allocations: 58.44 kB / 0.9715 GB, free: 54.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-05/2.812, allocations: 31.97 kB / 0.9715 GB, free: 54.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001085/2.813, allocations: 0.5766 MB / 0.9721 GB, free: 54.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.813, allocations: 0 / 0.9721 GB, free: 54.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003982/2.817, allocations: 0.8663 MB / 0.9729 GB, free: 54.33 MB / 490.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.006917/2.824, allocations: 3.145 MB / 0.976 GB, free: 53.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00584/2.83, allocations: 1.888 MB / 0.9778 GB, free: 52.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/2.83, allocations: 3.156 kB / 0.9778 GB, free: 52.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001785/2.832, allocations: 0.5737 MB / 0.9784 GB, free: 52.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/2.835, allocations: 338.2 kB / 0.9787 GB, free: 52.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007478/2.842, allocations: 2.028 MB / 0.9807 GB, free: 52.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/2.843, allocations: 1.082 MB / 0.9818 GB, free: 51.51 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002658/2.846, allocations: 484.2 kB / 0.9822 GB, free: 51.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006613/2.846, allocations: 345.8 kB / 0.9826 GB, free: 51.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/2.846, allocations: 0 / 0.9826 GB, free: 51.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09525/2.942, allocations: 36.84 MB / 1.019 GB, free: 46.29 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/2.942, allocations: 236.8 kB / 1.019 GB, free: 45.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.214/7.156, allocations: 4 kB / 1.019 GB, free: 45.97 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat