Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.253e-05, allocations: 4 kB / 299.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3891, allocations: 54.85 MB / 354.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.761/8.15, allocations: 2.612 GB / 2.958 GB, free: 110.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/8.151, allocations: 82 kB / 2.958 GB, free: 110.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.113/10.26, allocations: 431.9 MB / 3.38 GB, free: 57.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.424e-06/10.26, allocations: 3.812 kB / 3.38 GB, free: 57.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.27e-05/10.26, allocations: 15.78 kB / 3.38 GB, free: 57.21 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.009249/10.27, allocations: 1.743 MB / 3.382 GB, free: 56.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/10.27, allocations: 10.66 kB / 3.382 GB, free: 56.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/10.28, allocations: 329 kB / 3.382 GB, free: 56.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/10.28, allocations: 0.5805 MB / 3.382 GB, free: 56.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/10.28, allocations: 27.02 kB / 3.382 GB, free: 56.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/10.28, allocations: 39.16 kB / 3.382 GB, free: 56.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00134/10.28, allocations: 0.5352 MB / 3.383 GB, free: 56.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/10.28, allocations: 0.6467 MB / 3.384 GB, free: 55.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/10.28, allocations: 3.938 kB / 3.384 GB, free: 55.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/10.28, allocations: 5.859 kB / 3.384 GB, free: 55.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/10.28, allocations: 21.19 kB / 3.384 GB, free: 55.92 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.41, allocations: 36.63 MB / 3.419 GB, free: 36.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/10.41, allocations: 332.8 kB / 3.42 GB, free: 36.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/10.41, allocations: 194.8 kB / 3.42 GB, free: 36.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07416/10.48, allocations: 20.05 MB / 3.439 GB, free: 39.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/10.48, allocations: 40.52 kB / 3.44 GB, free: 39.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 3.797e-06/10.48, allocations: 0 / 3.44 GB, free: 39.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.03831/10.52, allocations: 3.27 MB / 3.443 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/10.52, allocations: 107 kB / 3.443 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/10.52, allocations: 402.6 kB / 3.443 GB, free: 38.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.351e-05/10.52, allocations: 25.7 kB / 3.443 GB, free: 38.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/10.52, allocations: 365.7 kB / 3.444 GB, free: 38.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/10.52, allocations: 183.5 kB / 3.444 GB, free: 38.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/10.52, allocations: 0 / 3.444 GB, free: 38.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001816/10.52, allocations: 371.5 kB / 3.444 GB, free: 38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/10.52, allocations: 270.8 kB / 3.444 GB, free: 38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007042/10.52, allocations: 473 kB / 3.445 GB, free: 37.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/10.53, allocations: 466.5 kB / 3.445 GB, free: 37.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/10.53, allocations: 7.922 kB / 3.445 GB, free: 37.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00411/10.53, allocations: 1.11 MB / 3.446 GB, free: 37.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001004/10.53, allocations: 2.438 MB / 3.449 GB, free: 35.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/10.53, allocations: 7.031 kB / 3.449 GB, free: 35.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003745/10.54, allocations: 0.5729 MB / 3.449 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/10.54, allocations: 156.4 kB / 3.449 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003583/10.54, allocations: 1.748 MB / 3.451 GB, free: 33.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/10.54, allocations: 102.6 kB / 3.451 GB, free: 33.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/10.54, allocations: 51.94 kB / 3.451 GB, free: 33.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/10.54, allocations: 3.656 kB / 3.451 GB, free: 33.96 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004556/10.55, allocations: 0.9347 MB / 3.452 GB, free: 33.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/10.55, allocations: 7.906 kB / 3.452 GB, free: 33.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/10.55, allocations: 367.7 kB / 3.453 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/10.55, allocations: 167.9 kB / 3.453 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/10.55, allocations: 1.474 MB / 3.454 GB, free: 32.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/10.55, allocations: 82 kB / 3.454 GB, free: 32.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.987e-05/10.55, allocations: 39.84 kB / 3.454 GB, free: 32.82 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 (65): * Single equations (assignments): 63 * 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.0004309/10.55, allocations: 131.1 kB / 3.454 GB, free: 32.7 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00385/10.56, allocations: 0.8887 MB / 3.455 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/10.56, allocations: 61.06 kB / 3.455 GB, free: 32.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007019/10.57, allocations: 3.28 MB / 3.459 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.373e-05/10.57, allocations: 40.17 kB / 3.459 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/10.57, allocations: 0 / 3.459 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/10.57, allocations: 3.281 kB / 3.459 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007673/10.57, allocations: 4.239 MB / 3.463 GB, free: 31.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/10.57, allocations: 0 / 3.463 GB, free: 31.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/10.57, allocations: 87.98 kB / 3.463 GB, free: 31.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003967/10.58, allocations: 1.526 MB / 3.464 GB, free: 31.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/10.58, allocations: 10.53 kB / 3.464 GB, free: 31.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/10.58, allocations: 2.618 MB / 3.467 GB, free: 29.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/10.58, allocations: 7.812 kB / 3.467 GB, free: 29.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004316/10.59, allocations: 2.299 MB / 3.469 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006389/10.59, allocations: 295.6 kB / 3.469 GB, free: 28.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/10.59, allocations: 3.625 kB / 3.469 GB, free: 28.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/10.59, allocations: 88.5 kB / 3.469 GB, free: 28.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/10.59, allocations: 54.42 kB / 3.47 GB, free: 28.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/10.59, allocations: 26.47 kB / 3.47 GB, free: 28.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005914/10.59, allocations: 355.7 kB / 3.47 GB, free: 27.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/10.59, allocations: 1.969 kB / 3.47 GB, free: 27.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006823/10.6, allocations: 1.496 MB / 3.471 GB, free: 27.39 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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01647/10.61, allocations: 4.45 MB / 3.476 GB, free: 23.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00482/10.62, allocations: 1.533 MB / 3.477 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/10.62, allocations: 0 / 3.477 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/10.62, allocations: 0.9032 MB / 3.478 GB, free: 21.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/10.62, allocations: 270 kB / 3.478 GB, free: 21.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0081/10.63, allocations: 2.351 MB / 3.481 GB, free: 18.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007791/10.63, allocations: 1.117 MB / 3.482 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00205/10.63, allocations: 0.7351 MB / 3.482 GB, free: 17.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/10.63, allocations: 373 kB / 3.483 GB, free: 17.15 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/10.63, allocations: 3.938 kB / 3.483 GB, free: 17.15 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5147/11.15, allocations: 55.21 MB / 3.537 GB, free: 57.23 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/11.15, allocations: 202 kB / 3.537 GB, free: 57.03 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.924/16.07, allocations: 0 / 3.537 GB, free: 57.03 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat