Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 194.9 MB / 208 MB, free: 3.191 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.817e-05, allocations: 0 / 255.5 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.09617, allocations: 44.51 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.201, allocations: 277.2 MB / 0.5637 GB, free: 84.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/1.202, allocations: 74.47 kB / 0.5637 GB, free: 84.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.62/11.82, allocations: 1.657 GB / 2.221 GB, free: 21.62 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.775e-06/11.82, allocations: 0 / 2.221 GB, free: 21.62 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.001198/11.82, allocations: 192.1 kB / 2.221 GB, free: 21.57 MB / 0.4949 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.05001/11.87, allocations: 10.09 MB / 2.231 GB, free: 16.33 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/11.87, allocations: 11.62 kB / 2.231 GB, free: 16.33 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004399/11.88, allocations: 0.7713 MB / 2.231 GB, free: 16.23 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0145/11.89, allocations: 1.236 MB / 2.233 GB, free: 15.82 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02796/11.92, allocations: 6.322 MB / 2.239 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006836/11.92, allocations: 432.1 kB / 2.239 GB, free: 14.44 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003292/11.92, allocations: 0.5317 MB / 2.24 GB, free: 14.4 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03244/11.96, allocations: 9.252 MB / 2.249 GB, free: 7.211 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002488/11.96, allocations: 23.77 kB / 2.249 GB, free: 7.188 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002931/11.96, allocations: 254.5 kB / 2.249 GB, free: 6.941 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001235/11.96, allocations: 0.591 MB / 2.25 GB, free: 6.445 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02934/11.99, allocations: 7.796 MB / 2.257 GB, free: 15.54 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.6702/12.66, allocations: 34.92 MB / 2.291 GB, free: 30.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02137/12.68, allocations: 5.96 MB / 2.297 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0109/12.69, allocations: 3.616 MB / 2.301 GB, free: 30.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009559/12.7, allocations: 4.755 MB / 2.305 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/12.7, allocations: 97.77 kB / 2.305 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01334/12.72, allocations: 1.672 MB / 2.307 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=500): time 4.058e-05/12.72, allocations: 1.75 kB / 2.307 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=632): time 0.2687/12.99, allocations: 43.11 MB / 2.349 GB, free: 23.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/12.99, allocations: 166.5 kB / 2.349 GB, free: 23.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01265/13, allocations: 4.135 MB / 2.353 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002993/13, allocations: 143.1 kB / 2.353 GB, free: 23.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004662/13.01, allocations: 2.967 MB / 2.356 GB, free: 22.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004729/13.01, allocations: 2.17 MB / 2.358 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002449/13.01, allocations: 145.7 kB / 2.359 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000853/13.01, allocations: 0.5953 MB / 2.359 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01195/13.03, allocations: 3.809 MB / 2.363 GB, free: 20.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01417/13.04, allocations: 5.45 MB / 2.368 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01405/13.05, allocations: 4.775 MB / 2.373 GB, free: 19.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-05/13.05, allocations: 10.78 kB / 2.373 GB, free: 19.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04718/13.1, allocations: 12.13 MB / 2.385 GB, free: 18.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.009947/13.11, allocations: 21.32 MB / 2.406 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002641/13.11, allocations: 47.31 kB / 2.406 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05343/13.17, allocations: 5.078 MB / 2.411 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01242/13.18, allocations: 1.372 MB / 2.412 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02615/13.2, allocations: 17.36 MB / 2.429 GB, free: 14.18 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01557/13.22, allocations: 0.5057 MB / 2.429 GB, free: 14.05 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003472/13.22, allocations: 422.9 kB / 2.43 GB, free: 13.99 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/13.22, allocations: 3.094 kB / 2.43 GB, free: 13.99 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0504/13.27, allocations: 11.64 MB / 2.441 GB, free: 10.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001803/13.27, allocations: 41.78 kB / 2.441 GB, free: 10.25 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0191/13.29, allocations: 3.254 MB / 2.444 GB, free: 9.457 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01228/13.31, allocations: 1.398 MB / 2.446 GB, free: 9.406 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03725/13.34, allocations: 21.78 MB / 2.467 GB, free: 9.176 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01349/13.36, allocations: 0.4956 MB / 2.467 GB, free: 9.051 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003089/13.36, allocations: 408.6 kB / 2.468 GB, free: 8.992 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.004974/13.36, allocations: 0.509 MB / 2.468 GB, free: 8.676 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003728/13.37, allocations: 0.6459 MB / 2.469 GB, free: 8.34 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07022/13.44, allocations: 13.28 MB / 2.482 GB, free: 2.727 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001309/13.44, allocations: 68 kB / 2.482 GB, free: 2.66 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-05/13.44, allocations: 0 / 2.482 GB, free: 2.66 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5796/14.02, allocations: 9.551 MB / 2.491 GB, free: 89.59 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09071/14.11, allocations: 24.52 MB / 2.515 GB, free: 87.22 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001436/14.11, allocations: 15.09 kB / 2.515 GB, free: 87.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008519/14.12, allocations: 0.8653 MB / 2.516 GB, free: 87.22 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04924/14.17, allocations: 5.385 MB / 2.521 GB, free: 87.03 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002644/14.17, allocations: 228.5 kB / 2.522 GB, free: 87.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02235/14.19, allocations: 17.36 MB / 2.539 GB, free: 75.13 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.66e-05/14.19, allocations: 27.39 kB / 2.539 GB, free: 75.13 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05815/14.25, allocations: 18.88 MB / 2.557 GB, free: 70.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01106/14.26, allocations: 1.717 MB / 2.559 GB, free: 70.59 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005143/14.27, allocations: 167.3 kB / 2.559 GB, free: 70.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01514/14.28, allocations: 335.7 kB / 2.559 GB, free: 70.58 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002557/14.28, allocations: 466.5 kB / 2.56 GB, free: 70.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002032/14.29, allocations: 321.3 kB / 2.56 GB, free: 70.56 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009108/14.3, allocations: 3.085 MB / 2.563 GB, free: 70.36 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.21e-07/14.3, allocations: 0 / 2.563 GB, free: 70.36 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03647/14.33, allocations: 5.864 MB / 2.569 GB, free: 70.36 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.07316/14.41, allocations: 26.22 MB / 2.594 GB, free: 62.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05048/14.46, allocations: 15.23 MB / 2.609 GB, free: 58.89 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.365e-05/14.46, allocations: 9.219 kB / 2.609 GB, free: 58.89 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01744/14.47, allocations: 4.754 MB / 2.614 GB, free: 57.46 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02441/14.5, allocations: 2.579 MB / 2.616 GB, free: 56.92 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08411/14.58, allocations: 17.54 MB / 2.633 GB, free: 51.33 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/14.59, allocations: 4.518 MB / 2.638 GB, free: 50.08 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03571/14.63, allocations: 5.49 MB / 2.643 GB, free: 49.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01074/14.64, allocations: 3.095 MB / 2.646 GB, free: 47.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.543e-06/14.64, allocations: 4 kB / 2.646 GB, free: 47.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.716/16.36, allocations: 255 MB / 2.895 GB, free: 73.97 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/16.36, allocations: 228.8 kB / 2.896 GB, free: 73.74 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.21/33.56, allocations: 0 / 2.896 GB, free: 73.74 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat