Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.316/2.316, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.21e-05, allocations: 3.219 kB / 249.8 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.535/9.645, allocations: 2.575 GB / 2.863 GB, free: 20.51 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/9.645, allocations: 91.62 kB / 2.863 GB, free: 20.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.891/12.54, allocations: 425.8 MB / 3.279 GB, free: 44.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/12.54, allocations: 0.5625 kB / 3.279 GB, free: 44.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.519e-05/12.54, allocations: 11.72 kB / 3.279 GB, free: 44.28 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.005959/12.54, allocations: 1.214 MB / 3.28 GB, free: 43.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/12.54, allocations: 7.938 kB / 3.28 GB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/12.55, allocations: 160.5 kB / 3.28 GB, free: 43.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/12.55, allocations: 321.6 kB / 3.28 GB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/12.55, allocations: 7.844 kB / 3.28 GB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.292e-05/12.55, allocations: 20.36 kB / 3.28 GB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007473/12.55, allocations: 247.9 kB / 3.28 GB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009509/12.55, allocations: 362.9 kB / 3.281 GB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/12.55, allocations: 0 / 3.281 GB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/12.55, allocations: 3.906 kB / 3.281 GB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/12.55, allocations: 7.031 kB / 3.281 GB, free: 43.28 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.1261/12.67, allocations: 33.19 MB / 3.313 GB, free: 22.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/12.67, allocations: 195.1 kB / 3.313 GB, free: 22.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/12.68, allocations: 99.09 kB / 3.314 GB, free: 22.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1192/12.79, allocations: 30.87 MB / 3.344 GB, free: 18.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/12.79, allocations: 36.5 kB / 3.344 GB, free: 18.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.747e-06/12.79, allocations: 0 / 3.344 GB, free: 18.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.004462/12.8, allocations: 0.9194 MB / 3.345 GB, free: 18.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/12.8, allocations: 60.47 kB / 3.345 GB, free: 18.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/12.8, allocations: 201.7 kB / 3.345 GB, free: 17.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/12.8, allocations: 33.09 kB / 3.345 GB, free: 17.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/12.8, allocations: 195.6 kB / 3.345 GB, free: 17.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/12.8, allocations: 101.3 kB / 3.345 GB, free: 17.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/12.8, allocations: 0 / 3.345 GB, free: 17.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/12.8, allocations: 338.3 kB / 3.346 GB, free: 17.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/12.8, allocations: 82.31 kB / 3.346 GB, free: 17.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/12.8, allocations: 199.6 kB / 3.346 GB, free: 17.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/12.8, allocations: 131.8 kB / 3.346 GB, free: 17.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/12.8, allocations: 4 kB / 3.346 GB, free: 17.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001331/12.8, allocations: 368.2 kB / 3.346 GB, free: 16.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/12.8, allocations: 10.66 kB / 3.346 GB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/12.8, allocations: 6.5 kB / 3.346 GB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003636/12.8, allocations: 55.38 kB / 3.346 GB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000741/12.8, allocations: 88.89 kB / 3.346 GB, free: 16.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/12.81, allocations: 2.372 MB / 3.349 GB, free: 30.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/12.81, allocations: 26.44 kB / 3.349 GB, free: 30.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/12.81, allocations: 23.11 kB / 3.349 GB, free: 30.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002163/12.81, allocations: 127.6 kB / 3.349 GB, free: 30.3 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009651/12.81, allocations: 264.9 kB / 3.349 GB, free: 30.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.816e-05/12.81, allocations: 33.64 kB / 3.349 GB, free: 30.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/12.81, allocations: 0.7475 MB / 3.35 GB, free: 29.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/12.81, allocations: 11.33 kB / 3.35 GB, free: 29.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/12.81, allocations: 0 / 3.35 GB, free: 29.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001361/12.81, allocations: 0.9771 MB / 3.351 GB, free: 29.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/12.81, allocations: 1.314 MB / 3.352 GB, free: 28.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/12.81, allocations: 10.33 kB / 3.352 GB, free: 28.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/12.81, allocations: 55.75 kB / 3.352 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000394/12.82, allocations: 63.53 kB / 3.352 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/12.82, allocations: 0 / 3.352 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006903/12.82, allocations: 0.6219 MB / 3.353 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/12.82, allocations: 7.969 kB / 3.353 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/12.82, allocations: 0.7989 MB / 3.354 GB, free: 26.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/12.82, allocations: 116.1 kB / 3.354 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/12.82, allocations: 4 kB / 3.354 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/12.82, allocations: 35.58 kB / 3.354 GB, free: 26.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/12.82, allocations: 23.66 kB / 3.354 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/12.82, allocations: 15.23 kB / 3.354 GB, free: 26.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002392/12.82, allocations: 157.2 kB / 3.354 GB, free: 26.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.11e-07/12.82, allocations: 0 / 3.354 GB, free: 26.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005434/12.82, allocations: 0.8612 MB / 3.355 GB, free: 25.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0125/12.84, allocations: 2.816 MB / 3.358 GB, free: 23.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/12.84, allocations: 460.6 kB / 3.358 GB, free: 22.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/12.84, allocations: 4 kB / 3.358 GB, free: 22.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005868/12.84, allocations: 237 kB / 3.358 GB, free: 22.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/12.84, allocations: 133.4 kB / 3.358 GB, free: 22.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/12.85, allocations: 1.041 MB / 3.359 GB, free: 21.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/12.85, allocations: 0.8183 MB / 3.36 GB, free: 20.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008602/12.85, allocations: 202.1 kB / 3.36 GB, free: 20.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/12.85, allocations: 130.4 kB / 3.361 GB, free: 20.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.352e-06/12.85, allocations: 6.234 kB / 3.361 GB, free: 20.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4841/13.33, allocations: 29.94 MB / 3.39 GB, free: 75.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003258/13.33, allocations: 167.6 kB / 3.39 GB, free: 75.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.136/18.47, allocations: 0.5625 kB / 3.39 GB, free: 75.02 MB / 442.7 MB