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.587/2.587, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.851e-05/3.857e-05, allocations: 6.656 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4305, allocations: 54.85 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.057/9.488, allocations: 2.784 GB / 3.135 GB, free: 90.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/9.488, allocations: 79.12 kB / 3.135 GB, free: 90.58 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.94/21.43, allocations: 2.104 GB / 5.239 GB, free: 29.92 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.056e-06/21.43, allocations: 0 / 5.239 GB, free: 29.92 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.001181/21.43, allocations: 210.4 kB / 5.24 GB, free: 29.89 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.0651/21.49, allocations: 9.815 MB / 5.249 GB, free: 25.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/21.49, allocations: 10.31 kB / 5.249 GB, free: 25.71 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00654/21.5, allocations: 0.9694 MB / 5.25 GB, free: 25.63 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02185/21.52, allocations: 1.975 MB / 5.252 GB, free: 25.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03418/21.55, allocations: 7.13 MB / 5.259 GB, free: 24.06 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001129/21.56, allocations: 0.54 MB / 5.26 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004904/21.56, allocations: 0.7063 MB / 5.26 GB, free: 24.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05099/21.61, allocations: 12.9 MB / 5.273 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005728/21.61, allocations: 32.91 kB / 5.273 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004515/21.62, allocations: 315 kB / 5.273 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00163/21.62, allocations: 0.6401 MB / 5.274 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04318/21.66, allocations: 12.46 MB / 5.286 GB, free: 22.03 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.1099/21.77, allocations: 53.96 MB / 5.339 GB, free: 5.051 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02801/21.8, allocations: 7.469 MB / 5.346 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0123/21.81, allocations: 4.286 MB / 5.35 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9872/22.8, allocations: 98.6 MB / 5.446 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/22.8, allocations: 97.39 kB / 5.447 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01012/22.81, allocations: 0.8319 MB / 5.447 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=583): time 4.632e-05/22.81, allocations: 0 / 5.447 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=705): time 0.2684/23.08, allocations: 45.28 MB / 5.492 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/23.08, allocations: 178.7 kB / 5.492 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/23.09, allocations: 4.218 MB / 5.496 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.002753/23.1, allocations: 155.1 kB / 5.496 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.004734/23.1, allocations: 3.311 MB / 5.499 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00517/23.11, allocations: 2.443 MB / 5.502 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002834/23.11, allocations: 161.6 kB / 5.502 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.001019/23.11, allocations: 0.6362 MB / 5.502 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.014/23.12, allocations: 4.306 MB / 5.507 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01717/23.14, allocations: 6.153 MB / 5.513 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5774/23.72, allocations: 41.81 MB / 5.553 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.448e-05/23.72, allocations: 14.19 kB / 5.554 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.05269/23.77, allocations: 14.91 MB / 5.568 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.01169/23.78, allocations: 24.24 MB / 5.592 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002787/23.78, allocations: 54.62 kB / 5.592 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2303/24.01, allocations: 18.59 MB / 5.61 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008501/24.02, allocations: 1.062 MB / 5.611 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6896/24.71, allocations: 15.64 MB / 5.626 GB, free: 99.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01647/24.73, allocations: 0.8789 MB / 5.627 GB, free: 99.22 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003235/24.73, allocations: 393.5 kB / 5.627 GB, free: 99.22 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/24.73, allocations: 4.156 kB / 5.628 GB, free: 99.22 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05092/24.78, allocations: 13.83 MB / 5.641 GB, free: 99.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000239/24.78, allocations: 51.94 kB / 5.641 GB, free: 99.01 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2386/25.02, allocations: 17.29 MB / 5.658 GB, free: 98.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008165/25.03, allocations: 1.09 MB / 5.659 GB, free: 98.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04368/25.07, allocations: 14.04 MB / 5.673 GB, free: 97.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01624/25.09, allocations: 0.8678 MB / 5.674 GB, free: 97.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002996/25.09, allocations: 380.3 kB / 5.674 GB, free: 97.72 MB / 0.6667 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.004973/25.1, allocations: 0.597 MB / 5.675 GB, free: 97.61 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003209/25.1, allocations: 0.6609 MB / 5.675 GB, free: 97.61 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06671/25.17, allocations: 26.62 MB / 5.701 GB, free: 96.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003304/25.17, allocations: 229.3 kB / 5.701 GB, free: 96.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-05/25.17, allocations: 1.969 kB / 5.701 GB, free: 96.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05063/25.22, allocations: 23.07 MB / 5.724 GB, free: 94.85 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1218/25.34, allocations: 46.05 MB / 5.769 GB, free: 83.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001577/25.34, allocations: 19.38 kB / 5.769 GB, free: 83.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01008/25.35, allocations: 0.9194 MB / 5.77 GB, free: 83.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1031/25.45, allocations: 10.4 MB / 5.78 GB, free: 81.63 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002644/25.46, allocations: 263.3 kB / 5.78 GB, free: 81.51 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02325/25.48, allocations: 14.55 MB / 5.794 GB, free: 73.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.131e-05/25.48, allocations: 27.81 kB / 5.794 GB, free: 73.07 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06446/25.54, allocations: 31.03 MB / 5.825 GB, free: 44.49 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008342/25.55, allocations: 2.017 MB / 5.827 GB, free: 42.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003925/25.56, allocations: 215.8 kB / 5.827 GB, free: 42.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01204/25.57, allocations: 0.574 MB / 5.827 GB, free: 42.09 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002915/25.57, allocations: 0.4965 MB / 5.828 GB, free: 41.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002396/25.57, allocations: 269.7 kB / 5.828 GB, free: 41.54 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0125/25.59, allocations: 3.124 MB / 5.831 GB, free: 38.75 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.054e-06/25.59, allocations: 0 / 5.831 GB, free: 38.75 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.04455/25.63, allocations: 6.499 MB / 5.838 GB, free: 32.77 MB / 0.6667 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.7662/26.4, allocations: 43.28 MB / 5.88 GB, free: 98.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0627/26.46, allocations: 19.46 MB / 5.899 GB, free: 98.16 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.897e-05/26.46, allocations: 2.969 kB / 5.899 GB, free: 98.16 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.02302/26.48, allocations: 8.594 MB / 5.907 GB, free: 98.08 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0281/26.51, allocations: 2.983 MB / 5.91 GB, free: 98.01 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2255/26.74, allocations: 71.05 MB / 5.98 GB, free: 92.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0138/26.75, allocations: 5.99 MB / 5.985 GB, free: 91.63 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.02671/26.78, allocations: 5.62 MB / 5.991 GB, free: 91.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01104/26.79, allocations: 4.161 MB / 5.995 GB, free: 91.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.883e-06/26.79, allocations: 0 / 5.995 GB, free: 91.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.156/28.95, allocations: 373.5 MB / 6.36 GB, free: 88.57 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003196/28.95, allocations: 264.8 kB / 6.36 GB, free: 88.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.76/49.7, allocations: 1.062 kB / 6.36 GB, free: 88.23 MB / 0.698 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