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 1.982/1.982, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.065e-05, allocations: 0 / 267.6 MB, free: 4.973 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 48.71 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.229/8.342, allocations: 2.673 GB / 2.981 GB, free: 77.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/8.343, allocations: 82.95 kB / 2.982 GB, free: 77.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.36/19.7, allocations: 2.039 GB / 5.02 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.925e-06/19.7, allocations: 3.438 kB / 5.02 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001124/19.7, allocations: 208.5 kB / 5.02 GB, free: 27.38 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.06158/19.76, allocations: 9.524 MB / 5.03 GB, free: 23.32 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/19.76, allocations: 11.72 kB / 5.03 GB, free: 23.32 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0205/19.78, allocations: 1.922 MB / 5.031 GB, free: 22.86 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03288/19.82, allocations: 7.115 MB / 5.038 GB, free: 21.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007352/19.82, allocations: 237.9 kB / 5.039 GB, free: 21.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004607/19.82, allocations: 430.5 kB / 5.039 GB, free: 21.74 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03278/19.85, allocations: 11.53 MB / 5.05 GB, free: 21.71 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03463/19.89, allocations: 10.26 MB / 5.06 GB, free: 19.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000353/19.89, allocations: 39.11 kB / 5.06 GB, free: 19.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002499/19.89, allocations: 23.28 kB / 5.06 GB, free: 19.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001188/19.89, allocations: 0.6418 MB / 5.061 GB, free: 19.66 MB / 0.5417 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.9166/20.81, allocations: 119.2 MB / 5.177 GB, free: 9.055 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01666/20.83, allocations: 6.405 MB / 5.184 GB, free: 8.977 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01082/20.84, allocations: 4.133 MB / 5.188 GB, free: 8.934 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2141/21.05, allocations: 64.85 MB / 5.251 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/21.05, allocations: 97.06 kB / 5.251 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008526/21.06, allocations: 0.6589 MB / 5.252 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=573): time 4.427e-05/21.06, allocations: 0 / 5.252 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=695): time 0.2874/21.35, allocations: 44.77 MB / 5.295 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/21.35, allocations: 174.4 kB / 5.296 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009241/21.36, allocations: 3.33 MB / 5.299 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.002364/21.36, allocations: 29.58 kB / 5.299 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.003916/21.36, allocations: 3.33 MB / 5.302 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.004508/21.37, allocations: 2.317 MB / 5.304 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/21.37, allocations: 0 / 5.304 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0008971/21.37, allocations: 0.623 MB / 5.305 GB, free: 9.578 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01173/21.38, allocations: 4.203 MB / 5.309 GB, free: 9.555 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01594/21.4, allocations: 6.043 MB / 5.315 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2159/21.61, allocations: 26.84 MB / 5.341 GB, free: 4.469 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.793e-05/21.61, allocations: 16 kB / 5.341 GB, free: 4.453 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.6675/22.28, allocations: 20.03 MB / 5.361 GB, free: 102.9 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.005474/22.29, allocations: 23.49 MB / 5.384 GB, free: 78.25 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003231/22.29, allocations: 51.2 kB / 5.384 GB, free: 78.25 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1237/22.41, allocations: 13.46 MB / 5.397 GB, free: 78.14 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007852/22.42, allocations: 1.057 MB / 5.398 GB, free: 78.14 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07105/22.49, allocations: 19.25 MB / 5.417 GB, free: 76.95 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01574/22.51, allocations: 0.7299 MB / 5.418 GB, free: 76.95 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00352/22.51, allocations: 393.2 kB / 5.418 GB, free: 76.95 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/22.51, allocations: 3.594 kB / 5.418 GB, free: 76.95 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1018/22.61, allocations: 18.19 MB / 5.436 GB, free: 76.74 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000197/22.61, allocations: 52.66 kB / 5.436 GB, free: 76.74 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1182/22.73, allocations: 12.99 MB / 5.448 GB, free: 76.62 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008066/22.74, allocations: 1.094 MB / 5.449 GB, free: 76.62 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05883/22.8, allocations: 17.79 MB / 5.467 GB, free: 75.44 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01426/22.81, allocations: 0.7143 MB / 5.468 GB, free: 75.44 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00282/22.81, allocations: 376.2 kB / 5.468 GB, free: 75.44 MB / 0.6199 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.003997/22.82, allocations: 337 kB / 5.468 GB, free: 75.32 MB / 0.6199 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.09011/22.91, allocations: 16.15 MB / 5.484 GB, free: 75.03 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003903/22.91, allocations: 0.6096 MB / 5.485 GB, free: 74.79 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1037/23.02, allocations: 27.56 MB / 5.512 GB, free: 73.37 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003364/23.02, allocations: 218.4 kB / 5.512 GB, free: 73.37 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.086e-05/23.02, allocations: 4.562 kB / 5.512 GB, free: 73.37 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08826/23.1, allocations: 24.33 MB / 5.535 GB, free: 58.36 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.728/23.83, allocations: 46.14 MB / 5.581 GB, free: 97.25 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001501/23.83, allocations: 18.19 kB / 5.581 GB, free: 97.25 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007762/23.84, allocations: 0.8972 MB / 5.581 GB, free: 97.25 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03858/23.88, allocations: 6.349 MB / 5.588 GB, free: 97.15 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002401/23.88, allocations: 156 kB / 5.588 GB, free: 97.15 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03029/23.91, allocations: 16.16 MB / 5.604 GB, free: 91.91 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.321e-05/23.91, allocations: 30.56 kB / 5.604 GB, free: 91.91 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1107/24.02, allocations: 32.8 MB / 5.636 GB, free: 87.11 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007854/24.03, allocations: 1.886 MB / 5.637 GB, free: 86.82 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00384/24.03, allocations: 95.53 kB / 5.638 GB, free: 86.82 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01177/24.05, allocations: 448 kB / 5.638 GB, free: 86.8 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002576/24.05, allocations: 0.4968 MB / 5.638 GB, free: 86.78 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001396/24.05, allocations: 265 kB / 5.639 GB, free: 86.78 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.006048/24.06, allocations: 2.324 MB / 5.641 GB, free: 86.6 MB / 0.6199 GB Notification: Performance of sort global known variables: time 8.61e-07/24.06, allocations: 0 / 5.641 GB, free: 86.6 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0345/24.09, allocations: 5.905 MB / 5.647 GB, free: 86.43 MB / 0.6199 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.136/24.23, allocations: 42.69 MB / 5.688 GB, free: 76.37 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.05482/24.28, allocations: 18.94 MB / 5.707 GB, free: 76.04 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 2.828e-05/24.28, allocations: 2.875 kB / 5.707 GB, free: 76.04 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.02029/24.3, allocations: 8.328 MB / 5.715 GB, free: 74.21 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02667/24.33, allocations: 2.558 MB / 5.718 GB, free: 73.78 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08107/24.41, allocations: 24.54 MB / 5.742 GB, free: 58.2 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01215/24.42, allocations: 5.929 MB / 5.747 GB, free: 53.89 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.02478/24.45, allocations: 5.381 MB / 5.753 GB, free: 50.65 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01067/24.46, allocations: 4.079 MB / 5.757 GB, free: 46.86 MB / 0.6199 GB Notification: Performance of SimCode: time 1.833e-06/24.46, allocations: 0 / 5.757 GB, free: 46.86 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.934/26.39, allocations: 324.6 MB / 6.074 GB, free: 96.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/26.39, allocations: 222.6 kB / 6.074 GB, free: 96.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.82/44.22, allocations: 0 / 6.074 GB, free: 96.19 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