Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.705/1.705, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.339e-05, allocations: 0 / 225.1 MB, free: 2.219 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.291, allocations: 38.77 MB / 263.8 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8743/1.165, allocations: 272 MB / 0.5232 GB, free: 77.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/1.166, allocations: 73.44 kB / 0.5233 GB, free: 77.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.859/11.03, allocations: 1.632 GB / 2.156 GB, free: 20.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.444e-06/11.03, allocations: 0 / 2.156 GB, free: 20.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001157/11.03, allocations: 193.4 kB / 2.156 GB, free: 20.05 MB / 458.7 MB 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.0492/11.08, allocations: 10.1 MB / 2.166 GB, free: 13.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/11.08, allocations: 12.03 kB / 2.166 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004661/11.08, allocations: 0.7677 MB / 2.166 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/11.1, allocations: 1.24 MB / 2.168 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03/11.13, allocations: 6.331 MB / 2.174 GB, free: 7.629 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008234/11.13, allocations: 426.3 kB / 2.174 GB, free: 7.211 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003659/11.13, allocations: 0.531 MB / 2.175 GB, free: 6.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0379/11.17, allocations: 9.309 MB / 2.184 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002435/11.17, allocations: 23.8 kB / 2.184 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003321/11.17, allocations: 247.9 kB / 2.184 GB, free: 12.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001504/11.17, allocations: 0.5917 MB / 2.185 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03234/11.21, allocations: 7.899 MB / 2.192 GB, free: 4.098 MB / 474.7 MB 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.5759/11.78, allocations: 34.92 MB / 2.227 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01908/11.8, allocations: 6.019 MB / 2.232 GB, free: 12.63 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0102/11.81, allocations: 3.618 MB / 2.236 GB, free: 12.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009698/11.82, allocations: 4.758 MB / 2.241 GB, free: 23.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/11.82, allocations: 94.7 kB / 2.241 GB, free: 23.59 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01309/11.83, allocations: 1.676 MB / 2.242 GB, free: 23.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=500): time 4.639e-05/11.83, allocations: 0 / 2.242 GB, free: 23.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=632): time 0.2573/12.09, allocations: 43.11 MB / 2.284 GB, free: 21.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/12.09, allocations: 168.2 kB / 2.285 GB, free: 21.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/12.1, allocations: 4.136 MB / 2.289 GB, free: 20.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002456/12.11, allocations: 142.6 kB / 2.289 GB, free: 20.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003787/12.11, allocations: 2.973 MB / 2.292 GB, free: 20.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004387/12.11, allocations: 2.173 MB / 2.294 GB, free: 18.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/12.12, allocations: 141.1 kB / 2.294 GB, free: 18.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006464/12.12, allocations: 0.5919 MB / 2.294 GB, free: 18.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0118/12.13, allocations: 3.811 MB / 2.298 GB, free: 18.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01425/12.14, allocations: 5.486 MB / 2.304 GB, free: 16.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/12.16, allocations: 4.771 MB / 2.308 GB, free: 15.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.74e-05/12.16, allocations: 12.44 kB / 2.308 GB, free: 15.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04164/12.2, allocations: 12.26 MB / 2.32 GB, free: 11.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.009486/12.21, allocations: 21.31 MB / 2.341 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002118/12.21, allocations: 50.77 kB / 2.341 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05215/12.26, allocations: 5.102 MB / 2.346 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01209/12.27, allocations: 1.37 MB / 2.347 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/12.3, allocations: 17.36 MB / 2.364 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01484/12.31, allocations: 0.5056 MB / 2.365 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003193/12.31, allocations: 429.2 kB / 2.365 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/12.31, allocations: 2.812 kB / 2.365 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04442/12.36, allocations: 11.76 MB / 2.377 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/12.36, allocations: 44 kB / 2.377 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5108/12.87, allocations: 3.286 MB / 2.38 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01239/12.88, allocations: 1.39 MB / 2.381 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03243/12.91, allocations: 21.78 MB / 2.403 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01287/12.93, allocations: 0.4888 MB / 2.403 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003072/12.93, allocations: 412.8 kB / 2.403 GB, free: 61.55 MB / 0.5105 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.003867/12.93, allocations: 0.5086 MB / 2.404 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002957/12.94, allocations: 0.6435 MB / 2.405 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05136/12.99, allocations: 13.28 MB / 2.418 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/12.99, allocations: 68.61 kB / 2.418 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.885e-05/12.99, allocations: 0 / 2.418 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02976/13.02, allocations: 9.453 MB / 2.427 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07967/13.1, allocations: 24.56 MB / 2.451 GB, free: 57.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001149/13.1, allocations: 17.03 kB / 2.451 GB, free: 57.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008383/13.11, allocations: 0.8627 MB / 2.452 GB, free: 57.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04678/13.15, allocations: 5.392 MB / 2.457 GB, free: 57.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002177/13.16, allocations: 223.3 kB / 2.457 GB, free: 57.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01976/13.18, allocations: 17.38 MB / 2.474 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.69e-05/13.18, allocations: 24.19 kB / 2.474 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05019/13.23, allocations: 18.89 MB / 2.493 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008305/13.24, allocations: 1.72 MB / 2.494 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003521/13.24, allocations: 163.7 kB / 2.494 GB, free: 36.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0106/13.25, allocations: 332.2 kB / 2.495 GB, free: 36.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002436/13.25, allocations: 465.9 kB / 2.495 GB, free: 36.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001553/13.25, allocations: 318.8 kB / 2.496 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008665/13.26, allocations: 3.08 MB / 2.499 GB, free: 35.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.373e-06/13.26, allocations: 0 / 2.499 GB, free: 35.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03393/13.3, allocations: 5.868 MB / 2.504 GB, free: 34.9 MB / 0.5105 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.06732/13.36, allocations: 26.2 MB / 2.53 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04904/13.41, allocations: 15.47 MB / 2.545 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-05/13.41, allocations: 5.688 kB / 2.545 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01563/13.43, allocations: 4.804 MB / 2.55 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02249/13.45, allocations: 2.576 MB / 2.552 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5566/14.01, allocations: 17.79 MB / 2.57 GB, free: 83.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009358/14.02, allocations: 4.517 MB / 2.574 GB, free: 82.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.03403/14.05, allocations: 5.494 MB / 2.579 GB, free: 82.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009689/14.06, allocations: 3.095 MB / 2.582 GB, free: 82.32 MB / 0.5261 GB Notification: Performance of SimCode: time 2.094e-06/14.06, allocations: 2.844 kB / 2.582 GB, free: 82.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.08/15.14, allocations: 255.7 MB / 2.832 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/15.14, allocations: 225.9 kB / 2.832 GB, free: 79.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/30.63, allocations: 6.906 kB / 2.832 GB, free: 79.39 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat