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.383/2.383, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.364e-05, allocations: 4 kB / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3837, allocations: 54.86 MB / 354.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.476/7.86, allocations: 2.612 GB / 2.958 GB, free: 110.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/7.86, allocations: 81.25 kB / 2.958 GB, free: 110.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.141/10, allocations: 433.1 MB / 3.381 GB, free: 56.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.234e-06/10, allocations: 1.594 kB / 3.381 GB, free: 56.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.4e-05/10, allocations: 20 kB / 3.381 GB, free: 56.52 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.008293/10.01, allocations: 1.781 MB / 3.383 GB, free: 55.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/10.01, allocations: 11.72 kB / 3.383 GB, free: 55.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/10.01, allocations: 325 kB / 3.383 GB, free: 55.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/10.02, allocations: 0.5957 MB / 3.384 GB, free: 55.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/10.02, allocations: 30.08 kB / 3.384 GB, free: 55.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/10.02, allocations: 33.34 kB / 3.384 GB, free: 55.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001502/10.02, allocations: 0.5618 MB / 3.385 GB, free: 55.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/10.02, allocations: 0.6679 MB / 3.385 GB, free: 55.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/10.02, allocations: 1.875 kB / 3.385 GB, free: 55.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/10.02, allocations: 3.938 kB / 3.385 GB, free: 55.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/10.02, allocations: 26.12 kB / 3.385 GB, free: 55.2 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.1251/10.14, allocations: 36.63 MB / 3.421 GB, free: 36.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/10.15, allocations: 460.2 kB / 3.422 GB, free: 36.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/10.15, allocations: 205.8 kB / 3.422 GB, free: 36.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05829/10.2, allocations: 20.05 MB / 3.441 GB, free: 38.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/10.21, allocations: 38.69 kB / 3.441 GB, free: 38.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=43): time 3.507e-06/10.21, allocations: 0 / 3.441 GB, free: 38.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=63): time 0.04117/10.25, allocations: 3.621 MB / 3.445 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/10.25, allocations: 109.8 kB / 3.445 GB, free: 38.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/10.25, allocations: 419.5 kB / 3.445 GB, free: 38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/10.25, allocations: 25.7 kB / 3.445 GB, free: 37.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/10.25, allocations: 366.2 kB / 3.446 GB, free: 37.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/10.25, allocations: 206.8 kB / 3.446 GB, free: 37.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/10.25, allocations: 0 / 3.446 GB, free: 37.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001913/10.25, allocations: 374 kB / 3.446 GB, free: 37.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/10.25, allocations: 329.8 kB / 3.447 GB, free: 37.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008619/10.25, allocations: 0.5325 MB / 3.447 GB, free: 37.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003094/10.25, allocations: 0.549 MB / 3.448 GB, free: 37.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/10.25, allocations: 3.938 kB / 3.448 GB, free: 37.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005234/10.26, allocations: 1.326 MB / 3.449 GB, free: 36.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009976/10.26, allocations: 2.435 MB / 3.451 GB, free: 34.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/10.26, allocations: 14.25 kB / 3.451 GB, free: 34.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00561/10.26, allocations: 0.8097 MB / 3.452 GB, free: 34.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/10.27, allocations: 170 kB / 3.452 GB, free: 34.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004641/10.27, allocations: 1.97 MB / 3.454 GB, free: 33.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/10.27, allocations: 121.1 kB / 3.454 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/10.27, allocations: 54.75 kB / 3.454 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/10.27, allocations: 3.719 kB / 3.454 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004412/10.28, allocations: 0.9684 MB / 3.455 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/10.28, allocations: 7.406 kB / 3.455 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/10.28, allocations: 364.3 kB / 3.456 GB, free: 33.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/10.28, allocations: 199.3 kB / 3.456 GB, free: 33.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/10.28, allocations: 1.476 MB / 3.457 GB, free: 32.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/10.29, allocations: 102 kB / 3.457 GB, free: 32.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/10.29, allocations: 43.62 kB / 3.458 GB, free: 32.11 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (69): * Single equations (assignments): 67 * 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.0004328/10.29, allocations: 131.1 kB / 3.458 GB, free: 32 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004702/10.29, allocations: 1.063 MB / 3.459 GB, free: 31.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/10.29, allocations: 70.59 kB / 3.459 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007655/10.3, allocations: 3.437 MB / 3.462 GB, free: 31.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.337e-05/10.3, allocations: 38.39 kB / 3.462 GB, free: 31.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/10.3, allocations: 0 / 3.462 GB, free: 31.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/10.3, allocations: 11.25 kB / 3.462 GB, free: 31.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009408/10.31, allocations: 4.637 MB / 3.467 GB, free: 29.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/10.31, allocations: 3.469 kB / 3.467 GB, free: 29.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/10.31, allocations: 88.64 kB / 3.467 GB, free: 29.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005508/10.31, allocations: 1.71 MB / 3.468 GB, free: 29.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/10.31, allocations: 22.09 kB / 3.468 GB, free: 29.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/10.32, allocations: 2.8 MB / 3.471 GB, free: 26.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/10.32, allocations: 0 / 3.471 GB, free: 26.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00609/10.33, allocations: 2.584 MB / 3.474 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007483/10.33, allocations: 312 kB / 3.474 GB, free: 24.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/10.33, allocations: 0 / 3.474 GB, free: 24.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/10.33, allocations: 102 kB / 3.474 GB, free: 24.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/10.33, allocations: 63.5 kB / 3.474 GB, free: 24.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/10.33, allocations: 35.69 kB / 3.474 GB, free: 24.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006214/10.33, allocations: 359.8 kB / 3.475 GB, free: 23.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-07/10.33, allocations: 0 / 3.475 GB, free: 23.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007026/10.34, allocations: 1.524 MB / 3.476 GB, free: 22.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.01844/10.35, allocations: 4.795 MB / 3.481 GB, free: 18.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005228/10.36, allocations: 1.713 MB / 3.482 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/10.36, allocations: 4.125 kB / 3.482 GB, free: 16.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/10.36, allocations: 0.9601 MB / 3.483 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/10.36, allocations: 280.6 kB / 3.484 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00829/10.37, allocations: 2.433 MB / 3.486 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/10.37, allocations: 1.137 MB / 3.487 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002158/10.38, allocations: 0.744 MB / 3.488 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/10.38, allocations: 383.5 kB / 3.488 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/10.38, allocations: 0 / 3.488 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5181/10.89, allocations: 57.58 MB / 3.544 GB, free: 60.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/10.89, allocations: 195.4 kB / 3.545 GB, free: 60.06 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.295/16.19, allocations: 2.875 kB / 3.545 GB, free: 60.06 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