Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.301e-05, allocations: 0 / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4116, allocations: 54.86 MB / 359.9 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.772/8.183, allocations: 2.613 GB / 2.964 GB, free: 115.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/8.184, allocations: 82.8 kB / 2.965 GB, free: 115.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.157/10.34, allocations: 437.3 MB / 3.392 GB, free: 52.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/10.34, allocations: 3.812 kB / 3.392 GB, free: 52.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.699e-05/10.34, allocations: 17.8 kB / 3.392 GB, free: 52.36 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007731/10.35, allocations: 1.782 MB / 3.393 GB, free: 51.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/10.35, allocations: 8.656 kB / 3.393 GB, free: 51.42 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002102/10.35, allocations: 103.2 kB / 3.393 GB, free: 51.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003599/10.35, allocations: 331.5 kB / 3.394 GB, free: 51.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/10.35, allocations: 0.5907 MB / 3.394 GB, free: 50.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/10.35, allocations: 52.34 kB / 3.394 GB, free: 50.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/10.35, allocations: 58.91 kB / 3.394 GB, free: 50.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/10.36, allocations: 0.9798 MB / 3.395 GB, free: 50.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/10.36, allocations: 4.906 kB / 3.395 GB, free: 50.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/10.36, allocations: 25.91 kB / 3.395 GB, free: 50.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/10.36, allocations: 21.16 kB / 3.395 GB, free: 50.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/10.36, allocations: 0.8184 MB / 3.396 GB, free: 50.18 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.007778/10.37, allocations: 4.761 MB / 3.401 GB, free: 46.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/10.37, allocations: 0.7355 MB / 3.402 GB, free: 46.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/10.37, allocations: 229.4 kB / 3.402 GB, free: 45.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06391/10.44, allocations: 21.45 MB / 3.423 GB, free: 31.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/10.44, allocations: 35 kB / 3.423 GB, free: 31.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 5.23e-06/10.44, allocations: 0 / 3.423 GB, free: 31.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=68): time 0.04415/10.48, allocations: 4.006 MB / 3.427 GB, free: 30.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/10.48, allocations: 109.8 kB / 3.427 GB, free: 30.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000715/10.48, allocations: 444.4 kB / 3.427 GB, free: 30.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/10.48, allocations: 40.64 kB / 3.427 GB, free: 30.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/10.48, allocations: 345.9 kB / 3.428 GB, free: 29.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/10.48, allocations: 229.5 kB / 3.428 GB, free: 29.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.929e-05/10.48, allocations: 14.94 kB / 3.428 GB, free: 29.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/10.48, allocations: 375.8 kB / 3.428 GB, free: 29.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008325/10.48, allocations: 333.3 kB / 3.429 GB, free: 29.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009869/10.49, allocations: 0.5394 MB / 3.429 GB, free: 28.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/10.49, allocations: 388.3 kB / 3.429 GB, free: 28.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/10.49, allocations: 3.938 kB / 3.429 GB, free: 28.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003256/10.49, allocations: 1.179 MB / 3.431 GB, free: 28.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005409/10.49, allocations: 2.451 MB / 3.433 GB, free: 25.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/10.49, allocations: 10.47 kB / 3.433 GB, free: 25.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01163/10.5, allocations: 1.315 MB / 3.434 GB, free: 25.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/10.5, allocations: 166.4 kB / 3.434 GB, free: 25.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/10.51, allocations: 1.765 MB / 3.436 GB, free: 23.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/10.51, allocations: 120 kB / 3.436 GB, free: 23.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/10.51, allocations: 49.5 kB / 3.436 GB, free: 23.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/10.51, allocations: 3.531 kB / 3.436 GB, free: 23.93 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003499/10.51, allocations: 1.107 MB / 3.437 GB, free: 23.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/10.51, allocations: 3.75 kB / 3.437 GB, free: 23.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005077/10.52, allocations: 0.7367 MB / 3.438 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/10.52, allocations: 189.4 kB / 3.438 GB, free: 23.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/10.52, allocations: 1.66 MB / 3.44 GB, free: 21.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/10.52, allocations: 125.4 kB / 3.44 GB, free: 21.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/10.52, allocations: 47.41 kB / 3.44 GB, free: 21.95 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 (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.000326/10.52, allocations: 158.1 kB / 3.44 GB, free: 21.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/10.52, allocations: 73.58 kB / 3.44 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007673/10.53, allocations: 4.08 MB / 3.444 GB, free: 19.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.549e-05/10.53, allocations: 45.59 kB / 3.444 GB, free: 19.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/10.53, allocations: 3.938 kB / 3.444 GB, free: 19.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/10.53, allocations: 7.469 kB / 3.444 GB, free: 19.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009202/10.54, allocations: 5.348 MB / 3.45 GB, free: 17.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/10.54, allocations: 0 / 3.45 GB, free: 17.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007286/10.54, allocations: 101.9 kB / 3.45 GB, free: 17.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01187/10.55, allocations: 2.226 MB / 3.452 GB, free: 16.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/10.55, allocations: 27.33 kB / 3.452 GB, free: 16.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003627/10.56, allocations: 2.523 MB / 3.454 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/10.56, allocations: 0 / 3.454 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00569/10.56, allocations: 2.747 MB / 3.457 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000806/10.56, allocations: 356.4 kB / 3.457 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/10.56, allocations: 19.62 kB / 3.457 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/10.56, allocations: 107 kB / 3.458 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/10.56, allocations: 68.36 kB / 3.458 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/10.56, allocations: 29.59 kB / 3.458 GB, free: 13.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000733/10.57, allocations: 434.2 kB / 3.458 GB, free: 13.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.7e-07/10.57, allocations: 0 / 3.458 GB, free: 13.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007483/10.57, allocations: 1.596 MB / 3.46 GB, free: 12.14 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,$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.01618/10.59, allocations: 4.775 MB / 3.464 GB, free: 7.906 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005466/10.59, allocations: 1.915 MB / 3.466 GB, free: 6.113 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/10.59, allocations: 1 kB / 3.466 GB, free: 6.113 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/10.6, allocations: 1.078 MB / 3.467 GB, free: 5.105 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/10.6, allocations: 301 kB / 3.467 GB, free: 4.891 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6491/11.25, allocations: 78.47 MB / 3.544 GB, free: 60.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/11.25, allocations: 1.195 MB / 3.545 GB, free: 59.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002049/11.25, allocations: 0.6832 MB / 3.546 GB, free: 59.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007236/11.25, allocations: 435.5 kB / 3.546 GB, free: 59.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.963e-06/11.25, allocations: 0 / 3.546 GB, free: 59.64 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/11.4, allocations: 68.55 MB / 3.613 GB, free: 55.26 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/11.4, allocations: 242.1 kB / 3.613 GB, free: 54.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.895/17.3, allocations: 0 / 3.613 GB, free: 54.93 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat