Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.743/1.743, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.645e-05, allocations: 4 kB / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2882, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9089/1.197, allocations: 272 MB / 0.5233 GB, free: 77.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.197, allocations: 73.62 kB / 0.5233 GB, free: 77.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.4/11.59, allocations: 1.632 GB / 2.156 GB, free: 19.92 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.176e-06/11.59, allocations: 0 / 2.156 GB, free: 19.92 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001553/11.59, allocations: 193.3 kB / 2.156 GB, free: 19.86 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.06253/11.66, allocations: 10.09 MB / 2.166 GB, free: 13.31 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/11.66, allocations: 8.031 kB / 2.166 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005369/11.66, allocations: 0.772 MB / 2.166 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/11.68, allocations: 1.241 MB / 2.168 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03278/11.71, allocations: 6.322 MB / 2.174 GB, free: 6.812 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009784/11.71, allocations: 426.3 kB / 2.174 GB, free: 6.395 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004222/11.72, allocations: 0.5349 MB / 2.175 GB, free: 5.859 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04118/11.76, allocations: 9.256 MB / 2.184 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003907/11.76, allocations: 19.81 kB / 2.184 GB, free: 12.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004255/11.76, allocations: 251.9 kB / 2.184 GB, free: 11.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001683/11.76, allocations: 0.5878 MB / 2.185 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03407/11.8, allocations: 7.793 MB / 2.192 GB, free: 3.453 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.6226/12.42, allocations: 34.93 MB / 2.226 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02124/12.44, allocations: 5.96 MB / 2.232 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01147/12.45, allocations: 3.616 MB / 2.236 GB, free: 12.56 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/12.46, allocations: 4.762 MB / 2.24 GB, free: 23.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/12.46, allocations: 94.83 kB / 2.24 GB, free: 23.54 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01361/12.48, allocations: 1.672 MB / 2.242 GB, free: 23.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=500): time 4.132e-05/12.48, allocations: 0 / 2.242 GB, free: 23.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=632): time 0.2738/12.75, allocations: 43.11 MB / 2.284 GB, free: 21.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/12.75, allocations: 175.9 kB / 2.284 GB, free: 21.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/12.76, allocations: 4.132 MB / 2.288 GB, free: 20.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002586/12.76, allocations: 142.8 kB / 2.289 GB, free: 20.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004127/12.77, allocations: 2.976 MB / 2.291 GB, free: 20 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004544/12.77, allocations: 2.171 MB / 2.294 GB, free: 18.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00242/12.78, allocations: 139.2 kB / 2.294 GB, free: 18.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008361/12.78, allocations: 0.5969 MB / 2.294 GB, free: 18.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01197/12.79, allocations: 3.806 MB / 2.298 GB, free: 18.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0142/12.8, allocations: 5.448 MB / 2.303 GB, free: 16.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01408/12.82, allocations: 4.773 MB / 2.308 GB, free: 15.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-05/12.82, allocations: 14.03 kB / 2.308 GB, free: 15.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.04432/12.86, allocations: 12.13 MB / 2.32 GB, free: 11.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.009697/12.87, allocations: 21.32 MB / 2.341 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002224/12.87, allocations: 47.78 kB / 2.341 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05291/12.92, allocations: 5.087 MB / 2.346 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01199/12.94, allocations: 1.369 MB / 2.347 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02386/12.96, allocations: 17.36 MB / 2.364 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01483/12.98, allocations: 0.5056 MB / 2.364 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003425/12.98, allocations: 425.3 kB / 2.365 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/12.98, allocations: 4.094 kB / 2.365 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0463/13.03, allocations: 11.63 MB / 2.376 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001843/13.03, allocations: 51.94 kB / 2.376 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5251/13.55, allocations: 3.32 MB / 2.38 GB, free: 73.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/13.56, allocations: 1.39 MB / 2.381 GB, free: 73.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03383/13.6, allocations: 21.79 MB / 2.402 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01373/13.61, allocations: 498.8 kB / 2.403 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003146/13.61, allocations: 413.4 kB / 2.403 GB, free: 60.61 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.005069/13.62, allocations: 0.5087 MB / 2.404 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003968/13.62, allocations: 0.6409 MB / 2.404 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05471/13.68, allocations: 13.28 MB / 2.417 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000123/13.68, allocations: 64.47 kB / 2.417 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/13.68, allocations: 3.438 kB / 2.417 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03267/13.71, allocations: 9.442 MB / 2.426 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08351/13.79, allocations: 24.52 MB / 2.45 GB, free: 56.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001244/13.79, allocations: 19.5 kB / 2.45 GB, free: 56.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008716/13.8, allocations: 0.8648 MB / 2.451 GB, free: 56.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04747/13.85, allocations: 5.395 MB / 2.456 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002311/13.85, allocations: 227 kB / 2.457 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02331/13.88, allocations: 17.36 MB / 2.474 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-05/13.88, allocations: 23.06 kB / 2.474 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05506/13.93, allocations: 18.89 MB / 2.492 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007872/13.94, allocations: 1.727 MB / 2.494 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00367/13.94, allocations: 170.4 kB / 2.494 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01092/13.95, allocations: 326.3 kB / 2.494 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002512/13.96, allocations: 464.9 kB / 2.495 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001652/13.96, allocations: 320.6 kB / 2.495 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008248/13.97, allocations: 3.078 MB / 2.498 GB, free: 34.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.202e-06/13.97, allocations: 2.094 kB / 2.498 GB, free: 34.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03382/14, allocations: 5.872 MB / 2.504 GB, free: 33.97 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.08189/14.08, allocations: 26.22 MB / 2.529 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04944/14.13, allocations: 15.23 MB / 2.544 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-05/14.13, allocations: 5.688 kB / 2.544 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01737/14.15, allocations: 4.755 MB / 2.549 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02456/14.17, allocations: 2.574 MB / 2.551 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6022/14.78, allocations: 17.79 MB / 2.569 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01051/14.79, allocations: 4.512 MB / 2.573 GB, free: 82.03 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.03484/14.82, allocations: 5.5 MB / 2.579 GB, free: 81.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009609/14.83, allocations: 3.093 MB / 2.582 GB, free: 81.93 MB / 0.5261 GB Notification: Performance of SimCode: time 1.753e-06/14.83, allocations: 0.5 kB / 2.582 GB, free: 81.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.162/15.99, allocations: 255 MB / 2.831 GB, free: 80.13 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/15.99, allocations: 220.7 kB / 2.831 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/32.64, allocations: 0 / 2.831 GB, free: 79.91 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat