Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_IncompressibleFluidNetwork_StandardWaterOnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.396/2.396, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.992e-05, allocations: 4 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3969, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.555/8.952, allocations: 2.783 GB / 3.129 GB, free: 82.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/8.953, allocations: 77.86 kB / 3.129 GB, free: 82.25 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.69/20.64, allocations: 2.089 GB / 5.218 GB, free: 29.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.098e-06/20.64, allocations: 0 / 5.218 GB, free: 29.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.00114/20.64, allocations: 213.9 kB / 5.218 GB, free: 29.68 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.06495/20.7, allocations: 9.809 MB / 5.227 GB, free: 25.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/20.7, allocations: 8.312 kB / 5.227 GB, free: 25.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02103/20.73, allocations: 1.974 MB / 5.229 GB, free: 25.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03381/20.76, allocations: 7.125 MB / 5.236 GB, free: 23.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006587/20.76, allocations: 235.9 kB / 5.237 GB, free: 23.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004354/20.76, allocations: 427.8 kB / 5.237 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03476/20.8, allocations: 11.52 MB / 5.248 GB, free: 23.92 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03451/20.83, allocations: 10.26 MB / 5.258 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003478/20.83, allocations: 38.52 kB / 5.258 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002392/20.84, allocations: 23.75 kB / 5.258 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001233/20.84, allocations: 0.6427 MB / 5.259 GB, free: 21.97 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.3608/21.2, allocations: 119.2 MB / 5.375 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.624/21.82, allocations: 6.948 MB / 5.382 GB, free: 75.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01243/21.84, allocations: 4.128 MB / 5.386 GB, free: 75.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2045/22.04, allocations: 64.92 MB / 5.45 GB, free: 35.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/22.04, allocations: 95.94 kB / 5.45 GB, free: 35.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00858/22.05, allocations: 0.6642 MB / 5.45 GB, free: 35.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=573): time 4.687e-05/22.05, allocations: 0 / 5.45 GB, free: 35.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=695): time 0.289/22.34, allocations: 44.77 MB / 5.494 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/22.34, allocations: 175.5 kB / 5.494 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009972/22.35, allocations: 3.318 MB / 5.497 GB, free: 33.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.002389/22.35, allocations: 33.38 kB / 5.497 GB, free: 33.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.004025/22.35, allocations: 3.329 MB / 5.501 GB, free: 32.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.004535/22.36, allocations: 2.32 MB / 5.503 GB, free: 30.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002019/22.36, allocations: 8.359 kB / 5.503 GB, free: 30.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0007993/22.36, allocations: 0.6202 MB / 5.504 GB, free: 30.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01695/22.38, allocations: 4.203 MB / 5.508 GB, free: 30.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01564/22.39, allocations: 6.044 MB / 5.514 GB, free: 28.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2108/22.61, allocations: 26.8 MB / 5.54 GB, free: 25.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.985e-05/22.61, allocations: 14.91 kB / 5.54 GB, free: 25.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.1064/22.71, allocations: 19.72 MB / 5.559 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.005755/22.72, allocations: 23.5 MB / 5.582 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003738/22.72, allocations: 54.42 kB / 5.582 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1771/22.9, allocations: 15.65 MB / 5.597 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008151/22.9, allocations: 1.061 MB / 5.598 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07113/22.98, allocations: 19.26 MB / 5.617 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01559/22.99, allocations: 0.7299 MB / 5.618 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003142/22.99, allocations: 387.6 kB / 5.618 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/22.99, allocations: 4.656 kB / 5.618 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7664/23.76, allocations: 18.93 MB / 5.637 GB, free: 84.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002157/23.76, allocations: 53 kB / 5.637 GB, free: 84.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.118/23.88, allocations: 12.99 MB / 5.649 GB, free: 83.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008302/23.89, allocations: 1.087 MB / 5.651 GB, free: 83.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06456/23.95, allocations: 17.79 MB / 5.668 GB, free: 82.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01566/23.97, allocations: 0.7074 MB / 5.669 GB, free: 82.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003681/23.97, allocations: 377.8 kB / 5.669 GB, free: 82.76 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.005482/23.98, allocations: 337.2 kB / 5.669 GB, free: 82.64 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.09769/24.07, allocations: 16.15 MB / 5.685 GB, free: 82.35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004365/24.08, allocations: 0.6138 MB / 5.686 GB, free: 82.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1093/24.19, allocations: 27.56 MB / 5.713 GB, free: 81.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003612/24.19, allocations: 223.2 kB / 5.713 GB, free: 81.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-05/24.19, allocations: 0 / 5.713 GB, free: 81.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09067/24.28, allocations: 24.33 MB / 5.737 GB, free: 79.74 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1526/24.43, allocations: 46.15 MB / 5.782 GB, free: 72.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001493/24.43, allocations: 19.25 kB / 5.782 GB, free: 72.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007751/24.44, allocations: 0.8894 MB / 5.782 GB, free: 72.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03715/24.48, allocations: 6.355 MB / 5.789 GB, free: 70.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0024/24.48, allocations: 164.3 kB / 5.789 GB, free: 70.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02761/24.51, allocations: 16.15 MB / 5.805 GB, free: 59.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.712e-05/24.51, allocations: 27.69 kB / 5.805 GB, free: 59.06 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1023/24.61, allocations: 32.79 MB / 5.837 GB, free: 29.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007873/24.62, allocations: 1.885 MB / 5.839 GB, free: 28.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003661/24.62, allocations: 92.77 kB / 5.839 GB, free: 28.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01149/24.63, allocations: 458.9 kB / 5.839 GB, free: 27.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002487/24.64, allocations: 0.4942 MB / 5.84 GB, free: 27.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001111/24.64, allocations: 265.4 kB / 5.84 GB, free: 27.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.005693/24.64, allocations: 2.322 MB / 5.842 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.22e-07/24.64, allocations: 0 / 5.842 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.03432/24.68, allocations: 5.938 MB / 5.848 GB, free: 19.88 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.7982/25.48, allocations: 43.1 MB / 5.89 GB, free: 80.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.05715/25.53, allocations: 18.92 MB / 5.908 GB, free: 80.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.3e-05/25.53, allocations: 5.438 kB / 5.908 GB, free: 80.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.02215/25.55, allocations: 8.321 MB / 5.917 GB, free: 79.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02614/25.58, allocations: 2.57 MB / 5.919 GB, free: 79.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0834/25.66, allocations: 24.55 MB / 5.943 GB, free: 75.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01334/25.68, allocations: 5.929 MB / 5.949 GB, free: 74.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.02566/25.7, allocations: 5.386 MB / 5.954 GB, free: 74.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01094/25.71, allocations: 4.078 MB / 5.958 GB, free: 74.61 MB / 0.6511 GB Notification: Performance of SimCode: time 1.553e-06/25.71, allocations: 3.156 kB / 5.958 GB, free: 74.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.452/27.17, allocations: 325 MB / 6.275 GB, free: 36.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/27.17, allocations: 218.6 kB / 6.276 GB, free: 36.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.21/45.37, allocations: 3.938 kB / 6.276 GB, free: 36.67 MB / 0.6511 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase_res.mat does not exist to compare? outputFormat=mat