Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.563/2.563, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/2.008e-05, allocations: 0 / 299.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.425, allocations: 54.87 MB / 354.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.414/8.839, allocations: 2.612 GB / 2.958 GB, free: 110.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/8.839, allocations: 85.97 kB / 2.958 GB, free: 110.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.323/11.16, allocations: 432.1 MB / 3.38 GB, free: 56.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/11.16, allocations: 0 / 3.38 GB, free: 56.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.696e-05/11.16, allocations: 21.98 kB / 3.38 GB, free: 56.6 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.007737/11.17, allocations: 1.761 MB / 3.382 GB, free: 55.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/11.17, allocations: 15.59 kB / 3.382 GB, free: 55.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003815/11.17, allocations: 326.5 kB / 3.382 GB, free: 55.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/11.18, allocations: 0.5902 MB / 3.383 GB, free: 55.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/11.18, allocations: 28.64 kB / 3.383 GB, free: 55.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/11.18, allocations: 29.66 kB / 3.383 GB, free: 55.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001516/11.18, allocations: 0.535 MB / 3.383 GB, free: 55.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/11.18, allocations: 0.6532 MB / 3.384 GB, free: 55.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/11.18, allocations: 2.344 kB / 3.384 GB, free: 55.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.681e-05/11.18, allocations: 3.906 kB / 3.384 GB, free: 55.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/11.18, allocations: 26.28 kB / 3.384 GB, free: 55.3 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.2719/11.45, allocations: 68.51 MB / 3.451 GB, free: 35.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/11.45, allocations: 354 kB / 3.451 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/11.45, allocations: 167.3 kB / 3.451 GB, free: 35.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05818/11.51, allocations: 17.02 MB / 3.468 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/11.51, allocations: 33.31 kB / 3.468 GB, free: 24.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 3.717e-06/11.51, allocations: 0 / 3.468 GB, free: 24.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54): time 0.04397/11.55, allocations: 3.258 MB / 3.471 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/11.55, allocations: 115 kB / 3.471 GB, free: 22.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/11.56, allocations: 416.1 kB / 3.472 GB, free: 22.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/11.56, allocations: 25.7 kB / 3.472 GB, free: 22.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/11.56, allocations: 384.5 kB / 3.472 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/11.56, allocations: 175.3 kB / 3.472 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/11.56, allocations: 4 kB / 3.472 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002187/11.56, allocations: 368.9 kB / 3.473 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006972/11.56, allocations: 261 kB / 3.473 GB, free: 21.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008165/11.56, allocations: 494.1 kB / 3.473 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/11.56, allocations: 431 kB / 3.474 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/11.56, allocations: 4 kB / 3.474 GB, free: 20.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004498/11.57, allocations: 1.074 MB / 3.475 GB, free: 19.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001865/11.57, allocations: 2.619 MB / 3.477 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/11.57, allocations: 12 kB / 3.477 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004638/11.57, allocations: 0.5462 MB / 3.478 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/11.57, allocations: 179.9 kB / 3.478 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004865/11.58, allocations: 1.783 MB / 3.48 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/11.58, allocations: 128.5 kB / 3.48 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/11.58, allocations: 49.47 kB / 3.48 GB, free: 31.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/11.58, allocations: 4 kB / 3.48 GB, free: 31.16 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003745/11.58, allocations: 0.8125 MB / 3.481 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/11.58, allocations: 8 kB / 3.481 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003037/11.59, allocations: 367 kB / 3.481 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/11.59, allocations: 186.8 kB / 3.481 GB, free: 30.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/11.59, allocations: 1.463 MB / 3.483 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/11.59, allocations: 109.6 kB / 3.483 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/11.59, allocations: 38.92 kB / 3.483 GB, free: 28.92 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.0004379/11.59, allocations: 133.5 kB / 3.483 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005709/11.6, allocations: 0.9497 MB / 3.484 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/11.6, allocations: 63.25 kB / 3.484 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007647/11.61, allocations: 2.548 MB / 3.486 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-05/11.61, allocations: 21.14 kB / 3.486 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/11.61, allocations: 0 / 3.486 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/11.61, allocations: 3.656 kB / 3.486 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007377/11.61, allocations: 3.284 MB / 3.49 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/11.61, allocations: 0 / 3.49 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/11.62, allocations: 97.73 kB / 3.49 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00463/11.62, allocations: 1.46 MB / 3.491 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/11.62, allocations: 11.8 kB / 3.491 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004433/11.62, allocations: 2.597 MB / 3.494 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/11.62, allocations: 128 / 3.494 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004056/11.63, allocations: 1.818 MB / 3.495 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006982/11.63, allocations: 281 kB / 3.496 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/11.63, allocations: 3.891 kB / 3.496 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/11.63, allocations: 100.4 kB / 3.496 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/11.63, allocations: 48.81 kB / 3.496 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-05/11.63, allocations: 24.31 kB / 3.496 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008094/11.63, allocations: 439.9 kB / 3.496 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/11.63, allocations: 0 / 3.496 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0077/11.64, allocations: 1.509 MB / 3.498 GB, free: 16.91 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.01601/11.66, allocations: 3.963 MB / 3.502 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00513/11.66, allocations: 1.302 MB / 3.503 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/11.66, allocations: 0 / 3.503 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/11.66, allocations: 0.6282 MB / 3.504 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/11.67, allocations: 253.7 kB / 3.504 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/11.67, allocations: 1.958 MB / 3.506 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008701/11.67, allocations: 1.066 MB / 3.507 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002585/11.68, allocations: 0.778 MB / 3.508 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007129/11.68, allocations: 321.3 kB / 3.508 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/11.68, allocations: 0 / 3.508 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5698/12.25, allocations: 53.12 MB / 3.56 GB, free: 79.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002848/12.25, allocations: 204.5 kB / 3.56 GB, free: 78.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.334/17.58, allocations: 0 / 3.56 GB, free: 78.79 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat