Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_IncompressibleFluidNetwork_StandardWaterOnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.638/2.638, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.137e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4757, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.124/9.6, allocations: 2.951 GB / 3.325 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/9.6, allocations: 77.17 kB / 3.325 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 11.64/21.24, allocations: 2.118 GB / 5.443 GB, free: 27.8 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.884e-06/21.24, allocations: 0 / 5.443 GB, free: 27.8 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.001092/21.24, allocations: 216.3 kB / 5.443 GB, free: 27.74 MB / 0.6199 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.06741/21.3, allocations: 9.815 MB / 5.453 GB, free: 23.38 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/21.3, allocations: 15.94 kB / 5.453 GB, free: 23.37 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006075/21.31, allocations: 0.9681 MB / 5.454 GB, free: 23.25 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0214/21.33, allocations: 1.973 MB / 5.456 GB, free: 22.79 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04214/21.37, allocations: 7.114 MB / 5.463 GB, free: 21.35 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001346/21.38, allocations: 0.5377 MB / 5.463 GB, free: 21.3 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00574/21.38, allocations: 0.7153 MB / 5.464 GB, free: 21.26 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05811/21.44, allocations: 12.9 MB / 5.476 GB, free: 19.08 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005608/21.44, allocations: 37.38 kB / 5.476 GB, free: 19.06 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00441/21.44, allocations: 313.2 kB / 5.477 GB, free: 18.83 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00145/21.45, allocations: 0.6458 MB / 5.477 GB, free: 18.73 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04317/21.49, allocations: 12.46 MB / 5.49 GB, free: 8.008 MB / 0.6199 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.7391/22.23, allocations: 53.87 MB / 5.542 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02369/22.25, allocations: 7.502 MB / 5.55 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01314/22.27, allocations: 4.305 MB / 5.554 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2214/22.49, allocations: 64.92 MB / 5.617 GB, free: 12.11 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/22.49, allocations: 98.78 kB / 5.617 GB, free: 12.07 MB / 0.6668 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01001/22.5, allocations: 0.8454 MB / 5.618 GB, free: 12.04 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=586): time 4.15e-05/22.5, allocations: 0 / 5.618 GB, free: 12.04 MB / 0.6668 GB Notification: Performance of matching and sorting (n=709): time 0.2662/22.76, allocations: 45.5 MB / 5.662 GB, free: 9.055 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/22.76, allocations: 182.1 kB / 5.663 GB, free: 8.922 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/22.78, allocations: 4.272 MB / 5.667 GB, free: 24.55 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.002789/22.78, allocations: 155.1 kB / 5.667 GB, free: 24.52 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.004558/22.78, allocations: 3.291 MB / 5.67 GB, free: 23.56 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.004767/22.79, allocations: 2.457 MB / 5.673 GB, free: 21.99 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001901/22.79, allocations: 160.8 kB / 5.673 GB, free: 21.99 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0008229/22.79, allocations: 0.6254 MB / 5.673 GB, free: 21.67 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01333/22.81, allocations: 4.314 MB / 5.678 GB, free: 21.65 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01585/22.82, allocations: 6.137 MB / 5.684 GB, free: 19.74 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.58/23.4, allocations: 42.42 MB / 5.725 GB, free: 16.48 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.937e-05/23.4, allocations: 17.86 kB / 5.725 GB, free: 16.46 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.05141/23.45, allocations: 14.92 MB / 5.74 GB, free: 8.227 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.666/24.12, allocations: 23.73 MB / 5.763 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002751/24.12, allocations: 49.5 kB / 5.763 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2588/24.38, allocations: 18.53 MB / 5.781 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007995/24.39, allocations: 1.049 MB / 5.782 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04302/24.43, allocations: 14.99 MB / 5.797 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01617/24.45, allocations: 0.8807 MB / 5.797 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003105/24.45, allocations: 384.5 kB / 5.798 GB, free: 100.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/24.45, allocations: 5.312 kB / 5.798 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05253/24.5, allocations: 13.9 MB / 5.811 GB, free: 99.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002675/24.5, allocations: 50.09 kB / 5.811 GB, free: 99.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2146/24.72, allocations: 17.32 MB / 5.828 GB, free: 99.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00833/24.72, allocations: 1.078 MB / 5.829 GB, free: 99.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05976/24.78, allocations: 14.07 MB / 5.843 GB, free: 98.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02334/24.81, allocations: 0.872 MB / 5.844 GB, free: 98.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004078/24.81, allocations: 377.9 kB / 5.844 GB, free: 98.66 MB / 0.698 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.007494/24.82, allocations: 0.5971 MB / 5.845 GB, free: 98.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005418/24.82, allocations: 0.6721 MB / 5.846 GB, free: 98.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08048/24.91, allocations: 26.53 MB / 5.871 GB, free: 97.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003854/24.91, allocations: 227.9 kB / 5.872 GB, free: 97.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.012e-05/24.91, allocations: 4.297 kB / 5.872 GB, free: 97.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04915/24.96, allocations: 22.97 MB / 5.894 GB, free: 95.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1102/25.07, allocations: 46.53 MB / 5.94 GB, free: 76.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001397/25.07, allocations: 23.09 kB / 5.94 GB, free: 76.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007821/25.07, allocations: 0.9163 MB / 5.94 GB, free: 75.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09518/25.17, allocations: 10.39 MB / 5.951 GB, free: 68.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002377/25.17, allocations: 263.3 kB / 5.951 GB, free: 68.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/25.19, allocations: 14.53 MB / 5.965 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-05/25.19, allocations: 25.53 kB / 5.965 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06803/25.26, allocations: 31.36 MB / 5.996 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008867/25.27, allocations: 2.038 MB / 5.998 GB, free: 23.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00393/25.27, allocations: 215 kB / 5.998 GB, free: 23.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01191/25.29, allocations: 0.5693 MB / 5.998 GB, free: 23.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002454/25.29, allocations: 0.5097 MB / 5.999 GB, free: 22.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001584/25.29, allocations: 272.2 kB / 5.999 GB, free: 22.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.008845/25.3, allocations: 3.216 MB / 6.002 GB, free: 19.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.072e-06/25.3, allocations: 0 / 6.002 GB, free: 19.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.03459/25.33, allocations: 6.536 MB / 6.009 GB, free: 13.8 MB / 0.698 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.7547/26.09, allocations: 40.87 MB / 6.049 GB, free: 89.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.05951/26.15, allocations: 19.46 MB / 6.068 GB, free: 89.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-05/26.15, allocations: 4.531 kB / 6.068 GB, free: 89.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.02192/26.17, allocations: 8.6 MB / 6.076 GB, free: 89.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02889/26.2, allocations: 3.101 MB / 6.079 GB, free: 89.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08458/26.28, allocations: 25.64 MB / 6.104 GB, free: 84.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01233/26.3, allocations: 5.993 MB / 6.11 GB, free: 83.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.02627/26.32, allocations: 5.668 MB / 6.116 GB, free: 83.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009888/26.33, allocations: 4.173 MB / 6.12 GB, free: 83.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.094e-06/26.33, allocations: 2.781 kB / 6.12 GB, free: 83.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.531/27.86, allocations: 376.8 MB / 6.488 GB, free: 3.125 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/27.86, allocations: 262 kB / 6.488 GB, free: 2.793 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.66/49.52, allocations: 4.062 kB / 6.488 GB, free: 2.789 MB / 0.698 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase_res.mat does not exist to compare? outputFormat=mat