Running command: "" <> buildModelFMU(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_TwoPhaseWater_TestTwoPhaseStates",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.595/2.595, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.594e-05, allocations: 3.25 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.52/11.63, allocations: 2.844 GB / 3.131 GB, free: 71.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.04395/11.67, allocations: 10.8 MB / 3.142 GB, free: 63.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058/12.73, allocations: 110.6 MB / 3.25 GB, free: 82.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/12.73, allocations: 0 / 3.25 GB, free: 82.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/12.73, allocations: 9.344 kB / 3.25 GB, free: 82.02 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.007058/12.74, allocations: 1.126 MB / 3.251 GB, free: 81.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/12.74, allocations: 7.906 kB / 3.251 GB, free: 81.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.102e-05/12.74, allocations: 52.7 kB / 3.251 GB, free: 81.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002975/12.74, allocations: 191.6 kB / 3.251 GB, free: 81.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/12.74, allocations: 251.8 kB / 3.251 GB, free: 81.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/12.74, allocations: 11.03 kB / 3.251 GB, free: 81.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.049e-05/12.74, allocations: 13.53 kB / 3.251 GB, free: 81.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001181/12.74, allocations: 342.4 kB / 3.252 GB, free: 81.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009005/12.74, allocations: 283.1 kB / 3.252 GB, free: 80.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/12.74, allocations: 3.938 kB / 3.252 GB, free: 80.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/12.74, allocations: 7.953 kB / 3.252 GB, free: 80.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/12.74, allocations: 7.562 kB / 3.252 GB, free: 80.96 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.002877/12.75, allocations: 1.295 MB / 3.253 GB, free: 80.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008453/12.75, allocations: 253.4 kB / 3.253 GB, free: 80.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/12.75, allocations: 134.4 kB / 3.254 GB, free: 80.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.17/12.92, allocations: 37.35 MB / 3.29 GB, free: 56.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/12.92, allocations: 30.84 kB / 3.29 GB, free: 56.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 4.859e-06/12.92, allocations: 1.125 kB / 3.29 GB, free: 56.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.00707/12.92, allocations: 0.7944 MB / 3.291 GB, free: 56.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/12.92, allocations: 59.34 kB / 3.291 GB, free: 56.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/12.92, allocations: 102.7 kB / 3.291 GB, free: 55.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001833/12.93, allocations: 25.7 kB / 3.291 GB, free: 55.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/12.93, allocations: 127.8 kB / 3.291 GB, free: 55.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/12.93, allocations: 111.4 kB / 3.291 GB, free: 55.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/12.93, allocations: 0 / 3.291 GB, free: 55.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/12.93, allocations: 325.4 kB / 3.292 GB, free: 55.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/12.93, allocations: 307.4 kB / 3.292 GB, free: 55.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/12.93, allocations: 377.7 kB / 3.292 GB, free: 55.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00486/12.93, allocations: 426 kB / 3.293 GB, free: 55.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/12.93, allocations: 0 / 3.293 GB, free: 55.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.007343/12.94, allocations: 0.8987 MB / 3.293 GB, free: 55.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/12.94, allocations: 6.094 kB / 3.293 GB, free: 55.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/12.94, allocations: 0 / 3.293 GB, free: 55.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.655e-05/12.94, allocations: 5.938 kB / 3.293 GB, free: 55.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/12.94, allocations: 183.1 kB / 3.294 GB, free: 55.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/12.94, allocations: 10.39 kB / 3.294 GB, free: 55.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/12.94, allocations: 33.12 kB / 3.294 GB, free: 55.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002933/12.94, allocations: 62.41 kB / 3.294 GB, free: 55.31 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.0003992/12.94, allocations: 116.9 kB / 3.294 GB, free: 55.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/12.95, allocations: 18.91 kB / 3.294 GB, free: 55.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/12.96, allocations: 6.511 MB / 3.3 GB, free: 53.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.758e-05/12.96, allocations: 22.8 kB / 3.3 GB, free: 53.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/12.96, allocations: 2.594 kB / 3.3 GB, free: 53.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/12.96, allocations: 11.59 kB / 3.3 GB, free: 53.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004675/12.96, allocations: 2.812 MB / 3.303 GB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/12.96, allocations: 4 kB / 3.303 GB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/12.97, allocations: 126.2 kB / 3.303 GB, free: 50.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/12.97, allocations: 8 kB / 3.303 GB, free: 50.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/12.97, allocations: 19.64 kB / 3.303 GB, free: 50.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/12.97, allocations: 0 / 3.303 GB, free: 50.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/12.97, allocations: 3.938 kB / 3.303 GB, free: 50.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005951/12.97, allocations: 1.753 MB / 3.305 GB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/12.97, allocations: 136.3 kB / 3.305 GB, free: 49.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/12.97, allocations: 0 / 3.305 GB, free: 49.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/12.97, allocations: 23.11 kB / 3.305 GB, free: 49.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/12.97, allocations: 41.44 kB / 3.305 GB, free: 49.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/12.97, allocations: 23.08 kB / 3.305 GB, free: 49.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001007/12.97, allocations: 88.59 kB / 3.305 GB, free: 48.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.71e-07/12.97, allocations: 0 / 3.305 GB, free: 48.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007261/12.98, allocations: 0.9855 MB / 3.306 GB, free: 48.03 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.019/13, allocations: 3.479 MB / 3.31 GB, free: 44.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00273/13, allocations: 0.8254 MB / 3.31 GB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/13, allocations: 0 / 3.31 GB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/13, allocations: 0.5551 MB / 3.311 GB, free: 43.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/13.01, allocations: 79.39 kB / 3.311 GB, free: 43.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007925/13.01, allocations: 1.419 MB / 3.312 GB, free: 42.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/13.01, allocations: 0.8589 MB / 3.313 GB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006298/13.02, allocations: 2.731 MB / 3.316 GB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/13.02, allocations: 218.2 kB / 3.316 GB, free: 39.56 MB / 410.7 MB Notification: Performance of SimCode: time 2.896e-06/13.02, allocations: 0 / 3.316 GB, free: 39.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/13.16, allocations: 34.74 MB / 3.35 GB, free: 16 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000326/13.16, allocations: 149.5 kB / 3.35 GB, free: 15.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.417/18.58, allocations: 0 / 3.35 GB, free: 15.81 MB / 410.7 MB