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.008/2.008, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.948e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.222/8.33, allocations: 2.673 GB / 2.987 GB, free: 42.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/8.331, allocations: 76.45 kB / 2.987 GB, free: 42.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.28/19.61, allocations: 2.054 GB / 5.041 GB, free: 24.32 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.255e-06/19.61, allocations: 0 / 5.041 GB, free: 24.32 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001128/19.61, allocations: 217.9 kB / 5.041 GB, free: 24.26 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.06171/19.68, allocations: 9.523 MB / 5.05 GB, free: 20.01 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/19.68, allocations: 11.66 kB / 5.05 GB, free: 20 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005874/19.68, allocations: 0.9789 MB / 5.051 GB, free: 19.88 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0205/19.7, allocations: 1.918 MB / 5.053 GB, free: 19.42 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03356/19.74, allocations: 7.124 MB / 5.06 GB, free: 17.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001196/19.74, allocations: 0.5381 MB / 5.061 GB, free: 17.93 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005041/19.74, allocations: 0.7133 MB / 5.062 GB, free: 17.89 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04648/19.79, allocations: 12.98 MB / 5.074 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004488/19.79, allocations: 39.36 kB / 5.074 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004223/19.79, allocations: 315.4 kB / 5.075 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001337/19.8, allocations: 0.6452 MB / 5.075 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04175/19.84, allocations: 12.6 MB / 5.087 GB, free: 12.4 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.6788/20.52, allocations: 53.94 MB / 5.14 GB, free: 21.58 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0229/20.54, allocations: 7.506 MB / 5.147 GB, free: 21.49 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01224/20.55, allocations: 4.284 MB / 5.152 GB, free: 21.45 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3499/20.9, allocations: 98.2 MB / 5.248 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/20.9, allocations: 102.4 kB / 5.248 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009956/20.91, allocations: 0.8341 MB / 5.248 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=583): time 3.049e-05/20.91, allocations: 2.156 kB / 5.248 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=705): time 0.2537/21.17, allocations: 45.3 MB / 5.293 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/21.17, allocations: 179.8 kB / 5.293 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01203/21.18, allocations: 4.217 MB / 5.297 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.002639/21.18, allocations: 155.7 kB / 5.297 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.004532/21.18, allocations: 3.309 MB / 5.3 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.004483/21.19, allocations: 2.439 MB / 5.303 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/21.19, allocations: 162.7 kB / 5.303 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0006565/21.19, allocations: 0.6244 MB / 5.304 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01211/21.2, allocations: 4.307 MB / 5.308 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01415/21.22, allocations: 6.203 MB / 5.314 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.163/22.38, allocations: 43.94 MB / 5.357 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.809e-05/22.38, allocations: 15.27 kB / 5.357 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.05516/22.44, allocations: 15.05 MB / 5.371 GB, free: 111.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.005475/22.44, allocations: 24.25 MB / 5.395 GB, free: 85.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002669/22.44, allocations: 49.75 kB / 5.395 GB, free: 85.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2282/22.67, allocations: 18.51 MB / 5.413 GB, free: 85.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007676/22.68, allocations: 1.064 MB / 5.414 GB, free: 85.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04292/22.72, allocations: 14.98 MB / 5.429 GB, free: 84.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01538/22.74, allocations: 0.8824 MB / 5.43 GB, free: 84.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002986/22.74, allocations: 386.7 kB / 5.43 GB, free: 84.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/22.74, allocations: 2.828 kB / 5.43 GB, free: 84.51 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04614/22.79, allocations: 13.97 MB / 5.444 GB, free: 84.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/22.79, allocations: 51.91 kB / 5.444 GB, free: 84.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2164/23, allocations: 17.35 MB / 5.461 GB, free: 84.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008296/23.01, allocations: 1.096 MB / 5.462 GB, free: 84.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03907/23.05, allocations: 14.04 MB / 5.476 GB, free: 83.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01517/23.07, allocations: 0.8784 MB / 5.476 GB, free: 83.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002984/23.07, allocations: 379.5 kB / 5.477 GB, free: 83.01 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.004673/23.07, allocations: 0.5989 MB / 5.477 GB, free: 82.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00294/23.08, allocations: 0.6619 MB / 5.478 GB, free: 82.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07053/23.15, allocations: 27.12 MB / 5.504 GB, free: 81.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003318/23.15, allocations: 225 kB / 5.505 GB, free: 81.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.421e-05/23.15, allocations: 2.469 kB / 5.505 GB, free: 81.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05661/23.2, allocations: 23.55 MB / 5.528 GB, free: 71.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6899/23.89, allocations: 46.37 MB / 5.573 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001496/23.89, allocations: 20.33 kB / 5.573 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008101/23.9, allocations: 0.9088 MB / 5.574 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09986/24, allocations: 10.42 MB / 5.584 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002377/24, allocations: 261.5 kB / 5.584 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/24.03, allocations: 14.56 MB / 5.598 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.693e-05/24.03, allocations: 28.81 kB / 5.599 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07132/24.1, allocations: 31.03 MB / 5.629 GB, free: 96.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008949/24.11, allocations: 2.015 MB / 5.631 GB, free: 95.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003624/24.11, allocations: 219.3 kB / 5.631 GB, free: 95.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01196/24.12, allocations: 0.5747 MB / 5.632 GB, free: 95.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002596/24.13, allocations: 0.4983 MB / 5.632 GB, free: 95.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001319/24.13, allocations: 265 kB / 5.632 GB, free: 95.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.009107/24.14, allocations: 3.126 MB / 5.635 GB, free: 95.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.242e-06/24.14, allocations: 0 / 5.635 GB, free: 95.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.03681/24.17, allocations: 6.465 MB / 5.642 GB, free: 95.47 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.1105/24.28, allocations: 40.32 MB / 5.681 GB, free: 85.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.06862/24.35, allocations: 19.72 MB / 5.7 GB, free: 84.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.382e-05/24.35, allocations: 6.719 kB / 5.7 GB, free: 84.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.02178/24.37, allocations: 8.64 MB / 5.709 GB, free: 82.15 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02872/24.4, allocations: 2.99 MB / 5.712 GB, free: 81.56 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1957/24.6, allocations: 68.89 MB / 5.779 GB, free: 43.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0125/24.61, allocations: 5.989 MB / 5.785 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.02733/24.64, allocations: 5.831 MB / 5.79 GB, free: 36.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.6033/25.24, allocations: 4.276 MB / 5.795 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.453e-06/25.24, allocations: 1.438 kB / 5.795 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.488/26.73, allocations: 374 MB / 6.16 GB, free: 79.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003091/26.73, allocations: 271.7 kB / 6.16 GB, free: 78.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.93/46.66, allocations: 5.219 kB / 6.16 GB, free: 78.75 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