Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.249/2.249, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.954e-05, allocations: 0 / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3945, allocations: 54.86 MB / 354.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.98/8.374, allocations: 2.612 GB / 2.958 GB, free: 110.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/8.374, allocations: 79.91 kB / 2.958 GB, free: 110.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.156/10.53, allocations: 432.1 MB / 3.38 GB, free: 57.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.956e-06/10.53, allocations: 5.844 kB / 3.38 GB, free: 57.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.486e-05/10.53, allocations: 14.19 kB / 3.38 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.008465/10.54, allocations: 1.759 MB / 3.382 GB, free: 56.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/10.54, allocations: 16.69 kB / 3.382 GB, free: 56.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003778/10.54, allocations: 329 kB / 3.382 GB, free: 56.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/10.54, allocations: 0.5877 MB / 3.383 GB, free: 56.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/10.54, allocations: 34.45 kB / 3.383 GB, free: 56.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/10.55, allocations: 31.16 kB / 3.383 GB, free: 56.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001417/10.55, allocations: 0.5359 MB / 3.383 GB, free: 56.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/10.55, allocations: 0.6486 MB / 3.384 GB, free: 55.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/10.55, allocations: 1.125 kB / 3.384 GB, free: 55.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-05/10.55, allocations: 6.234 kB / 3.384 GB, free: 55.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/10.55, allocations: 36.36 kB / 3.384 GB, free: 55.95 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.2548/10.8, allocations: 68.51 MB / 3.451 GB, free: 36.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009719/10.8, allocations: 351.3 kB / 3.451 GB, free: 36.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/10.8, allocations: 170.8 kB / 3.451 GB, free: 36.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05235/10.86, allocations: 17.01 MB / 3.468 GB, free: 25.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.186e-05/10.86, allocations: 38.16 kB / 3.468 GB, free: 25.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 4.909e-06/10.86, allocations: 0 / 3.468 GB, free: 25.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54): time 0.03964/10.9, allocations: 3.262 MB / 3.471 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/10.9, allocations: 107.2 kB / 3.471 GB, free: 23.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007239/10.9, allocations: 421.6 kB / 3.472 GB, free: 23.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/10.9, allocations: 27.56 kB / 3.472 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/10.9, allocations: 375.1 kB / 3.472 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/10.9, allocations: 187.4 kB / 3.472 GB, free: 22.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/10.9, allocations: 0 / 3.472 GB, free: 22.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001871/10.9, allocations: 367.5 kB / 3.472 GB, free: 22.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006466/10.9, allocations: 260.9 kB / 3.473 GB, free: 22.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007937/10.9, allocations: 496.9 kB / 3.473 GB, free: 21.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/10.9, allocations: 428.1 kB / 3.474 GB, free: 21.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/10.9, allocations: 5.859 kB / 3.474 GB, free: 21.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003927/10.91, allocations: 1.077 MB / 3.475 GB, free: 21.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001742/10.91, allocations: 2.616 MB / 3.477 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/10.91, allocations: 8 kB / 3.477 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004047/10.91, allocations: 0.5464 MB / 3.478 GB, free: 33.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/10.91, allocations: 184.6 kB / 3.478 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/10.92, allocations: 1.773 MB / 3.48 GB, free: 32.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/10.92, allocations: 124.7 kB / 3.48 GB, free: 32.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/10.92, allocations: 50.34 kB / 3.48 GB, free: 32.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/10.92, allocations: 0 / 3.48 GB, free: 32.24 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003269/10.92, allocations: 0.819 MB / 3.481 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/10.92, allocations: 4 kB / 3.481 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/10.93, allocations: 375.4 kB / 3.481 GB, free: 31.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/10.93, allocations: 181.5 kB / 3.481 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/10.93, allocations: 1.468 MB / 3.483 GB, free: 30.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/10.93, allocations: 115.6 kB / 3.483 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.322e-05/10.93, allocations: 43.31 kB / 3.483 GB, free: 29.99 MB / 0.5105 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: 30 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.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 (68): * Single equations (assignments): 66 * 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.000407/10.93, allocations: 129.9 kB / 3.483 GB, free: 29.87 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004982/10.94, allocations: 0.9422 MB / 3.484 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/10.94, allocations: 63.25 kB / 3.484 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006723/10.94, allocations: 2.535 MB / 3.486 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.592e-05/10.94, allocations: 23.73 kB / 3.486 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/10.94, allocations: 3.188 kB / 3.486 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/10.94, allocations: 4.031 kB / 3.486 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006929/10.95, allocations: 3.289 MB / 3.49 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/10.95, allocations: 4 kB / 3.49 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/10.95, allocations: 94.02 kB / 3.49 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004098/10.95, allocations: 1.465 MB / 3.491 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-05/10.95, allocations: 11.89 kB / 3.491 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003971/10.96, allocations: 2.596 MB / 3.494 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/10.96, allocations: 128 / 3.494 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003607/10.96, allocations: 1.821 MB / 3.495 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005952/10.96, allocations: 282.7 kB / 3.496 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/10.96, allocations: 3.844 kB / 3.496 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/10.96, allocations: 94.5 kB / 3.496 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/10.96, allocations: 45.66 kB / 3.496 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.731e-05/10.96, allocations: 27.66 kB / 3.496 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007054/10.97, allocations: 432.6 kB / 3.496 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/10.97, allocations: 0 / 3.496 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007241/10.97, allocations: 1.502 MB / 3.498 GB, free: 18.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01484/10.99, allocations: 3.982 MB / 3.502 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004729/10.99, allocations: 1.305 MB / 3.503 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/10.99, allocations: 0 / 3.503 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/10.99, allocations: 0.6233 MB / 3.503 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/11, allocations: 251.6 kB / 3.504 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007807/11, allocations: 1.955 MB / 3.506 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007877/11, allocations: 1.058 MB / 3.507 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002291/11.01, allocations: 0.7798 MB / 3.507 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000622/11.01, allocations: 330.3 kB / 3.508 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of SimCode: time 3.126e-06/11.01, allocations: 0 / 3.508 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5275/11.54, allocations: 53.11 MB / 3.56 GB, free: 78.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/11.54, allocations: 196 kB / 3.56 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.896/16.43, allocations: 0 / 3.56 GB, free: 78.14 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat