Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_IncompressibleFluidNetwork_StandardWaterOnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.036/2.036, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.45e-05/4.495e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1402, allocations: 48.69 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.392/8.532, allocations: 2.673 GB / 2.987 GB, free: 40.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/8.532, allocations: 74.28 kB / 2.987 GB, free: 40.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.72/20.25, allocations: 2.054 GB / 5.041 GB, free: 23.68 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.445e-06/20.25, allocations: 0 / 5.041 GB, free: 23.68 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001324/20.25, allocations: 212 kB / 5.041 GB, free: 23.62 MB / 0.5417 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.06256/20.32, allocations: 9.522 MB / 5.051 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/20.32, allocations: 6.469 kB / 5.051 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005801/20.32, allocations: 0.9725 MB / 5.051 GB, free: 19.25 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02115/20.34, allocations: 1.926 MB / 5.053 GB, free: 18.79 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03205/20.38, allocations: 7.114 MB / 5.06 GB, free: 17.36 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009892/20.38, allocations: 0.5417 MB / 5.061 GB, free: 17.31 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004538/20.38, allocations: 0.7189 MB / 5.062 GB, free: 17.26 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04649/20.43, allocations: 12.9 MB / 5.074 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004778/20.43, allocations: 31.66 kB / 5.074 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003992/20.43, allocations: 315.5 kB / 5.074 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001278/20.43, allocations: 0.6418 MB / 5.075 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04323/20.48, allocations: 12.46 MB / 5.087 GB, free: 10.13 MB / 0.5573 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.7052/21.18, allocations: 53.94 MB / 5.14 GB, free: 19.07 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02401/21.21, allocations: 7.463 MB / 5.147 GB, free: 19.01 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01212/21.22, allocations: 4.282 MB / 5.151 GB, free: 18.96 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3569/21.58, allocations: 98.21 MB / 5.247 GB, free: 25.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/21.58, allocations: 105.8 kB / 5.247 GB, free: 25.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009921/21.59, allocations: 0.8254 MB / 5.248 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=583): time 3.584e-05/21.59, allocations: 2.672 kB / 5.248 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=705): time 0.2786/21.86, allocations: 45.29 MB / 5.292 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/21.86, allocations: 181.9 kB / 5.293 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01755/21.88, allocations: 4.212 MB / 5.297 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.003183/21.89, allocations: 156.3 kB / 5.297 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.006079/21.89, allocations: 3.314 MB / 5.3 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.005923/21.9, allocations: 2.44 MB / 5.302 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002575/21.9, allocations: 161.9 kB / 5.303 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.001044/21.9, allocations: 0.6243 MB / 5.303 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01356/21.91, allocations: 4.31 MB / 5.307 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01611/21.93, allocations: 6.153 MB / 5.313 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.203/23.13, allocations: 44.54 MB / 5.357 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.709e-05/23.13, allocations: 15.16 kB / 5.357 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.05739/23.19, allocations: 14.91 MB / 5.372 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.005591/23.2, allocations: 24.25 MB / 5.395 GB, free: 85.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002356/23.2, allocations: 54.02 kB / 5.395 GB, free: 85.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2468/23.44, allocations: 18.44 MB / 5.413 GB, free: 85.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00959/23.45, allocations: 1.065 MB / 5.414 GB, free: 85.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0451/23.5, allocations: 14.98 MB / 5.429 GB, free: 84.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01659/23.52, allocations: 0.8815 MB / 5.43 GB, free: 84.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003604/23.52, allocations: 391.2 kB / 5.43 GB, free: 84.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/23.52, allocations: 3.469 kB / 5.43 GB, free: 84.21 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04763/23.57, allocations: 13.83 MB / 5.444 GB, free: 84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002095/23.57, allocations: 53 kB / 5.444 GB, free: 84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2244/23.79, allocations: 17.29 MB / 5.461 GB, free: 83.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008332/23.8, allocations: 1.09 MB / 5.462 GB, free: 83.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0417/23.84, allocations: 14.04 MB / 5.475 GB, free: 82.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01585/23.86, allocations: 0.8712 MB / 5.476 GB, free: 82.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003267/23.86, allocations: 382 kB / 5.477 GB, free: 82.71 MB / 0.6355 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.006402/23.87, allocations: 0.6019 MB / 5.477 GB, free: 82.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004373/23.87, allocations: 0.6677 MB / 5.478 GB, free: 82.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07187/23.94, allocations: 26.61 MB / 5.504 GB, free: 80.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003312/23.94, allocations: 237 kB / 5.504 GB, free: 80.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.425e-05/23.94, allocations: 0 / 5.504 GB, free: 80.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05433/24, allocations: 23.06 MB / 5.527 GB, free: 71.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8343/24.83, allocations: 46.08 MB / 5.572 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002202/24.83, allocations: 17.78 kB / 5.572 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008846/24.84, allocations: 0.9092 MB / 5.573 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1026/24.94, allocations: 10.39 MB / 5.583 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00274/24.95, allocations: 263 kB / 5.583 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02642/24.97, allocations: 14.56 MB / 5.597 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-05/24.97, allocations: 26.41 kB / 5.597 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07587/25.05, allocations: 31.04 MB / 5.627 GB, free: 96.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009564/25.06, allocations: 2.009 MB / 5.629 GB, free: 95.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004636/25.06, allocations: 221.2 kB / 5.63 GB, free: 95.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01285/25.08, allocations: 0.5682 MB / 5.63 GB, free: 95.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002909/25.08, allocations: 0.4986 MB / 5.631 GB, free: 95.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002491/25.08, allocations: 272.9 kB / 5.631 GB, free: 95.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.01055/25.09, allocations: 3.118 MB / 5.634 GB, free: 95.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.034e-06/25.09, allocations: 0 / 5.634 GB, free: 95.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.03894/25.13, allocations: 6.468 MB / 5.64 GB, free: 95.05 MB / 0.6355 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: 102 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse34.phase,$cse34.region,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse52.phase,$cse52.region,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse57.phase,$cse57.region,$cse64.phase,$cse64.region,$cse65.phase,$cse65.region,$cse67.phase,$cse67.region,$cse68.phase,$cse68.region,$cse70.phase,$cse70.region,$cse71.phase,$cse71.region,$cse73.phase,$cse73.region,$cse75.phase,$cse75.region,$cse76.phase,$cse76.region,$cse77.phase,$cse77.region,$cse79.phase,$cse79.region,$cse80.phase,$cse80.region,$cse82.phase,$cse82.region,$cse83.phase,$cse83.region,$cse85.phase,$cse85.region,$cse86.phase,$cse86.region,$cse87.phase,$cse87.region,$cse88.phase,$cse88.region,$cse90.phase,$cse90.region,$cse91.phase,$cse91.region,$cse92.phase,$cse92.region,$cse93.phase,$cse93.region,$cse95.phase,$cse95.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (558): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * 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,6 36,2 1,2 1,2 1,2 1,6 64,6 64,4 38,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.102/25.23, allocations: 40.37 MB / 5.68 GB, free: 84.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.06239/25.3, allocations: 19.46 MB / 5.699 GB, free: 84.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.288e-05/25.3, allocations: 5.719 kB / 5.699 GB, free: 84.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.02334/25.32, allocations: 8.59 MB / 5.707 GB, free: 82.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02991/25.35, allocations: 2.993 MB / 5.71 GB, free: 81.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2304/25.58, allocations: 68.83 MB / 5.777 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01403/25.6, allocations: 5.985 MB / 5.783 GB, free: 39.68 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.02966/25.62, allocations: 5.654 MB / 5.789 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.6405/26.27, allocations: 4.29 MB / 5.793 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of SimCode: time 2.535e-06/26.27, allocations: 1.344 kB / 5.793 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.593/27.86, allocations: 373.2 MB / 6.157 GB, free: 78.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/27.86, allocations: 270.4 kB / 6.157 GB, free: 78.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.12/47.98, allocations: 0 / 6.157 GB, free: 78.39 MB / 0.6355 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase_res.mat does not exist to compare? outputFormat=mat