Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.263e-05, allocations: 0 / 255.4 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09738, allocations: 44.52 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.15, allocations: 277.2 MB / 0.5636 GB, free: 84.67 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/1.15, allocations: 74.28 kB / 0.5637 GB, free: 84.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.01/11.16, allocations: 1.657 GB / 2.221 GB, free: 22.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.785e-06/11.16, allocations: 3.75 kB / 2.221 GB, free: 22.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001224/11.16, allocations: 190.6 kB / 2.221 GB, free: 22.18 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.05429/11.21, allocations: 10.1 MB / 2.231 GB, free: 16.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/11.21, allocations: 7.656 kB / 2.231 GB, free: 16.96 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005553/11.22, allocations: 0.7713 MB / 2.231 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/11.23, allocations: 1.234 MB / 2.233 GB, free: 16.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03197/11.26, allocations: 6.321 MB / 2.239 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009784/11.27, allocations: 432.9 kB / 2.239 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004179/11.27, allocations: 0.5359 MB / 2.24 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0395/11.31, allocations: 9.312 MB / 2.249 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003834/11.31, allocations: 23.77 kB / 2.249 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003921/11.31, allocations: 247.9 kB / 2.249 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001434/11.31, allocations: 0.5905 MB / 2.25 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0311/11.35, allocations: 7.901 MB / 2.257 GB, free: 496 kB / 0.4948 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.6649/12.01, allocations: 34.91 MB / 2.291 GB, free: 31.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/12.03, allocations: 6.028 MB / 2.297 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01104/12.04, allocations: 3.613 MB / 2.301 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009247/12.05, allocations: 4.765 MB / 2.306 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/12.05, allocations: 93.39 kB / 2.306 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01396/12.07, allocations: 1.673 MB / 2.307 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=500): time 4.889e-05/12.07, allocations: 2.438 kB / 2.307 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=632): time 0.27/12.34, allocations: 43.1 MB / 2.349 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/12.34, allocations: 171.5 kB / 2.349 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01398/12.35, allocations: 4.136 MB / 2.354 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002758/12.35, allocations: 142.9 kB / 2.354 GB, free: 23.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004658/12.36, allocations: 2.976 MB / 2.357 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005009/12.36, allocations: 2.165 MB / 2.359 GB, free: 22.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002753/12.37, allocations: 140.8 kB / 2.359 GB, free: 22.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001005/12.37, allocations: 0.6 MB / 2.359 GB, free: 21.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01316/12.38, allocations: 3.804 MB / 2.363 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01547/12.4, allocations: 5.496 MB / 2.368 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01501/12.41, allocations: 4.773 MB / 2.373 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.231e-05/12.41, allocations: 12.12 kB / 2.373 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04939/12.46, allocations: 12.25 MB / 2.385 GB, free: 19.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.009314/12.47, allocations: 21.32 MB / 2.406 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002759/12.47, allocations: 46.75 kB / 2.406 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05298/12.52, allocations: 5.094 MB / 2.411 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01226/12.54, allocations: 1.363 MB / 2.412 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02431/12.56, allocations: 17.38 MB / 2.429 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0147/12.58, allocations: 0.5034 MB / 2.43 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003528/12.58, allocations: 423.4 kB / 2.43 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/12.58, allocations: 3.375 kB / 2.43 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04932/12.63, allocations: 11.76 MB / 2.442 GB, free: 11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001726/12.63, allocations: 47.03 kB / 2.442 GB, free: 11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01902/12.65, allocations: 3.253 MB / 2.445 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01234/12.66, allocations: 1.391 MB / 2.446 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03711/12.7, allocations: 21.8 MB / 2.468 GB, free: 9.934 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01365/12.71, allocations: 0.4919 MB / 2.468 GB, free: 9.805 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003242/12.71, allocations: 411.2 kB / 2.468 GB, free: 9.746 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 734 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.005976/12.72, allocations: 0.5105 MB / 2.469 GB, free: 9.379 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004351/12.73, allocations: 0.6418 MB / 2.47 GB, free: 9.043 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05723/12.78, allocations: 13.27 MB / 2.482 GB, free: 3.453 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001228/12.78, allocations: 64 kB / 2.483 GB, free: 3.391 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.813e-05/12.78, allocations: 3.844 kB / 2.483 GB, free: 3.391 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5914/13.37, allocations: 9.508 MB / 2.492 GB, free: 90.04 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09238/13.47, allocations: 24.56 MB / 2.516 GB, free: 87.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001556/13.47, allocations: 16.25 kB / 2.516 GB, free: 87.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008533/13.48, allocations: 0.8713 MB / 2.517 GB, free: 87.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04734/13.52, allocations: 5.384 MB / 2.522 GB, free: 87.48 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002538/13.53, allocations: 226.3 kB / 2.522 GB, free: 87.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/13.55, allocations: 17.38 MB / 2.539 GB, free: 75.59 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.71e-05/13.55, allocations: 26.7 kB / 2.539 GB, free: 75.59 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0571/13.6, allocations: 18.88 MB / 2.558 GB, free: 71.19 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00876/13.61, allocations: 1.72 MB / 2.559 GB, free: 71.05 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004363/13.62, allocations: 167.3 kB / 2.559 GB, free: 71.05 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01144/13.63, allocations: 333 kB / 2.56 GB, free: 71.04 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002808/13.63, allocations: 458.4 kB / 2.56 GB, free: 71.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002648/13.63, allocations: 325.4 kB / 2.56 GB, free: 71.02 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009711/13.64, allocations: 3.085 MB / 2.563 GB, free: 70.82 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.214e-06/13.64, allocations: 1.781 kB / 2.563 GB, free: 70.82 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03542/13.68, allocations: 5.875 MB / 2.569 GB, free: 70.82 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,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].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (500): * Single equations (assignments): 477 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,12 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.07647/13.76, allocations: 26.19 MB / 2.595 GB, free: 62.57 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05342/13.81, allocations: 15.48 MB / 2.61 GB, free: 59.29 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-05/13.81, allocations: 15.16 kB / 2.61 GB, free: 59.28 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01802/13.83, allocations: 4.791 MB / 2.615 GB, free: 57.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02512/13.85, allocations: 2.579 MB / 2.617 GB, free: 57.31 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06836/13.92, allocations: 17.58 MB / 2.634 GB, free: 51.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01096/13.93, allocations: 4.52 MB / 2.639 GB, free: 50.45 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03477/13.97, allocations: 5.501 MB / 2.644 GB, free: 50.08 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01051/13.98, allocations: 3.091 MB / 2.647 GB, free: 47.68 MB / 0.573 GB Notification: Performance of SimCode: time 2.124e-06/13.98, allocations: 0 / 2.647 GB, free: 47.68 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.667/15.64, allocations: 255.7 MB / 2.897 GB, free: 75.59 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/15.64, allocations: 226.5 kB / 2.897 GB, free: 75.36 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.21/32.85, allocations: 2.625 kB / 2.897 GB, free: 75.36 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat