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.211/2.211, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.494e-05, allocations: 4 kB / 255.4 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.755/8.861, allocations: 2.844 GB / 3.137 GB, free: 24.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0332/8.894, allocations: 10.87 MB / 3.148 GB, free: 16.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8341/9.728, allocations: 112.8 MB / 3.258 GB, free: 73.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.023e-06/9.729, allocations: 4 kB / 3.258 GB, free: 73.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/9.729, allocations: 0 / 3.258 GB, free: 73.73 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.006803/9.735, allocations: 1.14 MB / 3.259 GB, free: 72.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/9.735, allocations: 12.03 kB / 3.259 GB, free: 72.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/9.736, allocations: 54.36 kB / 3.259 GB, free: 72.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/9.738, allocations: 191.9 kB / 3.26 GB, free: 72.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/9.738, allocations: 252.6 kB / 3.26 GB, free: 72.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/9.738, allocations: 16.44 kB / 3.26 GB, free: 72.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/9.738, allocations: 24 kB / 3.26 GB, free: 72.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00464/9.743, allocations: 0.9059 MB / 3.261 GB, free: 71.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/9.743, allocations: 4 kB / 3.261 GB, free: 71.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/9.743, allocations: 8 kB / 3.261 GB, free: 71.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/9.743, allocations: 11.94 kB / 3.261 GB, free: 71.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004731/9.748, allocations: 0.9558 MB / 3.262 GB, free: 70.57 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.002224/9.75, allocations: 1.349 MB / 3.263 GB, free: 69.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003872/9.754, allocations: 0.7226 MB / 3.264 GB, free: 68.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/9.754, allocations: 141 kB / 3.264 GB, free: 68.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1142/9.869, allocations: 37.35 MB / 3.3 GB, free: 27.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/9.869, allocations: 46.78 kB / 3.3 GB, free: 27.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.587e-06/9.869, allocations: 0 / 3.3 GB, free: 27.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.007341/9.876, allocations: 1.237 MB / 3.302 GB, free: 26.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/9.876, allocations: 55.41 kB / 3.302 GB, free: 26.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/9.876, allocations: 105.2 kB / 3.302 GB, free: 26.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-05/9.876, allocations: 29.7 kB / 3.302 GB, free: 26.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/9.877, allocations: 116.5 kB / 3.302 GB, free: 25.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/9.877, allocations: 114.3 kB / 3.302 GB, free: 25.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/9.877, allocations: 12 kB / 3.302 GB, free: 25.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/9.877, allocations: 326.8 kB / 3.302 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007733/9.878, allocations: 319.8 kB / 3.303 GB, free: 25.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000808/9.878, allocations: 375.6 kB / 3.303 GB, free: 24.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007986/9.879, allocations: 315.8 kB / 3.303 GB, free: 24.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/9.879, allocations: 0 / 3.303 GB, free: 24.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002412/9.882, allocations: 0.8214 MB / 3.304 GB, free: 23.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/9.882, allocations: 8 kB / 3.304 GB, free: 23.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/9.882, allocations: 0 / 3.304 GB, free: 23.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/9.882, allocations: 7.953 kB / 3.304 GB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/9.883, allocations: 179.7 kB / 3.304 GB, free: 23.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/9.883, allocations: 7.984 kB / 3.304 GB, free: 23.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/9.884, allocations: 36.02 kB / 3.304 GB, free: 23.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/9.884, allocations: 63.94 kB / 3.304 GB, free: 23.32 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.0002422/9.884, allocations: 128.3 kB / 3.304 GB, free: 23.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/9.885, allocations: 19.8 kB / 3.304 GB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007874/9.892, allocations: 6.51 MB / 3.311 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/9.893, allocations: 27.91 kB / 3.311 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/9.893, allocations: 0 / 3.311 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/9.893, allocations: 7.984 kB / 3.311 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/9.896, allocations: 2.891 MB / 3.314 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/9.896, allocations: 4 kB / 3.314 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/9.897, allocations: 131 kB / 3.314 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/9.897, allocations: 4 kB / 3.314 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/9.897, allocations: 23.97 kB / 3.314 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/9.897, allocations: 3.953 kB / 3.314 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/9.897, allocations: 3.938 kB / 3.314 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/9.9, allocations: 1.744 MB / 3.316 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/9.9, allocations: 136.3 kB / 3.316 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/9.9, allocations: 12 kB / 3.316 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/9.901, allocations: 19.98 kB / 3.316 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/9.901, allocations: 43.83 kB / 3.316 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-05/9.901, allocations: 31.97 kB / 3.316 GB, free: 11.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.793e-05/9.901, allocations: 91.34 kB / 3.316 GB, free: 11.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/9.901, allocations: 0 / 3.316 GB, free: 11.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005345/9.907, allocations: 0.9992 MB / 3.317 GB, free: 10.24 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.01169/9.919, allocations: 3.446 MB / 3.32 GB, free: 6.773 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002024/9.921, allocations: 0.8609 MB / 3.321 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/9.921, allocations: 0 / 3.321 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009321/9.922, allocations: 0.5594 MB / 3.322 GB, free: 5.352 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/9.922, allocations: 81.88 kB / 3.322 GB, free: 5.273 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/9.928, allocations: 1.452 MB / 3.323 GB, free: 3.781 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/9.929, allocations: 0.8533 MB / 3.324 GB, free: 2.902 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004189/9.933, allocations: 2.742 MB / 3.327 GB, free: 160 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2904/10.22, allocations: 208.7 kB / 3.327 GB, free: 83.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.953e-06/10.22, allocations: 1.5 kB / 3.327 GB, free: 83.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09676/10.32, allocations: 36.6 MB / 3.363 GB, free: 82.88 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/10.32, allocations: 158.8 kB / 3.363 GB, free: 82.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.192/14.51, allocations: 1.5 kB / 3.363 GB, free: 82.66 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