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 3.171/3.171, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.394e-05/2.416e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4486, allocations: 54.85 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.53/11.97, allocations: 2.783 GB / 3.129 GB, free: 99.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/11.97, allocations: 74.39 kB / 3.129 GB, free: 99.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 15.4/27.38, allocations: 2.092 GB / 5.221 GB, free: 30.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.658e-06/27.38, allocations: 0 / 5.221 GB, free: 30.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.001544/27.38, allocations: 219.1 kB / 5.221 GB, free: 30 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.09843/27.48, allocations: 9.802 MB / 5.231 GB, free: 25.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.969e-05/27.48, allocations: 16.47 kB / 5.231 GB, free: 25.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007115/27.48, allocations: 0.6996 MB / 5.231 GB, free: 25.74 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03356/27.52, allocations: 1.971 MB / 5.233 GB, free: 25.28 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04964/27.57, allocations: 7.126 MB / 5.24 GB, free: 24.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001034/27.57, allocations: 315.8 kB / 5.241 GB, free: 24.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0057/27.57, allocations: 428.2 kB / 5.241 GB, free: 24.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05021/27.62, allocations: 11.53 MB / 5.252 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04995/27.67, allocations: 10.27 MB / 5.262 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000738/27.67, allocations: 34.08 kB / 5.262 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004615/27.68, allocations: 26.84 kB / 5.262 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002161/27.68, allocations: 0.6371 MB / 5.263 GB, free: 22.18 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 1.416/29.1, allocations: 119.2 MB / 5.379 GB, free: 39.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02356/29.12, allocations: 6.402 MB / 5.386 GB, free: 39.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01503/29.14, allocations: 4.136 MB / 5.39 GB, free: 39.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2948/29.43, allocations: 64.92 MB / 5.453 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/29.43, allocations: 97.41 kB / 5.453 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01071/29.44, allocations: 0.6564 MB / 5.454 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=573): time 5.369e-05/29.44, allocations: 0 / 5.454 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=695): time 0.416/29.86, allocations: 44.78 MB / 5.498 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/29.86, allocations: 174.7 kB / 5.498 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01255/29.87, allocations: 3.32 MB / 5.501 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.002786/29.87, allocations: 29.2 kB / 5.501 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.005157/29.88, allocations: 3.338 MB / 5.504 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.005537/29.88, allocations: 2.317 MB / 5.507 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002844/29.89, allocations: 5.5 kB / 5.507 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.001203/29.89, allocations: 0.6222 MB / 5.507 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01629/29.9, allocations: 4.203 MB / 5.511 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01908/29.92, allocations: 6.047 MB / 5.517 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3053/30.23, allocations: 26.79 MB / 5.543 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000129/30.23, allocations: 16.77 kB / 5.543 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.1869/30.42, allocations: 19.76 MB / 5.563 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.01444/30.43, allocations: 23.5 MB / 5.586 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003459/30.43, allocations: 52 kB / 5.586 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049/31.48, allocations: 16.09 MB / 5.601 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01086/31.49, allocations: 1.063 MB / 5.602 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1086/31.6, allocations: 19.26 MB / 5.621 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02983/31.63, allocations: 0.726 MB / 5.622 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005067/31.63, allocations: 387.2 kB / 5.622 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/31.63, allocations: 4.469 kB / 5.622 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1909/31.83, allocations: 18.18 MB / 5.64 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003429/31.83, allocations: 56.06 kB / 5.64 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2051/32.03, allocations: 12.99 MB / 5.653 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/32.04, allocations: 1.089 MB / 5.654 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09442/32.14, allocations: 17.8 MB / 5.671 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02072/32.16, allocations: 0.7132 MB / 5.672 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003893/32.16, allocations: 377.8 kB / 5.672 GB, free: 100.1 MB / 0.6667 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.007044/32.17, allocations: 339.1 kB / 5.673 GB, free: 100 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004945/32.18, allocations: 0.6115 MB / 5.673 GB, free: 100 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1528/32.33, allocations: 27.56 MB / 5.7 GB, free: 98.76 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004474/32.33, allocations: 224.7 kB / 5.7 GB, free: 98.76 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.473e-05/32.33, allocations: 0.75 kB / 5.7 GB, free: 98.76 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1263/32.46, allocations: 24.32 MB / 5.724 GB, free: 97.39 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.225/32.68, allocations: 46.15 MB / 5.769 GB, free: 82.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000197/32.68, allocations: 17.66 kB / 5.769 GB, free: 82.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01122/32.69, allocations: 0.8947 MB / 5.77 GB, free: 82.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0612/32.75, allocations: 6.357 MB / 5.776 GB, free: 77.48 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003283/32.76, allocations: 156.2 kB / 5.776 GB, free: 77.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05967/32.82, allocations: 16.15 MB / 5.792 GB, free: 62.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-05/32.82, allocations: 28.91 kB / 5.792 GB, free: 62.84 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2188/33.03, allocations: 32.79 MB / 5.824 GB, free: 33.64 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01115/33.05, allocations: 1.895 MB / 5.826 GB, free: 31.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004927/33.05, allocations: 90.75 kB / 5.826 GB, free: 31.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01641/33.07, allocations: 450.8 kB / 5.827 GB, free: 31.61 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003363/33.07, allocations: 0.4928 MB / 5.827 GB, free: 31.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002894/33.07, allocations: 265 kB / 5.827 GB, free: 31.06 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.009286/33.08, allocations: 2.323 MB / 5.83 GB, free: 29.02 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.393e-06/33.08, allocations: 1.859 kB / 5.83 GB, free: 29.02 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.05278/33.14, allocations: 6.182 MB / 5.836 GB, free: 24.11 MB / 0.6667 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.9777/34.11, allocations: 42.76 MB / 5.877 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.07269/34.19, allocations: 18.93 MB / 5.896 GB, free: 92.15 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.561e-05/34.19, allocations: 5.719 kB / 5.896 GB, free: 92.15 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.02831/34.22, allocations: 8.316 MB / 5.904 GB, free: 92.09 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03535/34.25, allocations: 2.551 MB / 5.907 GB, free: 92.04 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1051/34.36, allocations: 24.56 MB / 5.931 GB, free: 87.79 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01728/34.37, allocations: 5.922 MB / 5.936 GB, free: 86.84 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.03421/34.41, allocations: 5.386 MB / 5.942 GB, free: 86.72 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01356/34.42, allocations: 4.085 MB / 5.946 GB, free: 86.71 MB / 0.6667 GB Notification: Performance of SimCode: time 1.543e-06/34.42, allocations: 0 / 5.946 GB, free: 86.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.737/36.16, allocations: 330.9 MB / 6.269 GB, free: 25.55 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000378/36.16, allocations: 235.2 kB / 6.269 GB, free: 25.26 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 23.59/59.75, allocations: 0 / 6.269 GB, free: 25.26 MB / 0.6667 GB