Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 235 MB / 247.1 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.236e-05/4.247e-05, allocations: 4.781 kB / 305 MB, free: 5.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4048, allocations: 54.85 MB / 359.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.961/8.366, allocations: 2.612 GB / 2.964 GB, free: 115.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/8.366, allocations: 81.78 kB / 2.964 GB, free: 115.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175/10.54, allocations: 436.2 MB / 3.39 GB, free: 52.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/10.54, allocations: 0 / 3.39 GB, free: 52.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.007e-05/10.54, allocations: 17.88 kB / 3.39 GB, free: 52.87 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007908/10.55, allocations: 1.752 MB / 3.392 GB, free: 52.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/10.55, allocations: 11.44 kB / 3.392 GB, free: 52.01 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002713/10.55, allocations: 99.48 kB / 3.392 GB, free: 51.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/10.55, allocations: 335.9 kB / 3.392 GB, free: 51.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/10.56, allocations: 0.5639 MB / 3.393 GB, free: 51.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/10.56, allocations: 62.36 kB / 3.393 GB, free: 51.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/10.56, allocations: 52.91 kB / 3.393 GB, free: 51.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/10.56, allocations: 0.9596 MB / 3.394 GB, free: 51.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/10.56, allocations: 6.141 kB / 3.394 GB, free: 51.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/10.56, allocations: 23.59 kB / 3.394 GB, free: 51.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/10.56, allocations: 23.84 kB / 3.394 GB, free: 51.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/10.56, allocations: 0.8007 MB / 3.395 GB, free: 50.93 MB / 490.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.006886/10.57, allocations: 4.726 MB / 3.399 GB, free: 46.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/10.57, allocations: 0.6216 MB / 3.4 GB, free: 46.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/10.57, allocations: 211.2 kB / 3.4 GB, free: 46.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06547/10.64, allocations: 21.46 MB / 3.421 GB, free: 32.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/10.64, allocations: 38.19 kB / 3.421 GB, free: 32.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.737e-06/10.64, allocations: 0 / 3.421 GB, free: 32.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.04428/10.68, allocations: 3.765 MB / 3.425 GB, free: 31.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/10.68, allocations: 107.2 kB / 3.425 GB, free: 31.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/10.68, allocations: 426.9 kB / 3.425 GB, free: 31.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/10.68, allocations: 36.58 kB / 3.425 GB, free: 31.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/10.68, allocations: 346.6 kB / 3.426 GB, free: 30.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/10.68, allocations: 205.8 kB / 3.426 GB, free: 30.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/10.68, allocations: 15.03 kB / 3.426 GB, free: 30.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/10.68, allocations: 377.3 kB / 3.426 GB, free: 30.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008068/10.68, allocations: 270.9 kB / 3.426 GB, free: 30.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008992/10.69, allocations: 484.2 kB / 3.427 GB, free: 29.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/10.69, allocations: 334 kB / 3.427 GB, free: 29.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/10.69, allocations: 0 / 3.427 GB, free: 29.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003311/10.69, allocations: 1.019 MB / 3.428 GB, free: 29.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00059/10.69, allocations: 2.438 MB / 3.431 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/10.69, allocations: 7.625 kB / 3.431 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006736/10.7, allocations: 0.8198 MB / 3.431 GB, free: 26.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/10.7, allocations: 168.6 kB / 3.431 GB, free: 26.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/10.7, allocations: 1.605 MB / 3.433 GB, free: 25.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/10.7, allocations: 110.5 kB / 3.433 GB, free: 25.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/10.7, allocations: 50.06 kB / 3.433 GB, free: 25.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/10.7, allocations: 7.906 kB / 3.433 GB, free: 25.1 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003274/10.71, allocations: 0.9413 MB / 3.434 GB, free: 24.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/10.71, allocations: 6.969 kB / 3.434 GB, free: 24.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003778/10.71, allocations: 0.5543 MB / 3.435 GB, free: 24.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/10.71, allocations: 161.5 kB / 3.435 GB, free: 24.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/10.71, allocations: 1.56 MB / 3.436 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/10.72, allocations: 93.19 kB / 3.436 GB, free: 23.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/10.72, allocations: 48.02 kB / 3.436 GB, free: 23.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003386/10.72, allocations: 147.2 kB / 3.437 GB, free: 23.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/10.72, allocations: 65.61 kB / 3.437 GB, free: 23.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00786/10.73, allocations: 3.927 MB / 3.441 GB, free: 21.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.865e-05/10.73, allocations: 41.39 kB / 3.441 GB, free: 21.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/10.73, allocations: 7.328 kB / 3.441 GB, free: 21.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/10.73, allocations: 3.656 kB / 3.441 GB, free: 21.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00859/10.73, allocations: 4.986 MB / 3.445 GB, free: 18.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/10.73, allocations: 0 / 3.445 GB, free: 18.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007735/10.73, allocations: 110.1 kB / 3.446 GB, free: 18.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007098/10.74, allocations: 1.78 MB / 3.447 GB, free: 18.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/10.74, allocations: 19.42 kB / 3.447 GB, free: 18.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003444/10.75, allocations: 2.366 MB / 3.45 GB, free: 16.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/10.75, allocations: 3.781 kB / 3.45 GB, free: 16.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00463/10.75, allocations: 2.472 MB / 3.452 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008566/10.75, allocations: 340.5 kB / 3.452 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/10.75, allocations: 11.91 kB / 3.452 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/10.75, allocations: 101.9 kB / 3.452 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/10.75, allocations: 56.92 kB / 3.453 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-05/10.75, allocations: 36.05 kB / 3.453 GB, free: 15.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007409/10.75, allocations: 418.2 kB / 3.453 GB, free: 15 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.71e-07/10.75, allocations: 0 / 3.453 GB, free: 15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008297/10.76, allocations: 1.561 MB / 3.454 GB, free: 14.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0165/10.78, allocations: 4.548 MB / 3.459 GB, free: 11.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005088/10.78, allocations: 1.735 MB / 3.461 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/10.78, allocations: 0 / 3.461 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002117/10.79, allocations: 1.025 MB / 3.462 GB, free: 9.195 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/10.79, allocations: 293.9 kB / 3.462 GB, free: 8.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6287/11.42, allocations: 77.93 MB / 3.538 GB, free: 60.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/11.42, allocations: 1.179 MB / 3.539 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002073/11.42, allocations: 0.6758 MB / 3.54 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006811/11.42, allocations: 428.2 kB / 3.54 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of SimCode: time 1.423e-06/11.42, allocations: 2.812 kB / 3.54 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.146/11.57, allocations: 65.5 MB / 3.604 GB, free: 56.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/11.57, allocations: 239.4 kB / 3.604 GB, free: 56.65 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.848/17.42, allocations: 0 / 3.604 GB, free: 56.65 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat