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.664/1.664, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.865e-05, allocations: 0 / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2563, allocations: 38.77 MB / 263.8 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8879/1.144, allocations: 272 MB / 0.5232 GB, free: 77.17 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/1.145, allocations: 74.17 kB / 0.5233 GB, free: 77.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.249/10.39, allocations: 1.632 GB / 2.156 GB, free: 19.89 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.887e-06/10.39, allocations: 0 / 2.156 GB, free: 19.89 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001048/10.39, allocations: 190.2 kB / 2.156 GB, free: 19.84 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.04715/10.44, allocations: 10.1 MB / 2.166 GB, free: 13.29 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/10.44, allocations: 8.031 kB / 2.166 GB, free: 13.28 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004466/10.45, allocations: 0.7712 MB / 2.166 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/10.46, allocations: 1.234 MB / 2.168 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02974/10.49, allocations: 6.331 MB / 2.174 GB, free: 6.793 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008477/10.49, allocations: 430.3 kB / 2.174 GB, free: 6.371 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003654/10.5, allocations: 0.5349 MB / 2.175 GB, free: 5.836 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03671/10.53, allocations: 9.309 MB / 2.184 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000278/10.53, allocations: 15.81 kB / 2.184 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003401/10.54, allocations: 247.9 kB / 2.184 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001446/10.54, allocations: 0.5917 MB / 2.185 GB, free: 11.17 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03206/10.57, allocations: 7.899 MB / 2.192 GB, free: 3.262 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.5507/11.12, allocations: 34.93 MB / 2.227 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01926/11.14, allocations: 6.016 MB / 2.232 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01022/11.15, allocations: 3.615 MB / 2.236 GB, free: 12.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009464/11.16, allocations: 4.755 MB / 2.241 GB, free: 23.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/11.16, allocations: 98.92 kB / 2.241 GB, free: 23.41 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01267/11.17, allocations: 1.676 MB / 2.242 GB, free: 23.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=500): time 3.191e-05/11.17, allocations: 2.25 kB / 2.242 GB, free: 23.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=632): time 0.2528/11.42, allocations: 43.11 MB / 2.284 GB, free: 21.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001884/11.43, allocations: 171.9 kB / 2.285 GB, free: 21.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/11.44, allocations: 4.133 MB / 2.289 GB, free: 20.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002307/11.44, allocations: 143.8 kB / 2.289 GB, free: 20.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002978/11.44, allocations: 2.633 MB / 2.291 GB, free: 19.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003979/11.45, allocations: 2.168 MB / 2.293 GB, free: 18.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/11.45, allocations: 150.3 kB / 2.294 GB, free: 18.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006234/11.45, allocations: 0.5986 MB / 2.294 GB, free: 18.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01069/11.46, allocations: 3.807 MB / 2.298 GB, free: 18.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01287/11.47, allocations: 5.487 MB / 2.303 GB, free: 16.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/11.48, allocations: 4.774 MB / 2.308 GB, free: 15.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.867e-05/11.48, allocations: 17.59 kB / 2.308 GB, free: 15.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04367/11.53, allocations: 11.9 MB / 2.32 GB, free: 11.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.008483/11.54, allocations: 17.68 MB / 2.337 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002049/11.54, allocations: 45.56 kB / 2.337 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05225/11.59, allocations: 5.1 MB / 2.342 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01163/11.6, allocations: 1.363 MB / 2.343 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/11.62, allocations: 17.38 MB / 2.36 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01429/11.64, allocations: 0.5076 MB / 2.361 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003167/11.64, allocations: 425.7 kB / 2.361 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/11.64, allocations: 3.406 kB / 2.361 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04436/11.69, allocations: 11.75 MB / 2.373 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/11.69, allocations: 47.94 kB / 2.373 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02439/11.71, allocations: 2.959 MB / 2.375 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01357/11.72, allocations: 1.388 MB / 2.377 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4973/12.22, allocations: 21.88 MB / 2.398 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/12.23, allocations: 0.4892 MB / 2.399 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002618/12.24, allocations: 414.6 kB / 2.399 GB, free: 60.54 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.003446/12.24, allocations: 0.5121 MB / 2.4 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002647/12.24, allocations: 0.6407 MB / 2.4 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0481/12.29, allocations: 13.27 MB / 2.413 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/12.29, allocations: 69.58 kB / 2.413 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/12.29, allocations: 0 / 2.413 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03045/12.32, allocations: 9.444 MB / 2.422 GB, free: 59.25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0788/12.4, allocations: 24.56 MB / 2.446 GB, free: 56.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001075/12.4, allocations: 13.19 kB / 2.446 GB, free: 56.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008173/12.41, allocations: 0.8676 MB / 2.447 GB, free: 56.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04606/12.45, allocations: 5.396 MB / 2.453 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002417/12.46, allocations: 226.4 kB / 2.453 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/12.48, allocations: 17.39 MB / 2.47 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.213e-05/12.48, allocations: 25.62 kB / 2.47 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04977/12.53, allocations: 18.88 MB / 2.488 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007811/12.53, allocations: 1.718 MB / 2.49 GB, free: 36.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003494/12.54, allocations: 162.9 kB / 2.49 GB, free: 36.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01066/12.55, allocations: 335.6 kB / 2.49 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002345/12.55, allocations: 465 kB / 2.491 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001483/12.55, allocations: 323.4 kB / 2.491 GB, free: 36.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008273/12.56, allocations: 3.082 MB / 2.494 GB, free: 35.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.182e-06/12.56, allocations: 0 / 2.494 GB, free: 35.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03281/12.59, allocations: 5.863 MB / 2.5 GB, free: 34.95 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.06454/12.66, allocations: 26.2 MB / 2.525 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04605/12.7, allocations: 15.29 MB / 2.54 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.851e-05/12.7, allocations: 5.688 kB / 2.54 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01671/12.72, allocations: 4.801 MB / 2.545 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02281/12.74, allocations: 2.575 MB / 2.548 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0705/12.81, allocations: 18.25 MB / 2.565 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4725/13.29, allocations: 4.453 MB / 2.57 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01015/13.3, allocations: 3.244 MB / 2.573 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.633e-06/13.3, allocations: 1.719 kB / 2.573 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.27/23.56, allocations: 0.7652 GB / 3.338 GB, free: 96.98 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