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.919/1.919, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.975e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09112/0.09118, allocations: 44.51 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.123, allocations: 277.2 MB / 0.5636 GB, free: 84.44 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/1.123, allocations: 73.67 kB / 0.5637 GB, free: 84.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.763/10.89, allocations: 1.657 GB / 2.221 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.244e-06/10.89, allocations: 0 / 2.221 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009976/10.89, allocations: 196.3 kB / 2.221 GB, free: 21.41 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.04823/10.93, allocations: 10.1 MB / 2.231 GB, free: 16.17 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/10.94, allocations: 10.38 kB / 2.231 GB, free: 16.17 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004622/10.94, allocations: 0.7691 MB / 2.231 GB, free: 16.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/10.95, allocations: 1.241 MB / 2.233 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02975/10.98, allocations: 6.329 MB / 2.239 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009142/10.98, allocations: 419.3 kB / 2.239 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003863/10.99, allocations: 0.5408 MB / 2.24 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03547/11.02, allocations: 9.252 MB / 2.249 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002338/11.02, allocations: 23.77 kB / 2.249 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003196/11.03, allocations: 251.3 kB / 2.249 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001191/11.03, allocations: 0.5878 MB / 2.25 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02819/11.06, allocations: 7.794 MB / 2.257 GB, free: 15.74 MB / 0.5105 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.5857/11.64, allocations: 34.91 MB / 2.291 GB, free: 30.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01931/11.66, allocations: 5.966 MB / 2.297 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01013/11.67, allocations: 3.613 MB / 2.301 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009001/11.68, allocations: 4.757 MB / 2.305 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/11.68, allocations: 99.44 kB / 2.305 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01291/11.69, allocations: 1.675 MB / 2.307 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=500): time 3.33e-05/11.69, allocations: 0 / 2.307 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=632): time 0.2578/11.95, allocations: 43.1 MB / 2.349 GB, free: 23.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/11.95, allocations: 169.8 kB / 2.349 GB, free: 23.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01112/11.96, allocations: 4.139 MB / 2.353 GB, free: 23.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002381/11.97, allocations: 141.2 kB / 2.353 GB, free: 23.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003241/11.97, allocations: 2.638 MB / 2.356 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004144/11.97, allocations: 2.163 MB / 2.358 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/11.97, allocations: 148.4 kB / 2.358 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006325/11.98, allocations: 0.5978 MB / 2.359 GB, free: 21.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01207/11.99, allocations: 3.805 MB / 2.363 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01348/12, allocations: 5.448 MB / 2.368 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/12.01, allocations: 4.776 MB / 2.373 GB, free: 19.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.29e-05/12.01, allocations: 14.16 kB / 2.373 GB, free: 19.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04404/12.06, allocations: 11.78 MB / 2.384 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.007147/12.07, allocations: 17.69 MB / 2.401 GB, free: 16.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002291/12.07, allocations: 44.75 kB / 2.401 GB, free: 16.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05235/12.12, allocations: 5.088 MB / 2.406 GB, free: 16.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01169/12.13, allocations: 1.369 MB / 2.408 GB, free: 16.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02272/12.15, allocations: 17.37 MB / 2.425 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01413/12.17, allocations: 0.4996 MB / 2.425 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003056/12.17, allocations: 422.2 kB / 2.426 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/12.17, allocations: 7.156 kB / 2.426 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0479/12.22, allocations: 11.74 MB / 2.437 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/12.22, allocations: 49.53 kB / 2.437 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01684/12.24, allocations: 2.94 MB / 2.44 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01214/12.25, allocations: 1.395 MB / 2.441 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03513/12.28, allocations: 21.71 MB / 2.463 GB, free: 14.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/12.29, allocations: 0.4929 MB / 2.463 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003068/12.3, allocations: 409.2 kB / 2.463 GB, free: 14.08 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.004614/12.3, allocations: 0.5123 MB / 2.464 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003336/12.3, allocations: 0.6455 MB / 2.465 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05286/12.36, allocations: 13.28 MB / 2.477 GB, free: 8.277 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001202/12.36, allocations: 64 kB / 2.478 GB, free: 8.215 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.667e-05/12.36, allocations: 0 / 2.478 GB, free: 8.215 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5303/12.89, allocations: 9.448 MB / 2.487 GB, free: 87.84 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08203/12.97, allocations: 24.51 MB / 2.511 GB, free: 85.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001084/12.97, allocations: 13.34 kB / 2.511 GB, free: 85.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008141/12.98, allocations: 0.8688 MB / 2.512 GB, free: 85.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04682/13.03, allocations: 5.382 MB / 2.517 GB, free: 85.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0021/13.03, allocations: 232.3 kB / 2.517 GB, free: 85.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01954/13.05, allocations: 17.36 MB / 2.534 GB, free: 73.41 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.53e-05/13.05, allocations: 25.75 kB / 2.534 GB, free: 73.41 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05018/13.1, allocations: 18.89 MB / 2.552 GB, free: 69.01 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008791/13.11, allocations: 1.717 MB / 2.554 GB, free: 68.89 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003395/13.11, allocations: 166.5 kB / 2.554 GB, free: 68.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01028/13.12, allocations: 334.4 kB / 2.555 GB, free: 68.88 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002217/13.12, allocations: 461.5 kB / 2.555 GB, free: 68.86 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001295/13.12, allocations: 321.7 kB / 2.555 GB, free: 68.86 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007933/13.13, allocations: 3.079 MB / 2.558 GB, free: 68.66 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.12e-07/13.13, allocations: 3.219 kB / 2.558 GB, free: 68.66 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03234/13.16, allocations: 5.86 MB / 2.564 GB, free: 68.66 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.0693/13.23, allocations: 26.22 MB / 2.59 GB, free: 60.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04983/13.28, allocations: 15.04 MB / 2.604 GB, free: 59.16 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.129e-05/13.28, allocations: 7.75 kB / 2.604 GB, free: 59.16 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01667/13.3, allocations: 4.75 MB / 2.609 GB, free: 57.75 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02324/13.32, allocations: 2.582 MB / 2.612 GB, free: 57.19 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05854/13.38, allocations: 17.62 MB / 2.629 GB, free: 51.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009332/13.39, allocations: 4.431 MB / 2.633 GB, free: 50.25 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009886/13.4, allocations: 3.253 MB / 2.636 GB, free: 47.85 MB / 0.573 GB Notification: Performance of SimCode: time 3.296e-06/13.4, allocations: 0 / 2.636 GB, free: 47.85 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.85/24.25, allocations: 0.7648 GB / 3.401 GB, free: 100.4 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