Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.913/1.913, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.853e-05/3.864e-05, allocations: 9.547 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.52/7.625, allocations: 2.502 GB / 2.817 GB, free: 60.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/7.626, allocations: 90.67 kB / 2.817 GB, free: 60.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475/10.1, allocations: 426.4 MB / 3.233 GB, free: 46.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.763e-06/10.1, allocations: 0 / 3.233 GB, free: 46.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.239e-05/10.1, allocations: 18.69 kB / 3.233 GB, free: 46.84 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00798/10.11, allocations: 1.734 MB / 3.235 GB, free: 46.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/10.11, allocations: 9.875 kB / 3.235 GB, free: 46.15 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002964/10.11, allocations: 100.8 kB / 3.235 GB, free: 46.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/10.11, allocations: 315.8 kB / 3.235 GB, free: 46.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/10.11, allocations: 0.5936 MB / 3.236 GB, free: 45.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.85e-05/10.11, allocations: 50.28 kB / 3.236 GB, free: 45.83 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/10.12, allocations: 58.66 kB / 3.236 GB, free: 45.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/10.12, allocations: 0.9871 MB / 3.237 GB, free: 45.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/10.12, allocations: 1.406 kB / 3.237 GB, free: 45.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/10.12, allocations: 25.59 kB / 3.237 GB, free: 45.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/10.12, allocations: 22.41 kB / 3.237 GB, free: 45.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/10.12, allocations: 0.8334 MB / 3.238 GB, free: 45.62 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.008095/10.13, allocations: 4.755 MB / 3.243 GB, free: 42.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/10.13, allocations: 0.7387 MB / 3.243 GB, free: 42.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005739/10.13, allocations: 230 kB / 3.243 GB, free: 42.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06471/10.2, allocations: 21.4 MB / 3.264 GB, free: 28.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/10.2, allocations: 40.78 kB / 3.264 GB, free: 28.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 3.306e-06/10.2, allocations: 0 / 3.264 GB, free: 28.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=68): time 0.04558/10.24, allocations: 3.997 MB / 3.268 GB, free: 28.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/10.24, allocations: 110.9 kB / 3.268 GB, free: 28.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007956/10.25, allocations: 441.1 kB / 3.269 GB, free: 28.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001872/10.25, allocations: 48.56 kB / 3.269 GB, free: 27.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/10.25, allocations: 350.5 kB / 3.269 GB, free: 27.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/10.25, allocations: 229 kB / 3.269 GB, free: 27.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/10.25, allocations: 17.78 kB / 3.269 GB, free: 27.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/10.25, allocations: 375 kB / 3.27 GB, free: 27.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008784/10.25, allocations: 332.8 kB / 3.27 GB, free: 27.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/10.25, allocations: 0.5434 MB / 3.271 GB, free: 27.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/10.25, allocations: 392 kB / 3.271 GB, free: 27.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/10.25, allocations: 3.844 kB / 3.271 GB, free: 27.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003705/10.25, allocations: 1.198 MB / 3.272 GB, free: 26.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005508/10.25, allocations: 2.442 MB / 3.275 GB, free: 24.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/10.25, allocations: 7.5 kB / 3.275 GB, free: 24.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01187/10.27, allocations: 1.311 MB / 3.276 GB, free: 24.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/10.27, allocations: 177.1 kB / 3.276 GB, free: 24.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/10.27, allocations: 1.766 MB / 3.278 GB, free: 23.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/10.27, allocations: 120.1 kB / 3.278 GB, free: 23.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/10.27, allocations: 49.56 kB / 3.278 GB, free: 23.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/10.27, allocations: 2.938 kB / 3.278 GB, free: 23.35 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003794/10.28, allocations: 1.124 MB / 3.279 GB, free: 23.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/10.28, allocations: 9.625 kB / 3.279 GB, free: 23.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00528/10.28, allocations: 0.7351 MB / 3.28 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/10.28, allocations: 190 kB / 3.28 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/10.29, allocations: 1.662 MB / 3.282 GB, free: 22.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/10.29, allocations: 114.9 kB / 3.282 GB, free: 22.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/10.29, allocations: 49.92 kB / 3.282 GB, free: 22.24 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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003572/10.29, allocations: 158.2 kB / 3.282 GB, free: 22.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/10.29, allocations: 64.47 kB / 3.282 GB, free: 22.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007887/10.3, allocations: 4.081 MB / 3.286 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-05/10.3, allocations: 46.17 kB / 3.286 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/10.3, allocations: 3.75 kB / 3.286 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/10.3, allocations: 5.703 kB / 3.286 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009417/10.31, allocations: 5.349 MB / 3.291 GB, free: 21.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/10.31, allocations: 3.938 kB / 3.291 GB, free: 21.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007494/10.31, allocations: 114.7 kB / 3.291 GB, free: 21.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0117/10.32, allocations: 2.225 MB / 3.293 GB, free: 21.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/10.32, allocations: 23.03 kB / 3.294 GB, free: 21.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003651/10.32, allocations: 2.519 MB / 3.296 GB, free: 20.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/10.32, allocations: 2 kB / 3.296 GB, free: 20.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005536/10.33, allocations: 2.748 MB / 3.299 GB, free: 19.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/10.33, allocations: 358.3 kB / 3.299 GB, free: 19.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/10.33, allocations: 22.19 kB / 3.299 GB, free: 19.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/10.33, allocations: 109.1 kB / 3.299 GB, free: 19.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/10.33, allocations: 64.92 kB / 3.299 GB, free: 19.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/10.33, allocations: 39.39 kB / 3.299 GB, free: 19.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007131/10.33, allocations: 428.6 kB / 3.3 GB, free: 19.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.82e-07/10.33, allocations: 0 / 3.3 GB, free: 19.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007393/10.34, allocations: 1.579 MB / 3.301 GB, free: 19.11 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,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01645/10.35, allocations: 4.737 MB / 3.306 GB, free: 17.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005626/10.36, allocations: 1.949 MB / 3.308 GB, free: 17.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/10.36, allocations: 0 / 3.308 GB, free: 17.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/10.36, allocations: 1.087 MB / 3.309 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.003095/10.37, allocations: 308.1 kB / 3.309 GB, free: 17.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6117/10.98, allocations: 76.72 MB / 3.384 GB, free: 56.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009958/10.98, allocations: 1.195 MB / 3.385 GB, free: 55.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002384/10.98, allocations: 0.6819 MB / 3.386 GB, free: 55.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008356/10.98, allocations: 438.1 kB / 3.386 GB, free: 55.69 MB / 458.7 MB Notification: Performance of SimCode: time 1.333e-06/10.98, allocations: 0 / 3.386 GB, free: 55.69 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1617/11.14, allocations: 68.2 MB / 3.453 GB, free: 53.79 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002663/11.14, allocations: 250.7 kB / 3.453 GB, free: 53.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.651/16.8, allocations: 0 / 3.453 GB, free: 53.45 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat