Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestExamplesVariants_IncompressibleFluidNetwork_StandardWaterOnePhase",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.509/2.509, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.906e-05, allocations: 0 / 299.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.3999, allocations: 54.86 MB / 354.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.823/9.223, allocations: 2.783 GB / 3.129 GB, free: 82.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/9.223, allocations: 78.28 kB / 3.129 GB, free: 82.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 12.47/21.69, allocations: 2.089 GB / 5.218 GB, free: 30.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.775e-06/21.69, allocations: 0 / 5.218 GB, free: 30.13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.001176/21.7, allocations: 213.9 kB / 5.218 GB, free: 30.1 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1894 * Number of variables: 1894 Notification: Performance of Generate backend data structure: time 0.07173/21.77, allocations: 9.807 MB / 5.227 GB, free: 25.94 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/21.77, allocations: 9.25 kB / 5.228 GB, free: 25.94 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02287/21.79, allocations: 1.97 MB / 5.229 GB, free: 25.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0349/21.83, allocations: 7.122 MB / 5.236 GB, free: 24.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007206/21.83, allocations: 237.1 kB / 5.237 GB, free: 24.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004454/21.83, allocations: 428.7 kB / 5.237 GB, free: 24.37 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03678/21.87, allocations: 11.52 MB / 5.248 GB, free: 24.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03825/21.91, allocations: 10.26 MB / 5.258 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000434/21.91, allocations: 39.19 kB / 5.258 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003477/21.91, allocations: 22.28 kB / 5.258 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001509/21.91, allocations: 0.6415 MB / 5.259 GB, free: 22.39 MB / 0.5886 GB 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: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(pipe1.mediums[1].p) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4025/22.31, allocations: 119.2 MB / 5.375 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6388/22.95, allocations: 6.808 MB / 5.382 GB, free: 75.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01157/22.96, allocations: 4.128 MB / 5.386 GB, free: 75.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2297/23.19, allocations: 64.93 MB / 5.45 GB, free: 35.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/23.19, allocations: 96.31 kB / 5.45 GB, free: 35.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009304/23.2, allocations: 0.6553 MB / 5.45 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=573): time 5.09e-05/23.2, allocations: 4 kB / 5.45 GB, free: 35.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=695): time 0.3283/23.53, allocations: 44.76 MB / 5.494 GB, free: 33.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/23.53, allocations: 173.8 kB / 5.494 GB, free: 33.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0092/23.54, allocations: 3.327 MB / 5.497 GB, free: 33.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.002265/23.54, allocations: 28.86 kB / 5.497 GB, free: 33.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.003993/23.55, allocations: 3.334 MB / 5.501 GB, free: 32.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.004461/23.55, allocations: 2.314 MB / 5.503 GB, free: 30.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/23.55, allocations: 2.062 kB / 5.503 GB, free: 30.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0006812/23.55, allocations: 0.6215 MB / 5.504 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01304/23.57, allocations: 4.207 MB / 5.508 GB, free: 30.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01517/23.58, allocations: 6.045 MB / 5.514 GB, free: 28.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.245/23.83, allocations: 26.79 MB / 5.54 GB, free: 26.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.199e-05/23.83, allocations: 21 kB / 5.54 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.1191/23.95, allocations: 19.73 MB / 5.559 GB, free: 25.37 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.005075/23.95, allocations: 23.5 MB / 5.582 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002826/23.95, allocations: 49.84 kB / 5.582 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1875/24.14, allocations: 15.59 MB / 5.597 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009141/24.15, allocations: 1.063 MB / 5.598 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07498/24.22, allocations: 19.26 MB / 5.617 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01695/24.24, allocations: 0.73 MB / 5.618 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003154/24.24, allocations: 385.1 kB / 5.618 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/24.24, allocations: 4 kB / 5.618 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7587/25, allocations: 18.93 MB / 5.637 GB, free: 84.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002409/25, allocations: 53.84 kB / 5.637 GB, free: 84.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1398/25.14, allocations: 12.99 MB / 5.649 GB, free: 84.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0089/25.15, allocations: 1.088 MB / 5.65 GB, free: 84.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06517/25.22, allocations: 17.79 MB / 5.668 GB, free: 83.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01538/25.23, allocations: 0.7093 MB / 5.668 GB, free: 83.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003026/25.24, allocations: 384.3 kB / 5.669 GB, free: 83.1 MB / 0.6511 GB Warning: The initial conditions are over specified. The following 12 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe1.mediums[2].p = 0.0 $DER.pipe3.mediums[1].p = 0.0 $DER.pipe7.mediums[2].p = 0.0 $DER.pipe9.mediums[1].p = 0.0 $DER.pipe10.mediums[1].p = 0.0 $DER.pipe4.mediums[2].p = 0.0 $DER.pipe5.mediums[1].p = 0.0 $DER.pipe8.mediums[2].p = 0.0 $DER.pipe10.mediums[2].p = 0.0 $DER.pipe11.mediums[1].p = 0.0 $DER.pipe5.mediums[2].p = 0.0 $DER.pipe9.mediums[2].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 52 (valve3.state_b.phase,valve3.state_a.phase,valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,pipe11.mediums[2].phase,pipe11.mediums[1].phase,pipe11.state_b.phase,pipe11.state_a.phase,pipe5.mediums[2].phase,pipe5.mediums[1].phase,pipe5.state_b.phase,pipe5.state_a.phase,pipe10.mediums[2].phase,pipe10.mediums[1].phase,pipe10.state_b.phase,pipe10.state_a.phase,pipe9.mediums[2].phase,pipe9.mediums[1].phase,pipe9.state_b.phase,pipe9.state_a.phase,pipe8.mediums[2].phase,pipe8.mediums[1].phase,pipe8.state_b.phase,pipe8.state_a.phase,sink.medium.phase,pipe7.mediums[2].phase,pipe7.mediums[1].phase,pipe7.state_b.phase,pipe7.state_a.phase,pipe6.mediums[2].phase,pipe6.mediums[1].phase,pipe6.state_b.phase,pipe6.state_a.phase,pipe4.mediums[2].phase,pipe4.mediums[1].phase,pipe4.state_b.phase,pipe4.state_a.phase,pipe3.mediums[2].phase,pipe3.mediums[1].phase,pipe3.state_b.phase,pipe3.state_a.phase,pipe2.mediums[2].phase,pipe2.mediums[1].phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.mediums[2].phase,pipe1.mediums[1].phase,pipe1.state_b.phase,pipe1.state_a.phase,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (606): * Single equations (assignments): 604 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,30 380} Notification: Performance of prepare postOptimizeDAE: time 0.004232/25.24, allocations: 338.2 kB / 5.669 GB, free: 82.98 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1031/25.34, allocations: 16.16 MB / 5.685 GB, free: 82.69 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003731/25.35, allocations: 0.6116 MB / 5.686 GB, free: 82.69 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1143/25.46, allocations: 27.56 MB / 5.712 GB, free: 81.45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003516/25.46, allocations: 222.5 kB / 5.713 GB, free: 81.45 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.088e-05/25.46, allocations: 1.344 kB / 5.713 GB, free: 81.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09877/25.56, allocations: 24.33 MB / 5.736 GB, free: 80.08 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1653/25.73, allocations: 46.15 MB / 5.782 GB, free: 72.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001491/25.73, allocations: 18.52 kB / 5.782 GB, free: 72.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0084/25.73, allocations: 0.8896 MB / 5.782 GB, free: 72.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04229/25.78, allocations: 6.351 MB / 5.789 GB, free: 71.24 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002058/25.78, allocations: 162.9 kB / 5.789 GB, free: 71.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02967/25.81, allocations: 16.15 MB / 5.805 GB, free: 59.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.758e-05/25.81, allocations: 28.44 kB / 5.805 GB, free: 59.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1163/25.93, allocations: 32.79 MB / 5.837 GB, free: 30.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008389/25.93, allocations: 1.886 MB / 5.838 GB, free: 28.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003852/25.94, allocations: 94.14 kB / 5.839 GB, free: 28.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01192/25.95, allocations: 453.8 kB / 5.839 GB, free: 28.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002641/25.95, allocations: 498.2 kB / 5.839 GB, free: 27.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001588/25.95, allocations: 268.2 kB / 5.84 GB, free: 27.56 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.006377/25.96, allocations: 2.322 MB / 5.842 GB, free: 25.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.72e-07/25.96, allocations: 0 / 5.842 GB, free: 25.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.03481/26, allocations: 5.939 MB / 5.848 GB, free: 20.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 31 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].T,pipe4.mediums[1].p,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].p,pipe6.mediums[1].T,pipe6.mediums[2].p,pipe6.mediums[2].T,pipe7.mediums[1].p,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].p,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].p,pipe11.mediums[2].T) * Number of discrete variables: 98 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,$cse53.phase,$cse53.region,$cse55.phase,$cse55.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,$cse65.phase,$cse65.region,$cse66.phase,$cse66.region,$cse67.phase,$cse67.region,$cse69.phase,$cse69.region,$cse71.phase,$cse71.region,$cse72.phase,$cse72.region,$cse73.phase,$cse73.region,$cse75.phase,$cse75.region,$cse76.phase,$cse76.region,$cse78.phase,$cse78.region,$cse79.phase,$cse79.region,$cse81.phase,$cse81.region,$cse82.phase,$cse82.region,$cse83.phase,$cse83.region,$cse84.phase,$cse84.region,$cse86.phase,$cse86.region,$cse87.phase,$cse87.region,$cse88.phase,$cse88.region,$cse89.phase,$cse89.region,$cse91.phase,$cse91.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (545): * Single equations (assignments): 486 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 10,4 38,2 1,2 1,2 1,2 1,6 64,6 64,6 36,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.7764/26.77, allocations: 43.11 MB / 5.89 GB, free: 80.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.05868/26.83, allocations: 18.93 MB / 5.908 GB, free: 80.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.112e-05/26.83, allocations: 5.438 kB / 5.908 GB, free: 80.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0226/26.85, allocations: 8.319 MB / 5.916 GB, free: 80.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02841/26.88, allocations: 2.564 MB / 5.919 GB, free: 80.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08255/26.96, allocations: 24.55 MB / 5.943 GB, free: 76.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01363/26.98, allocations: 5.931 MB / 5.949 GB, free: 75.08 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.02662/27, allocations: 5.376 MB / 5.954 GB, free: 74.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01045/27.01, allocations: 4.082 MB / 5.958 GB, free: 74.96 MB / 0.6511 GB Notification: Performance of SimCode: time 1.733e-06/27.01, allocations: 0 / 5.958 GB, free: 74.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.424/28.44, allocations: 325.1 MB / 6.275 GB, free: 36.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000277/28.44, allocations: 232.5 kB / 6.276 GB, free: 36.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 18.37/46.81, allocations: 0.6562 kB / 6.276 GB, free: 36.58 MB / 0.6511 GB