Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.879/1.879, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.776e-05, allocations: 0 / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09266, allocations: 44.52 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9477/1.04, allocations: 277.2 MB / 0.5636 GB, free: 84.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.041, allocations: 77.02 kB / 0.5637 GB, free: 84.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.465/10.51, allocations: 1.657 GB / 2.221 GB, free: 22.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.01e-06/10.51, allocations: 3.062 kB / 2.221 GB, free: 22.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001135/10.51, allocations: 191.6 kB / 2.221 GB, free: 22.05 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.04841/10.56, allocations: 10.1 MB / 2.231 GB, free: 16.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/10.56, allocations: 7.594 kB / 2.231 GB, free: 16.81 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004553/10.56, allocations: 0.7722 MB / 2.231 GB, free: 16.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/10.57, allocations: 1.236 MB / 2.233 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03171/10.61, allocations: 6.325 MB / 2.239 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001051/10.61, allocations: 430.6 kB / 2.239 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004006/10.61, allocations: 0.5302 MB / 2.24 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03546/10.65, allocations: 9.313 MB / 2.249 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002822/10.65, allocations: 23.77 kB / 2.249 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00328/10.65, allocations: 247.9 kB / 2.249 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001181/10.65, allocations: 0.5892 MB / 2.25 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02821/10.68, allocations: 7.9 MB / 2.257 GB, free: 1.551 MB / 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.618/11.3, allocations: 34.91 MB / 2.291 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01986/11.32, allocations: 6.022 MB / 2.297 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01018/11.33, allocations: 3.61 MB / 2.301 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008719/11.34, allocations: 4.757 MB / 2.305 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/11.34, allocations: 102.7 kB / 2.306 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.013/11.35, allocations: 1.679 MB / 2.307 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=500): time 3.582e-05/11.35, allocations: 0 / 2.307 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of matching and sorting (n=632): time 0.2637/11.61, allocations: 43.11 MB / 2.349 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/11.61, allocations: 175.2 kB / 2.349 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01183/11.63, allocations: 4.134 MB / 2.353 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002448/11.63, allocations: 146.2 kB / 2.354 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003348/11.63, allocations: 2.633 MB / 2.356 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00442/11.64, allocations: 2.166 MB / 2.358 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002111/11.64, allocations: 145 kB / 2.358 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001198/11.64, allocations: 0.5964 MB / 2.359 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01242/11.65, allocations: 3.807 MB / 2.363 GB, free: 21.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0151/11.67, allocations: 5.492 MB / 2.368 GB, free: 19.56 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/11.68, allocations: 4.775 MB / 2.373 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.738e-05/11.68, allocations: 11.69 kB / 2.373 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04572/11.73, allocations: 11.91 MB / 2.384 GB, free: 18.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.007565/11.74, allocations: 17.68 MB / 2.402 GB, free: 476 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/11.74, allocations: 45.94 kB / 2.402 GB, free: 476 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05386/11.79, allocations: 5.099 MB / 2.407 GB, free: 276 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01246/11.8, allocations: 1.372 MB / 2.408 GB, free: 276 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02556/11.83, allocations: 17.38 MB / 2.425 GB, free: 3.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01441/11.84, allocations: 0.4982 MB / 2.426 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003308/11.85, allocations: 427.1 kB / 2.426 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/11.85, allocations: 4.062 kB / 2.426 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04917/11.9, allocations: 11.76 MB / 2.437 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/11.9, allocations: 46.09 kB / 2.437 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01719/11.91, allocations: 2.951 MB / 2.44 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01244/11.93, allocations: 1.394 MB / 2.442 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03703/11.96, allocations: 21.72 MB / 2.463 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01115/11.97, allocations: 0.4927 MB / 2.463 GB, free: 14.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003576/11.98, allocations: 405.6 kB / 2.464 GB, free: 14.61 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.006065/11.98, allocations: 0.5124 MB / 2.464 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004438/11.99, allocations: 0.641 MB / 2.465 GB, free: 13.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05681/12.04, allocations: 13.28 MB / 2.478 GB, free: 9.398 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000147/12.04, allocations: 65.41 kB / 2.478 GB, free: 9.355 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-05/12.04, allocations: 0 / 2.478 GB, free: 9.355 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03607/12.08, allocations: 9.448 MB / 2.487 GB, free: 1.102 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.622/12.7, allocations: 24.64 MB / 2.511 GB, free: 87.96 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001326/12.7, allocations: 20.45 kB / 2.511 GB, free: 87.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008454/12.71, allocations: 0.867 MB / 2.512 GB, free: 87.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04722/12.76, allocations: 5.389 MB / 2.517 GB, free: 87.76 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002208/12.76, allocations: 226.2 kB / 2.518 GB, free: 87.76 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02008/12.78, allocations: 17.38 MB / 2.535 GB, free: 75.87 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.406e-05/12.78, allocations: 23.56 kB / 2.535 GB, free: 75.87 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0533/12.83, allocations: 18.88 MB / 2.553 GB, free: 71.47 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008619/12.84, allocations: 1.724 MB / 2.555 GB, free: 71.36 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004007/12.85, allocations: 166.6 kB / 2.555 GB, free: 71.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01096/12.86, allocations: 331.3 kB / 2.555 GB, free: 71.35 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002968/12.86, allocations: 460.9 kB / 2.556 GB, free: 71.33 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003082/12.86, allocations: 323.3 kB / 2.556 GB, free: 71.33 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009653/12.87, allocations: 3.083 MB / 2.559 GB, free: 71.12 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.893e-06/12.87, allocations: 3.438 kB / 2.559 GB, free: 71.12 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03445/12.91, allocations: 5.864 MB / 2.565 GB, free: 71.12 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.073/12.98, allocations: 26.19 MB / 2.59 GB, free: 62.87 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05238/13.03, allocations: 15.3 MB / 2.605 GB, free: 62.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.234e-05/13.03, allocations: 8.938 kB / 2.605 GB, free: 62.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01755/13.05, allocations: 4.784 MB / 2.61 GB, free: 61.27 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02404/13.08, allocations: 2.579 MB / 2.612 GB, free: 60.73 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06522/13.14, allocations: 17.66 MB / 2.63 GB, free: 55.02 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01076/13.15, allocations: 4.434 MB / 2.634 GB, free: 53.79 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0121/13.16, allocations: 3.245 MB / 2.637 GB, free: 51.38 MB / 0.573 GB Notification: Performance of SimCode: time 3.036e-06/13.16, allocations: 0 / 2.637 GB, free: 51.38 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.29/24.46, allocations: 0.7661 GB / 3.403 GB, free: 99.8 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat