Running command: "" <> buildModelFMU(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TwoPhaseWater_TestTwoPhaseStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 6.347e-05/6.307e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3233, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.596/8.92, allocations: 2.844 GB / 3.131 GB, free: 99.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.03483/8.954, allocations: 10.77 MB / 3.142 GB, free: 98.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5165/9.471, allocations: 110.5 MB / 3.25 GB, free: 18.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.807e-06/9.471, allocations: 4 kB / 3.25 GB, free: 18.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/9.471, allocations: 4 kB / 3.25 GB, free: 18.81 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00606/9.477, allocations: 1.13 MB / 3.251 GB, free: 17.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/9.477, allocations: 12.03 kB / 3.251 GB, free: 17.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/9.479, allocations: 195.5 kB / 3.251 GB, free: 17.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/9.48, allocations: 254.8 kB / 3.251 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/9.48, allocations: 8 kB / 3.251 GB, free: 17.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/9.48, allocations: 12 kB / 3.251 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008672/9.481, allocations: 348.7 kB / 3.251 GB, free: 16.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/9.482, allocations: 278.6 kB / 3.252 GB, free: 16.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/9.482, allocations: 0 / 3.252 GB, free: 16.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/9.482, allocations: 0 / 3.252 GB, free: 16.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/9.482, allocations: 19.89 kB / 3.252 GB, free: 16.47 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/9.484, allocations: 1.292 MB / 3.253 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/9.485, allocations: 251 kB / 3.253 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/9.485, allocations: 133.4 kB / 3.253 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4021/9.887, allocations: 37.34 MB / 3.29 GB, free: 50.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/9.887, allocations: 40 kB / 3.29 GB, free: 50.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.416e-06/9.887, allocations: 0 / 3.29 GB, free: 50.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.004474/9.891, allocations: 0.7894 MB / 3.291 GB, free: 50.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/9.892, allocations: 55.38 kB / 3.291 GB, free: 50.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/9.892, allocations: 101.8 kB / 3.291 GB, free: 50.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/9.892, allocations: 34.47 kB / 3.291 GB, free: 50.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/9.892, allocations: 124.7 kB / 3.291 GB, free: 50.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/9.892, allocations: 101.2 kB / 3.291 GB, free: 50.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/9.892, allocations: 0 / 3.291 GB, free: 50.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/9.892, allocations: 326.2 kB / 3.291 GB, free: 50.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/9.893, allocations: 305 kB / 3.292 GB, free: 50.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/9.894, allocations: 383.7 kB / 3.292 GB, free: 49.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003004/9.897, allocations: 414.1 kB / 3.292 GB, free: 49.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/9.897, allocations: 3.969 kB / 3.292 GB, free: 49.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00449/9.901, allocations: 0.9145 MB / 3.293 GB, free: 49.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/9.901, allocations: 7.594 kB / 3.293 GB, free: 49.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/9.901, allocations: 3.062 kB / 3.293 GB, free: 49.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/9.901, allocations: 3.719 kB / 3.293 GB, free: 49.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/9.903, allocations: 178 kB / 3.293 GB, free: 49.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/9.903, allocations: 5.781 kB / 3.293 GB, free: 49.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007912/9.903, allocations: 47.61 kB / 3.294 GB, free: 49.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/9.904, allocations: 63.33 kB / 3.294 GB, free: 49.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (medium.phase,medium.bubble2.phase,medium.bubble.phase,medium.dew.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000251/9.904, allocations: 109.3 kB / 3.294 GB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004465/9.908, allocations: 0.8726 MB / 3.295 GB, free: 49.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/9.909, allocations: 11.81 kB / 3.295 GB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008728/9.917, allocations: 6.518 MB / 3.301 GB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-05/9.917, allocations: 28.7 kB / 3.301 GB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/9.917, allocations: 0 / 3.301 GB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/9.917, allocations: 3.891 kB / 3.301 GB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/9.921, allocations: 2.812 MB / 3.304 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/9.921, allocations: 0 / 3.304 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/9.922, allocations: 131.9 kB / 3.304 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/9.922, allocations: 3.938 kB / 3.304 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.964e-05/9.922, allocations: 16.3 kB / 3.304 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/9.922, allocations: 3.375 kB / 3.304 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/9.922, allocations: 3.844 kB / 3.304 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/9.926, allocations: 1.751 MB / 3.306 GB, free: 48.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/9.926, allocations: 142.2 kB / 3.306 GB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/9.926, allocations: 2.812 kB / 3.306 GB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/9.927, allocations: 23.23 kB / 3.306 GB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/9.927, allocations: 36.88 kB / 3.306 GB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.84e-05/9.927, allocations: 29.33 kB / 3.306 GB, free: 48.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.24e-05/9.927, allocations: 89.8 kB / 3.306 GB, free: 48.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.044e-06/9.927, allocations: 0 / 3.306 GB, free: 48.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005428/9.933, allocations: 0.982 MB / 3.307 GB, free: 48.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 13 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.region3boundary,$cse9.region3boundary,medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01308/9.946, allocations: 3.478 MB / 3.31 GB, free: 47.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001807/9.948, allocations: 0.8285 MB / 3.311 GB, free: 47.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/9.948, allocations: 0 / 3.311 GB, free: 47.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001/9.949, allocations: 0.5544 MB / 3.312 GB, free: 47.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009375/9.95, allocations: 74.44 kB / 3.312 GB, free: 47.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/9.956, allocations: 1.422 MB / 3.313 GB, free: 47.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/9.956, allocations: 0.8459 MB / 3.314 GB, free: 46.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004399/9.96, allocations: 2.737 MB / 3.317 GB, free: 46.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007872/9.961, allocations: 217.2 kB / 3.317 GB, free: 46.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/9.961, allocations: 3.969 kB / 3.317 GB, free: 46.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/10.06, allocations: 33.92 MB / 3.35 GB, free: 45.14 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001151/10.06, allocations: 145.1 kB / 3.35 GB, free: 44.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.218/14.28, allocations: 0 / 3.35 GB, free: 44.95 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat does not exist to compare? outputFormat=mat