Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.663/1.663, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.257e-05, allocations: 7.438 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2795, allocations: 38.77 MB / 263.8 MB, free: 9.754 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.853/1.133, allocations: 272 MB / 0.5232 GB, free: 77.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.133, allocations: 75.66 kB / 0.5233 GB, free: 77.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.49/10.62, allocations: 1.632 GB / 2.156 GB, free: 19.85 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.064e-06/10.62, allocations: 0 / 2.156 GB, free: 19.85 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009713/10.62, allocations: 191.6 kB / 2.156 GB, free: 19.8 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.04775/10.67, allocations: 10.1 MB / 2.166 GB, free: 13.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/10.67, allocations: 8.031 kB / 2.166 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004848/10.68, allocations: 0.7719 MB / 2.166 GB, free: 13.01 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/10.69, allocations: 1.233 MB / 2.168 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03093/10.72, allocations: 6.33 MB / 2.174 GB, free: 6.805 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008998/10.72, allocations: 426.3 kB / 2.174 GB, free: 6.387 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003719/10.73, allocations: 0.5386 MB / 2.175 GB, free: 5.852 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0374/10.76, allocations: 9.252 MB / 2.184 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003498/10.77, allocations: 23.81 kB / 2.184 GB, free: 12.08 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003945/10.77, allocations: 247.9 kB / 2.184 GB, free: 11.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001663/10.77, allocations: 0.5914 MB / 2.185 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03465/10.81, allocations: 7.793 MB / 2.192 GB, free: 3.449 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.5494/11.36, allocations: 34.91 MB / 2.226 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01824/11.37, allocations: 5.964 MB / 2.232 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009746/11.38, allocations: 3.614 MB / 2.236 GB, free: 12.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009302/11.39, allocations: 4.762 MB / 2.24 GB, free: 23.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/11.39, allocations: 97.77 kB / 2.24 GB, free: 23.55 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01272/11.41, allocations: 1.671 MB / 2.242 GB, free: 23.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=500): time 3.34e-05/11.41, allocations: 0 / 2.242 GB, free: 23.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=632): time 0.2556/11.66, allocations: 43.11 MB / 2.284 GB, free: 21.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/11.66, allocations: 168.8 kB / 2.284 GB, free: 21.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/11.67, allocations: 4.131 MB / 2.288 GB, free: 20.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002343/11.67, allocations: 145.7 kB / 2.289 GB, free: 20.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003068/11.68, allocations: 2.636 MB / 2.291 GB, free: 19.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004011/11.68, allocations: 2.165 MB / 2.293 GB, free: 18.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/11.68, allocations: 143.4 kB / 2.293 GB, free: 18.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006283/11.68, allocations: 0.6013 MB / 2.294 GB, free: 18.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01097/11.69, allocations: 3.81 MB / 2.298 GB, free: 18.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01376/11.71, allocations: 5.444 MB / 2.303 GB, free: 16.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01389/11.72, allocations: 4.776 MB / 2.308 GB, free: 15.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.111e-05/11.72, allocations: 17.16 kB / 2.308 GB, free: 15.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03969/11.76, allocations: 11.77 MB / 2.319 GB, free: 11.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00882/11.77, allocations: 17.69 MB / 2.336 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/11.77, allocations: 45 kB / 2.336 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05185/11.82, allocations: 5.087 MB / 2.341 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01177/11.83, allocations: 1.371 MB / 2.343 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/11.86, allocations: 17.36 MB / 2.36 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01392/11.87, allocations: 0.5006 MB / 2.36 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003096/11.88, allocations: 420.8 kB / 2.361 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/11.88, allocations: 5.781 kB / 2.361 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04543/11.92, allocations: 11.64 MB / 2.372 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001642/11.92, allocations: 47.8 kB / 2.372 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01741/11.94, allocations: 2.959 MB / 2.375 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/11.95, allocations: 1.393 MB / 2.376 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5006/12.45, allocations: 21.74 MB / 2.398 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/12.46, allocations: 0.4905 MB / 2.398 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002908/12.47, allocations: 415.5 kB / 2.398 GB, free: 60.13 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.004044/12.47, allocations: 0.5134 MB / 2.399 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003148/12.47, allocations: 0.6416 MB / 2.4 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05186/12.53, allocations: 13.27 MB / 2.412 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001154/12.53, allocations: 70.77 kB / 2.413 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/12.53, allocations: 1.094 kB / 2.413 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03056/12.56, allocations: 9.445 MB / 2.422 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07679/12.63, allocations: 24.52 MB / 2.446 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001187/12.63, allocations: 19.69 kB / 2.446 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008337/12.64, allocations: 0.862 MB / 2.447 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04723/12.69, allocations: 5.39 MB / 2.452 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002111/12.69, allocations: 227.4 kB / 2.452 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01945/12.71, allocations: 17.37 MB / 2.469 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.05e-05/12.71, allocations: 22.03 kB / 2.469 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04998/12.76, allocations: 18.88 MB / 2.487 GB, free: 37.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008217/12.77, allocations: 1.715 MB / 2.489 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003864/12.77, allocations: 164 kB / 2.489 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0113/12.78, allocations: 339.4 kB / 2.49 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00269/12.79, allocations: 465.1 kB / 2.49 GB, free: 36.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002281/12.79, allocations: 319.6 kB / 2.49 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008295/12.8, allocations: 3.092 MB / 2.493 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.22e-07/12.8, allocations: 0 / 2.493 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03206/12.83, allocations: 5.86 MB / 2.499 GB, free: 34.74 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.06557/12.9, allocations: 26.21 MB / 2.525 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04793/12.94, allocations: 15.05 MB / 2.539 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-05/12.94, allocations: 9.688 kB / 2.539 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01563/12.96, allocations: 4.754 MB / 2.544 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02252/12.98, allocations: 2.573 MB / 2.547 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06466/13.05, allocations: 17.92 MB / 2.564 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4725/13.52, allocations: 4.446 MB / 2.568 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01032/13.53, allocations: 3.245 MB / 2.572 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.024e-06/13.53, allocations: 1.219 kB / 2.572 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.55/24.08, allocations: 0.7648 GB / 3.336 GB, free: 96.66 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat