Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.08/2.08, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.145e-05, allocations: 4 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 50.41 MB / 343.1 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.181, allocations: 276.5 MB / 0.6052 GB, free: 81.12 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/1.182, allocations: 75.66 kB / 0.6052 GB, free: 81.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.079/10.26, allocations: 1.52 GB / 2.125 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.935e-06/10.26, allocations: 0 / 2.125 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.00121/10.26, allocations: 191.8 kB / 2.126 GB, free: 9.781 MB / 0.5105 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.04123/10.3, allocations: 8.045 MB / 2.133 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/10.3, allocations: 8.031 kB / 2.133 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004688/10.31, allocations: 0.7697 MB / 2.134 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01582/10.32, allocations: 1.271 MB / 2.135 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03106/10.36, allocations: 6.286 MB / 2.142 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001002/10.36, allocations: 430.3 kB / 2.142 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003867/10.36, allocations: 0.5388 MB / 2.143 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5631/10.92, allocations: 9.24 MB / 2.152 GB, free: 23.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003721/10.92, allocations: 20.56 kB / 2.152 GB, free: 23.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003872/10.93, allocations: 250.6 kB / 2.152 GB, free: 23.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001832/10.93, allocations: 0.5903 MB / 2.152 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03368/10.96, allocations: 7.796 MB / 2.16 GB, free: 23.8 MB / 0.5261 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.1005/11.06, allocations: 34.98 MB / 2.194 GB, free: 25.12 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01955/11.08, allocations: 5.949 MB / 2.2 GB, free: 25.06 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01066/11.09, allocations: 3.618 MB / 2.204 GB, free: 25.04 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/11.1, allocations: 5.166 MB / 2.209 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/11.1, allocations: 99.97 kB / 2.209 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01367/11.12, allocations: 1.692 MB / 2.21 GB, free: 19.31 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 4.204e-05/11.12, allocations: 1.094 kB / 2.21 GB, free: 19.31 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.261/11.38, allocations: 43.06 MB / 2.252 GB, free: 17.24 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/11.38, allocations: 170.7 kB / 2.253 GB, free: 17.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01199/11.39, allocations: 4.198 MB / 2.257 GB, free: 16.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002625/11.39, allocations: 147.2 kB / 2.257 GB, free: 16.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00402/11.4, allocations: 2.97 MB / 2.26 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004415/11.4, allocations: 2.166 MB / 2.262 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/11.4, allocations: 144.5 kB / 2.262 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00069/11.41, allocations: 0.5887 MB / 2.262 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01151/11.42, allocations: 3.807 MB / 2.266 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01451/11.43, allocations: 5.384 MB / 2.271 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01417/11.45, allocations: 4.756 MB / 2.276 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-05/11.45, allocations: 11.94 kB / 2.276 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.04407/11.49, allocations: 12.09 MB / 2.288 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.009378/11.5, allocations: 20.34 MB / 2.308 GB, free: 0.6211 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/11.5, allocations: 48.2 kB / 2.308 GB, free: 0.6211 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05428/11.55, allocations: 5.138 MB / 2.313 GB, free: 15.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01223/11.57, allocations: 1.358 MB / 2.314 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02335/11.59, allocations: 17.37 MB / 2.331 GB, free: 1.676 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01479/11.6, allocations: 0.504 MB / 2.332 GB, free: 1.543 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003228/11.61, allocations: 411.6 kB / 2.332 GB, free: 1.484 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/11.61, allocations: 4.094 kB / 2.332 GB, free: 1.484 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04786/11.66, allocations: 11.61 MB / 2.343 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/11.66, allocations: 41.84 kB / 2.343 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01868/11.67, allocations: 3.259 MB / 2.347 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01248/11.69, allocations: 1.37 MB / 2.348 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5835/12.27, allocations: 21.78 MB / 2.369 GB, free: 81.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01455/12.28, allocations: 0.4939 MB / 2.37 GB, free: 81.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004128/12.29, allocations: 404.8 kB / 2.37 GB, free: 81.46 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 728 * 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.006476/12.3, allocations: 0.5173 MB / 2.371 GB, free: 81.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004685/12.3, allocations: 0.6438 MB / 2.371 GB, free: 81.36 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06582/12.37, allocations: 18.27 MB / 2.389 GB, free: 80.86 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001353/12.37, allocations: 67.34 kB / 2.389 GB, free: 80.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.824e-05/12.37, allocations: 0 / 2.389 GB, free: 80.86 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03228/12.4, allocations: 9.447 MB / 2.398 GB, free: 80.23 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0811/12.48, allocations: 24.4 MB / 2.422 GB, free: 77.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001132/12.48, allocations: 21.33 kB / 2.422 GB, free: 77.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008353/12.49, allocations: 0.868 MB / 2.423 GB, free: 77.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04646/12.54, allocations: 5.415 MB / 2.428 GB, free: 77.64 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002184/12.54, allocations: 224.4 kB / 2.429 GB, free: 77.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/12.56, allocations: 17.37 MB / 2.445 GB, free: 65.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.652e-05/12.56, allocations: 23.66 kB / 2.445 GB, free: 65.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04794/12.6, allocations: 18.91 MB / 2.464 GB, free: 61.26 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007719/12.61, allocations: 1.65 MB / 2.466 GB, free: 60.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003731/12.62, allocations: 170.2 kB / 2.466 GB, free: 60.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01168/12.63, allocations: 331.3 kB / 2.466 GB, free: 60.81 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002527/12.63, allocations: 459.7 kB / 2.466 GB, free: 60.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001841/12.63, allocations: 319.3 kB / 2.467 GB, free: 60.79 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.009159/12.64, allocations: 3.143 MB / 2.47 GB, free: 60.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.082e-06/12.64, allocations: 6.625 kB / 2.47 GB, free: 60.59 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.03183/12.67, allocations: 5.102 MB / 2.475 GB, free: 60.59 MB / 0.5886 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.06689/12.74, allocations: 25.17 MB / 2.499 GB, free: 49.03 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.05149/12.79, allocations: 15.19 MB / 2.514 GB, free: 44.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.084e-05/12.79, allocations: 6.75 kB / 2.514 GB, free: 44.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01764/12.81, allocations: 4.745 MB / 2.519 GB, free: 42.78 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02544/12.84, allocations: 2.639 MB / 2.521 GB, free: 42.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05975/12.9, allocations: 17.09 MB / 2.538 GB, free: 34.21 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01059/12.91, allocations: 4.509 MB / 2.543 GB, free: 30.99 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.03952/12.95, allocations: 9.749 MB / 2.552 GB, free: 25.54 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008739/12.95, allocations: 3.091 MB / 2.555 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of SimCode: time 3.606e-06/12.95, allocations: 0.75 kB / 2.555 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.642/14.6, allocations: 245.4 MB / 2.795 GB, free: 76.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/14.6, allocations: 227.9 kB / 2.795 GB, free: 75.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.77/31.36, allocations: 0 / 2.795 GB, free: 75.9 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat