Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.385/2.385, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.986e-05, allocations: 3.469 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.251/9.363, allocations: 2.575 GB / 2.863 GB, free: 19.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005227/9.364, allocations: 87.86 kB / 2.863 GB, free: 19.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.95/12.31, allocations: 425.8 MB / 3.278 GB, free: 44.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.735e-06/12.31, allocations: 3.656 kB / 3.278 GB, free: 44.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.549e-05/12.31, allocations: 11.88 kB / 3.278 GB, free: 44.54 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006527/12.32, allocations: 1.252 MB / 3.28 GB, free: 43.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/12.32, allocations: 15.66 kB / 3.28 GB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/12.32, allocations: 148.6 kB / 3.28 GB, free: 43.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007118/12.32, allocations: 309.3 kB / 3.28 GB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/12.32, allocations: 19.66 kB / 3.28 GB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.663e-05/12.32, allocations: 19.77 kB / 3.28 GB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009166/12.32, allocations: 306.4 kB / 3.281 GB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009103/12.33, allocations: 362.6 kB / 3.281 GB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/12.33, allocations: 1.312 kB / 3.281 GB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/12.33, allocations: 6.688 kB / 3.281 GB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/12.33, allocations: 8.188 kB / 3.281 GB, free: 43.32 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.004922/12.33, allocations: 2.547 MB / 3.283 GB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/12.33, allocations: 239 kB / 3.284 GB, free: 41.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/12.33, allocations: 120.7 kB / 3.284 GB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/12.33, allocations: 0.5612 MB / 3.284 GB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/12.33, allocations: 38.98 kB / 3.284 GB, free: 40.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.267e-06/12.33, allocations: 0 / 3.284 GB, free: 40.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.004947/12.34, allocations: 0.9956 MB / 3.285 GB, free: 39.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/12.34, allocations: 55.34 kB / 3.285 GB, free: 39.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/12.34, allocations: 196 kB / 3.285 GB, free: 39.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/12.34, allocations: 25.7 kB / 3.286 GB, free: 39.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/12.34, allocations: 186.4 kB / 3.286 GB, free: 39.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/12.34, allocations: 111 kB / 3.286 GB, free: 39.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/12.34, allocations: 0 / 3.286 GB, free: 39.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.075e-05/12.34, allocations: 338.3 kB / 3.286 GB, free: 39.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/12.34, allocations: 91.03 kB / 3.286 GB, free: 39.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/12.34, allocations: 193.3 kB / 3.286 GB, free: 38.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/12.34, allocations: 138.6 kB / 3.287 GB, free: 38.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/12.34, allocations: 0 / 3.287 GB, free: 38.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001571/12.34, allocations: 405.1 kB / 3.287 GB, free: 38.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/12.34, allocations: 3.875 kB / 3.287 GB, free: 38.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/12.34, allocations: 3.312 kB / 3.287 GB, free: 38.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004776/12.34, allocations: 83.08 kB / 3.287 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/12.34, allocations: 88.03 kB / 3.287 GB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/12.35, allocations: 2.333 MB / 3.289 GB, free: 36.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009634/12.35, allocations: 66.41 kB / 3.289 GB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/12.35, allocations: 18.88 kB / 3.289 GB, free: 36.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002029/12.35, allocations: 121.2 kB / 3.29 GB, free: 36.22 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001209/12.35, allocations: 308.2 kB / 3.29 GB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/12.35, allocations: 30.44 kB / 3.29 GB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/12.35, allocations: 1.112 MB / 3.291 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.32e-05/12.35, allocations: 17.98 kB / 3.291 GB, free: 35.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/12.35, allocations: 0 / 3.291 GB, free: 35.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001753/12.35, allocations: 1.248 MB / 3.292 GB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/12.36, allocations: 1.766 MB / 3.294 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/12.36, allocations: 3.188 kB / 3.294 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007948/12.36, allocations: 88.81 kB / 3.294 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004136/12.36, allocations: 74.23 kB / 3.294 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/12.36, allocations: 8.234 kB / 3.294 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004978/12.36, allocations: 0.6129 MB / 3.295 GB, free: 33.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/12.36, allocations: 0 / 3.295 GB, free: 33.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/12.36, allocations: 1.019 MB / 3.296 GB, free: 32.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/12.36, allocations: 148.5 kB / 3.296 GB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/12.36, allocations: 0 / 3.296 GB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006869/12.36, allocations: 39.03 kB / 3.296 GB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/12.36, allocations: 33.45 kB / 3.296 GB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/12.36, allocations: 7.25 kB / 3.296 GB, free: 32.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003492/12.36, allocations: 216.2 kB / 3.296 GB, free: 32.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/12.36, allocations: 0 / 3.296 GB, free: 32.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005311/12.37, allocations: 0.8652 MB / 3.297 GB, free: 32.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01285/12.38, allocations: 2.869 MB / 3.3 GB, free: 30.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002108/12.38, allocations: 0.5167 MB / 3.3 GB, free: 30.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/12.38, allocations: 0 / 3.3 GB, free: 30.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/12.38, allocations: 336 kB / 3.301 GB, free: 30.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/12.39, allocations: 156.7 kB / 3.301 GB, free: 30.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008649/12.39, allocations: 1.175 MB / 3.302 GB, free: 29.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/12.4, allocations: 0.8617 MB / 3.303 GB, free: 45.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001151/12.4, allocations: 159.5 kB / 3.303 GB, free: 45.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/12.4, allocations: 165.5 kB / 3.303 GB, free: 45.06 MB / 426.7 MB Notification: Performance of SimCode: time 2.074e-06/12.4, allocations: 0 / 3.303 GB, free: 45.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1552/12.55, allocations: 31.49 MB / 3.334 GB, free: 43.59 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004164/12.55, allocations: 163.3 kB / 3.334 GB, free: 43.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.11/17.66, allocations: 0 / 3.334 GB, free: 43.4 MB / 426.7 MB