Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.989/1.989, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.947e-05/3.946e-05, allocations: 5.547 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.653/7.762, allocations: 2.502 GB / 2.816 GB, free: 58.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/7.762, allocations: 82.89 kB / 2.816 GB, free: 58.44 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.388/10.15, allocations: 425.3 MB / 3.232 GB, free: 46.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.673e-06/10.15, allocations: 0 / 3.232 GB, free: 46.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.286e-05/10.15, allocations: 23.12 kB / 3.232 GB, free: 46.77 MB / 442.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.007674/10.16, allocations: 1.695 MB / 3.233 GB, free: 46.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/10.16, allocations: 15.06 kB / 3.233 GB, free: 46.09 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002228/10.16, allocations: 103.6 kB / 3.233 GB, free: 46.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/10.16, allocations: 311.7 kB / 3.234 GB, free: 46.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/10.16, allocations: 0.5754 MB / 3.234 GB, free: 45.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/10.16, allocations: 53.66 kB / 3.234 GB, free: 45.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/10.16, allocations: 57.81 kB / 3.234 GB, free: 45.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003516/10.17, allocations: 0.9569 MB / 3.235 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/10.17, allocations: 2.062 kB / 3.235 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/10.17, allocations: 28.23 kB / 3.235 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.757e-05/10.17, allocations: 30.06 kB / 3.235 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003173/10.17, allocations: 0.7817 MB / 3.236 GB, free: 45.57 MB / 442.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.007622/10.18, allocations: 4.719 MB / 3.241 GB, free: 42.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/10.18, allocations: 0.6223 MB / 3.241 GB, free: 42.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/10.18, allocations: 213.7 kB / 3.242 GB, free: 42.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06339/10.25, allocations: 21.39 MB / 3.263 GB, free: 28.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/10.25, allocations: 41.03 kB / 3.263 GB, free: 28.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.306e-06/10.25, allocations: 0 / 3.263 GB, free: 28.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.04389/10.29, allocations: 3.743 MB / 3.266 GB, free: 28.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/10.29, allocations: 114.3 kB / 3.266 GB, free: 28.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008214/10.29, allocations: 430.9 kB / 3.267 GB, free: 27.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/10.29, allocations: 39.77 kB / 3.267 GB, free: 27.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/10.29, allocations: 347.9 kB / 3.267 GB, free: 27.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/10.29, allocations: 206.2 kB / 3.267 GB, free: 27.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/10.29, allocations: 9 kB / 3.267 GB, free: 27.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/10.29, allocations: 375.4 kB / 3.268 GB, free: 27.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007558/10.29, allocations: 271.9 kB / 3.268 GB, free: 27.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008918/10.29, allocations: 490.2 kB / 3.268 GB, free: 26.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/10.29, allocations: 328.9 kB / 3.269 GB, free: 26.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/10.29, allocations: 0 / 3.269 GB, free: 26.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003474/10.3, allocations: 1.003 MB / 3.27 GB, free: 26.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006034/10.3, allocations: 2.445 MB / 3.272 GB, free: 24.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/10.3, allocations: 9.281 kB / 3.272 GB, free: 24.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006775/10.31, allocations: 0.8227 MB / 3.273 GB, free: 24.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/10.31, allocations: 164 kB / 3.273 GB, free: 24.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/10.31, allocations: 1.596 MB / 3.275 GB, free: 23.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/10.31, allocations: 98.84 kB / 3.275 GB, free: 23.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/10.31, allocations: 46.98 kB / 3.275 GB, free: 23.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/10.31, allocations: 7.094 kB / 3.275 GB, free: 23.26 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003373/10.31, allocations: 0.9359 MB / 3.276 GB, free: 23.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/10.32, allocations: 10.66 kB / 3.276 GB, free: 23.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003742/10.32, allocations: 0.5513 MB / 3.276 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/10.32, allocations: 161.9 kB / 3.276 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/10.32, allocations: 1.557 MB / 3.278 GB, free: 22.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/10.32, allocations: 114.3 kB / 3.278 GB, free: 22.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/10.32, allocations: 40.88 kB / 3.278 GB, free: 22.16 MB / 442.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.0003525/10.32, allocations: 147.9 kB / 3.278 GB, free: 22.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/10.33, allocations: 61.88 kB / 3.278 GB, free: 22.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008045/10.33, allocations: 3.915 MB / 3.282 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.985e-05/10.33, allocations: 48.31 kB / 3.282 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/10.33, allocations: 3.562 kB / 3.282 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/10.33, allocations: 3.422 kB / 3.282 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008756/10.34, allocations: 4.979 MB / 3.287 GB, free: 21.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/10.34, allocations: 8.734 kB / 3.287 GB, free: 21.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/10.34, allocations: 107.3 kB / 3.287 GB, free: 21.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007222/10.35, allocations: 1.766 MB / 3.289 GB, free: 21.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/10.35, allocations: 19.53 kB / 3.289 GB, free: 21.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/10.35, allocations: 2.371 MB / 3.291 GB, free: 19.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/10.35, allocations: 3.953 kB / 3.291 GB, free: 19.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004521/10.36, allocations: 2.462 MB / 3.294 GB, free: 19.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008459/10.36, allocations: 348.4 kB / 3.294 GB, free: 19.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/10.36, allocations: 14.03 kB / 3.294 GB, free: 19.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/10.36, allocations: 96.42 kB / 3.294 GB, free: 19.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/10.36, allocations: 63.73 kB / 3.294 GB, free: 19.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/10.36, allocations: 25.69 kB / 3.294 GB, free: 19.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007608/10.36, allocations: 424.7 kB / 3.294 GB, free: 19.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.41e-07/10.36, allocations: 0 / 3.294 GB, free: 19.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007763/10.37, allocations: 1.544 MB / 3.296 GB, free: 19.08 MB / 442.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.01626/10.39, allocations: 4.549 MB / 3.3 GB, free: 17.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005225/10.39, allocations: 1.711 MB / 3.302 GB, free: 17.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/10.39, allocations: 7.25 kB / 3.302 GB, free: 17.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002182/10.39, allocations: 1.017 MB / 3.303 GB, free: 17.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/10.4, allocations: 304 kB / 3.303 GB, free: 17.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2842/10.68, allocations: 76.53 MB / 3.378 GB, free: 1.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00099/10.68, allocations: 1.185 MB / 3.379 GB, free: 120 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.3344/11.02, allocations: 0.7572 MB / 3.38 GB, free: 56.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/11.02, allocations: 424.3 kB / 3.38 GB, free: 56.55 MB / 458.7 MB Notification: Performance of SimCode: time 1.924e-06/11.02, allocations: 0 / 3.38 GB, free: 56.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1847/11.2, allocations: 65.4 MB / 3.444 GB, free: 54.63 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/11.2, allocations: 243.9 kB / 3.445 GB, free: 54.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.294/16.5, allocations: 8 kB / 3.445 GB, free: 54.31 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat