Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.287/2.287, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.099e-05, allocations: 0 / 299.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3717, allocations: 54.84 MB / 354.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.557/7.928, allocations: 2.612 GB / 2.958 GB, free: 109.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/7.929, allocations: 83.69 kB / 2.958 GB, free: 109.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.127/10.06, allocations: 432.7 MB / 3.381 GB, free: 57.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/10.06, allocations: 1.969 kB / 3.381 GB, free: 57.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.645e-05/10.06, allocations: 13 kB / 3.381 GB, free: 57.25 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.007813/10.06, allocations: 1.745 MB / 3.382 GB, free: 56.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/10.06, allocations: 11.91 kB / 3.382 GB, free: 56.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/10.07, allocations: 325.6 kB / 3.383 GB, free: 56.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/10.07, allocations: 0.5871 MB / 3.383 GB, free: 56.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/10.07, allocations: 29.67 kB / 3.383 GB, free: 56.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/10.07, allocations: 38.62 kB / 3.383 GB, free: 56.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001431/10.07, allocations: 0.5321 MB / 3.384 GB, free: 56.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/10.07, allocations: 0.6483 MB / 3.384 GB, free: 55.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/10.07, allocations: 2.906 kB / 3.384 GB, free: 55.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/10.07, allocations: 7.828 kB / 3.384 GB, free: 55.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/10.07, allocations: 20.16 kB / 3.384 GB, free: 55.98 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.01503/10.09, allocations: 7.06 MB / 3.391 GB, free: 51.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/10.09, allocations: 409.1 kB / 3.392 GB, free: 51.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004324/10.09, allocations: 203.3 kB / 3.392 GB, free: 51.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.277/10.37, allocations: 78.04 MB / 3.468 GB, free: 23.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/10.37, allocations: 40.95 kB / 3.468 GB, free: 23.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 3.036e-06/10.37, allocations: 0 / 3.468 GB, free: 23.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50): time 0.00873/10.37, allocations: 1.775 MB / 3.47 GB, free: 23.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/10.37, allocations: 113.2 kB / 3.47 GB, free: 23.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000641/10.38, allocations: 386.2 kB / 3.47 GB, free: 23.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/10.38, allocations: 25.7 kB / 3.47 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/10.38, allocations: 352.7 kB / 3.471 GB, free: 22.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/10.38, allocations: 163.6 kB / 3.471 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/10.38, allocations: 3.875 kB / 3.471 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001751/10.38, allocations: 370 kB / 3.471 GB, free: 22.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/10.38, allocations: 181.3 kB / 3.471 GB, free: 22.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/10.38, allocations: 384.3 kB / 3.472 GB, free: 22.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/10.38, allocations: 323.6 kB / 3.472 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/10.38, allocations: 3.906 kB / 3.472 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003547/10.38, allocations: 0.8722 MB / 3.473 GB, free: 21.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00162/10.38, allocations: 2.35 MB / 3.475 GB, free: 35.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/10.38, allocations: 11.95 kB / 3.475 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/10.39, allocations: 302 kB / 3.476 GB, free: 35.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009524/10.39, allocations: 138.7 kB / 3.476 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/10.39, allocations: 0.9589 MB / 3.477 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/10.39, allocations: 83.31 kB / 3.477 GB, free: 34.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-05/10.39, allocations: 37.95 kB / 3.477 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/10.39, allocations: 4 kB / 3.477 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003117/10.39, allocations: 0.7285 MB / 3.477 GB, free: 33.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/10.39, allocations: 11.42 kB / 3.477 GB, free: 33.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/10.4, allocations: 256.5 kB / 3.478 GB, free: 33.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009861/10.4, allocations: 158.5 kB / 3.478 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/10.4, allocations: 0.8271 MB / 3.479 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/10.4, allocations: 78.98 kB / 3.479 GB, free: 32.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.939e-05/10.4, allocations: 35.12 kB / 3.479 GB, free: 32.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003181/10.4, allocations: 131.5 kB / 3.479 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002395/10.4, allocations: 0.563 MB / 3.479 GB, free: 32.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/10.4, allocations: 59.25 kB / 3.48 GB, free: 32.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/10.41, allocations: 2.25 MB / 3.482 GB, free: 30.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.445e-05/10.41, allocations: 35.12 kB / 3.482 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/10.41, allocations: 0 / 3.482 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/10.41, allocations: 3.797 kB / 3.482 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0056/10.41, allocations: 3.068 MB / 3.485 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/10.41, allocations: 0 / 3.485 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009749/10.41, allocations: 140.8 kB / 3.485 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003952/10.41, allocations: 90.31 kB / 3.485 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/10.41, allocations: 15.22 kB / 3.485 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/10.41, allocations: 1.153 MB / 3.486 GB, free: 28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/10.41, allocations: 1.969 kB / 3.486 GB, free: 28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/10.42, allocations: 1.858 MB / 3.488 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000681/10.42, allocations: 331 kB / 3.488 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/10.42, allocations: 3.75 kB / 3.488 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008521/10.42, allocations: 62.25 kB / 3.488 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/10.42, allocations: 55.25 kB / 3.488 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-05/10.42, allocations: 18.94 kB / 3.488 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007358/10.42, allocations: 436.7 kB / 3.489 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.22e-07/10.42, allocations: 0 / 3.489 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007017/10.43, allocations: 1.342 MB / 3.49 GB, free: 25.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 17 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.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 (58): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01489/10.44, allocations: 4.114 MB / 3.494 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002936/10.45, allocations: 1.092 MB / 3.495 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/10.45, allocations: 0 / 3.495 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/10.45, allocations: 0.5828 MB / 3.496 GB, free: 20.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/10.45, allocations: 275.6 kB / 3.496 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6311/11.08, allocations: 85.09 MB / 3.579 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/11.08, allocations: 1.119 MB / 3.58 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001949/11.08, allocations: 0.668 MB / 3.581 GB, free: 79.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000674/11.09, allocations: 413.4 kB / 3.581 GB, free: 79.83 MB / 0.5105 GB Notification: Performance of SimCode: time 1.413e-06/11.09, allocations: 0 / 3.581 GB, free: 79.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1349/11.22, allocations: 49.28 MB / 3.629 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/11.22, allocations: 207.6 kB / 3.63 GB, free: 76.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.582/15.8, allocations: 0 / 3.63 GB, free: 76.78 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat