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.618/2.618, allocations: 195 MB / 202.9 MB, free: 6.734 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.698e-05, allocations: 6.688 kB / 249.8 MB, free: 5.309 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.792/9.905, allocations: 2.575 GB / 2.863 GB, free: 38.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/9.905, allocations: 83.02 kB / 2.863 GB, free: 38.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.064/12.97, allocations: 426.3 MB / 3.279 GB, free: 41.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.474e-06/12.97, allocations: 0 / 3.279 GB, free: 41.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.245e-05/12.97, allocations: 8.719 kB / 3.279 GB, free: 41.33 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.006319/12.98, allocations: 1.252 MB / 3.28 GB, free: 40.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/12.98, allocations: 7.281 kB / 3.28 GB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/12.98, allocations: 59.91 kB / 3.28 GB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/12.98, allocations: 157.8 kB / 3.28 GB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007361/12.98, allocations: 315.9 kB / 3.281 GB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.821e-05/12.98, allocations: 19.44 kB / 3.281 GB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.907e-05/12.98, allocations: 18.52 kB / 3.281 GB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001/12.98, allocations: 297.9 kB / 3.281 GB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/12.98, allocations: 368.8 kB / 3.281 GB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/12.98, allocations: 3.781 kB / 3.281 GB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/12.98, allocations: 4.234 kB / 3.281 GB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/12.98, allocations: 10.52 kB / 3.281 GB, free: 40.29 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.005239/12.99, allocations: 2.542 MB / 3.284 GB, free: 38.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008792/12.99, allocations: 240.5 kB / 3.284 GB, free: 38.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/12.99, allocations: 119.1 kB / 3.284 GB, free: 38.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/12.99, allocations: 0.5524 MB / 3.285 GB, free: 37.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/12.99, allocations: 52.27 kB / 3.285 GB, free: 37.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.466e-06/12.99, allocations: 0 / 3.285 GB, free: 37.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.005706/13, allocations: 0.9932 MB / 3.286 GB, free: 37.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/13, allocations: 55.22 kB / 3.286 GB, free: 37.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/13, allocations: 194.7 kB / 3.286 GB, free: 37.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/13, allocations: 25.7 kB / 3.286 GB, free: 37.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/13, allocations: 184.5 kB / 3.286 GB, free: 37.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/13, allocations: 112.8 kB / 3.286 GB, free: 37.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/13, allocations: 0 / 3.286 GB, free: 37.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.568e-05/13, allocations: 336.5 kB / 3.287 GB, free: 36.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/13, allocations: 98.12 kB / 3.287 GB, free: 36.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/13, allocations: 199.2 kB / 3.287 GB, free: 36.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/13, allocations: 127.2 kB / 3.287 GB, free: 36.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/13, allocations: 7.672 kB / 3.287 GB, free: 36.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001795/13, allocations: 394 kB / 3.287 GB, free: 36.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/13, allocations: 11.31 kB / 3.287 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/13, allocations: 3.188 kB / 3.287 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005358/13, allocations: 73.33 kB / 3.288 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009262/13, allocations: 94.75 kB / 3.288 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/13, allocations: 2.335 MB / 3.29 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/13.01, allocations: 65.89 kB / 3.29 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/13.01, allocations: 15.38 kB / 3.29 GB, free: 34.36 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.0001974/13.01, allocations: 121.5 kB / 3.29 GB, free: 34.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/13.01, allocations: 30.7 kB / 3.29 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/13.01, allocations: 1.106 MB / 3.291 GB, free: 34.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.224e-05/13.01, allocations: 14.84 kB / 3.291 GB, free: 34.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/13.01, allocations: 2.75 kB / 3.291 GB, free: 34.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002352/13.01, allocations: 1.253 MB / 3.292 GB, free: 33.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/13.01, allocations: 1.766 MB / 3.294 GB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/13.01, allocations: 0 / 3.294 GB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009591/13.02, allocations: 90.72 kB / 3.294 GB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004872/13.02, allocations: 62.22 kB / 3.294 GB, free: 33.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/13.02, allocations: 6.312 kB / 3.294 GB, free: 33.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005889/13.02, allocations: 0.6226 MB / 3.295 GB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/13.02, allocations: 0 / 3.295 GB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/13.02, allocations: 1.009 MB / 3.296 GB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/13.02, allocations: 148.1 kB / 3.296 GB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/13.02, allocations: 5.656 kB / 3.296 GB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008748/13.02, allocations: 43.2 kB / 3.296 GB, free: 32.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/13.02, allocations: 36.19 kB / 3.296 GB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.95e-05/13.02, allocations: 13.16 kB / 3.296 GB, free: 32.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004095/13.02, allocations: 211.5 kB / 3.296 GB, free: 32.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/13.02, allocations: 0 / 3.296 GB, free: 32.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005526/13.03, allocations: 0.8623 MB / 3.297 GB, free: 32.12 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.01361/13.04, allocations: 2.865 MB / 3.3 GB, free: 31.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001864/13.04, allocations: 0.5292 MB / 3.301 GB, free: 31.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/13.04, allocations: 0 / 3.301 GB, free: 31.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008299/13.04, allocations: 319.1 kB / 3.301 GB, free: 31.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/13.05, allocations: 153.9 kB / 3.301 GB, free: 31.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006101/13.05, allocations: 1.184 MB / 3.302 GB, free: 30.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/13.05, allocations: 0.8624 MB / 3.303 GB, free: 30.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008273/13.05, allocations: 162.6 kB / 3.303 GB, free: 30.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003869/13.05, allocations: 162.8 kB / 3.303 GB, free: 30.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/13.05, allocations: 0 / 3.303 GB, free: 30.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1366/13.19, allocations: 32.24 MB / 3.335 GB, free: 28.63 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003132/13.19, allocations: 161.5 kB / 3.335 GB, free: 28.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.387/18.58, allocations: 0 / 3.335 GB, free: 28.44 MB / 410.7 MB