Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_IncompressibleFluidNetwork_StandardWaterOnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.603/2.603, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.591e-05, allocations: 8 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1584, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.421/9.579, allocations: 2.95 GB / 3.351 GB, free: 90.75 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/9.58, allocations: 75.59 kB / 3.351 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 11.98/21.56, allocations: 2.142 GB / 5.493 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.164e-06/21.56, allocations: 0 / 5.493 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.00119/21.56, allocations: 219.8 kB / 5.493 GB, free: 11.31 MB / 0.6511 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.06946/21.63, allocations: 9.816 MB / 5.503 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/21.63, allocations: 12.03 kB / 5.503 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006112/21.64, allocations: 0.9674 MB / 5.504 GB, free: 436 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6546/22.29, allocations: 1.974 MB / 5.506 GB, free: 30.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.037/22.33, allocations: 7.1 MB / 5.512 GB, free: 29.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001325/22.33, allocations: 0.5368 MB / 5.513 GB, free: 29.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005266/22.33, allocations: 0.7129 MB / 5.514 GB, free: 29.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05333/22.39, allocations: 12.9 MB / 5.526 GB, free: 27.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005814/22.39, allocations: 41.5 kB / 5.526 GB, free: 27.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004441/22.39, allocations: 310 kB / 5.527 GB, free: 27.67 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001457/22.39, allocations: 0.6414 MB / 5.527 GB, free: 27.66 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04264/22.44, allocations: 12.46 MB / 5.539 GB, free: 27.62 MB / 0.6511 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: Performance of preOpt removeSimpleEquations (simulation): time 0.116/22.55, allocations: 53.89 MB / 5.592 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02229/22.57, allocations: 7.505 MB / 5.599 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01199/22.59, allocations: 4.309 MB / 5.604 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2207/22.81, allocations: 64.94 MB / 5.667 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/22.81, allocations: 97.66 kB / 5.667 GB, free: 19.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009969/22.82, allocations: 0.8372 MB / 5.668 GB, free: 19.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=586): time 4.589e-05/22.82, allocations: 4 kB / 5.668 GB, free: 19.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=709): time 0.2619/23.08, allocations: 45.5 MB / 5.712 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/23.08, allocations: 175.1 kB / 5.713 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/23.09, allocations: 4.269 MB / 5.717 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00249/23.09, allocations: 158.3 kB / 5.717 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004037/23.1, allocations: 3.297 MB / 5.72 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.004541/23.1, allocations: 2.454 MB / 5.722 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/23.1, allocations: 159.3 kB / 5.723 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0007195/23.1, allocations: 0.6227 MB / 5.723 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01268/23.12, allocations: 4.314 MB / 5.727 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01517/23.13, allocations: 6.137 MB / 5.733 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.309/24.44, allocations: 45.91 MB / 5.778 GB, free: 86.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/24.44, allocations: 16.72 kB / 5.778 GB, free: 86.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.05763/24.5, allocations: 14.92 MB / 5.793 GB, free: 86.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.005177/24.51, allocations: 23.74 MB / 5.816 GB, free: 61.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002149/24.51, allocations: 51.88 kB / 5.816 GB, free: 61.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2302/24.74, allocations: 18.53 MB / 5.834 GB, free: 61.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007764/24.74, allocations: 1.05 MB / 5.835 GB, free: 61.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04171/24.79, allocations: 15 MB / 5.85 GB, free: 60 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01605/24.8, allocations: 0.8804 MB / 5.851 GB, free: 60 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002852/24.8, allocations: 388.7 kB / 5.851 GB, free: 60 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/24.8, allocations: 2.469 kB / 5.851 GB, free: 60 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04348/24.85, allocations: 13.9 MB / 5.865 GB, free: 59.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/24.85, allocations: 49.16 kB / 5.865 GB, free: 59.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2134/25.06, allocations: 17.31 MB / 5.882 GB, free: 59.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008137/25.07, allocations: 1.084 MB / 5.883 GB, free: 59.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03657/25.11, allocations: 14.08 MB / 5.896 GB, free: 58.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01546/25.12, allocations: 0.8676 MB / 5.897 GB, free: 58.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003229/25.12, allocations: 374.6 kB / 5.898 GB, free: 58.49 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 13 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe1.mediums[1].p = 0.0 $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: 226 * 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 (601): * Single equations (assignments): 599 * 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.005231/25.13, allocations: 0.6061 MB / 5.898 GB, free: 58.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003365/25.13, allocations: 0.676 MB / 5.899 GB, free: 58.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06543/25.2, allocations: 26.53 MB / 5.925 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003235/25.2, allocations: 225.9 kB / 5.925 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.94e-05/25.2, allocations: 3.172 kB / 5.925 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04922/25.25, allocations: 22.96 MB / 5.947 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.115/25.36, allocations: 46.54 MB / 5.993 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000154/25.36, allocations: 20 kB / 5.993 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008633/25.37, allocations: 0.9181 MB / 5.994 GB, free: 29.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.119/25.49, allocations: 10.39 MB / 6.004 GB, free: 22.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002693/25.49, allocations: 262.1 kB / 6.004 GB, free: 22.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02294/25.52, allocations: 14.53 MB / 6.018 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.37e-05/25.52, allocations: 28.81 kB / 6.018 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7596/26.28, allocations: 31.45 MB / 6.049 GB, free: 99.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01252/26.29, allocations: 2.04 MB / 6.051 GB, free: 99.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005739/26.3, allocations: 221.5 kB / 6.051 GB, free: 99.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01859/26.31, allocations: 0.5735 MB / 6.052 GB, free: 99.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00341/26.32, allocations: 0.5004 MB / 6.052 GB, free: 99.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002582/26.32, allocations: 270.1 kB / 6.053 GB, free: 99.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.01397/26.33, allocations: 3.219 MB / 6.056 GB, free: 99.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.084e-06/26.33, allocations: 0 / 6.056 GB, free: 99.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0498/26.38, allocations: 6.533 MB / 6.062 GB, free: 99.23 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 83 * 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 (562): * Single equations (assignments): 501 * 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 {4 38,2 1,2 1,2 1,2 1,6 64,6 64,6 36,2 1,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.132/26.52, allocations: 40.91 MB / 6.102 GB, free: 88.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.05918/26.58, allocations: 19.45 MB / 6.121 GB, free: 88.33 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.99e-05/26.58, allocations: 6.312 kB / 6.121 GB, free: 88.33 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.02154/26.6, allocations: 8.598 MB / 6.129 GB, free: 88.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04003/26.64, allocations: 3.099 MB / 6.132 GB, free: 88.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08174/26.72, allocations: 25.64 MB / 6.158 GB, free: 83.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0118/26.73, allocations: 5.995 MB / 6.163 GB, free: 82.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.02516/26.76, allocations: 5.667 MB / 6.169 GB, free: 82.63 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008895/26.77, allocations: 4.173 MB / 6.173 GB, free: 82.62 MB / 0.7292 GB Notification: Performance of SimCode: time 1.933e-06/26.77, allocations: 0 / 6.173 GB, free: 82.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.547/28.31, allocations: 376.8 MB / 6.541 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000309/28.31, allocations: 270 kB / 6.541 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.24/50.55, allocations: 1.953 kB / 6.541 GB, free: 15.39 MB / 0.7605 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase_res.mat does not exist to compare? outputFormat=mat