Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.196e-05, allocations: 3.938 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1225, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.665/7.787, allocations: 2.502 GB / 2.81 GB, free: 89.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/7.788, allocations: 86.62 kB / 2.811 GB, free: 89.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.052/9.839, allocations: 421.3 MB / 3.222 GB, free: 11.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.275e-06/9.839, allocations: 0 / 3.222 GB, free: 11.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.862e-05/9.839, allocations: 23.94 kB / 3.222 GB, free: 11.44 MB / 442.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.008333/9.848, allocations: 1.704 MB / 3.224 GB, free: 9.699 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/9.848, allocations: 12.03 kB / 3.224 GB, free: 9.688 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003822/9.852, allocations: 314.8 kB / 3.224 GB, free: 9.379 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/9.854, allocations: 0.5719 MB / 3.224 GB, free: 8.773 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.445e-05/9.854, allocations: 24 kB / 3.224 GB, free: 8.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/9.854, allocations: 32 kB / 3.225 GB, free: 8.719 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001745/9.856, allocations: 0.5382 MB / 3.225 GB, free: 8.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/9.857, allocations: 0.651 MB / 3.226 GB, free: 7.465 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/9.857, allocations: 3.938 kB / 3.226 GB, free: 7.461 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.906e-05/9.858, allocations: 7.938 kB / 3.226 GB, free: 7.453 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/9.858, allocations: 21.31 kB / 3.226 GB, free: 7.434 MB / 442.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.4665/10.32, allocations: 36.58 MB / 3.261 GB, free: 29.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/10.33, allocations: 339.6 kB / 3.262 GB, free: 29.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/10.33, allocations: 189.5 kB / 3.262 GB, free: 29.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05869/10.38, allocations: 20.01 MB / 3.281 GB, free: 32.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/10.38, allocations: 43.05 kB / 3.281 GB, free: 32.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.597e-06/10.38, allocations: 0 / 3.281 GB, free: 32.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=55): time 0.03863/10.42, allocations: 3.27 MB / 3.285 GB, free: 32.21 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/10.42, allocations: 118.9 kB / 3.285 GB, free: 32.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000712/10.42, allocations: 398.5 kB / 3.285 GB, free: 31.97 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/10.42, allocations: 25.7 kB / 3.285 GB, free: 31.94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/10.42, allocations: 402.1 kB / 3.286 GB, free: 31.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/10.42, allocations: 177.9 kB / 3.286 GB, free: 31.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/10.42, allocations: 0 / 3.286 GB, free: 31.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/10.42, allocations: 339 kB / 3.286 GB, free: 31.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/10.43, allocations: 268.2 kB / 3.286 GB, free: 31.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007308/10.43, allocations: 478.8 kB / 3.287 GB, free: 31.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/10.43, allocations: 469.6 kB / 3.287 GB, free: 31.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/10.43, allocations: 3.406 kB / 3.287 GB, free: 31.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004272/10.43, allocations: 1.087 MB / 3.288 GB, free: 30.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009601/10.43, allocations: 2.435 MB / 3.291 GB, free: 28.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/10.43, allocations: 7.484 kB / 3.291 GB, free: 28.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003861/10.44, allocations: 0.5706 MB / 3.291 GB, free: 28.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/10.44, allocations: 161.8 kB / 3.291 GB, free: 28.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/10.44, allocations: 1.742 MB / 3.293 GB, free: 27.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/10.44, allocations: 110.3 kB / 3.293 GB, free: 27.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/10.44, allocations: 46.64 kB / 3.293 GB, free: 27.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/10.45, allocations: 3.344 kB / 3.293 GB, free: 27.3 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004845/10.45, allocations: 0.9294 MB / 3.294 GB, free: 27.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/10.45, allocations: 7.875 kB / 3.294 GB, free: 27.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/10.45, allocations: 333.3 kB / 3.294 GB, free: 27.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/10.45, allocations: 166.8 kB / 3.295 GB, free: 27.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/10.46, allocations: 1.46 MB / 3.296 GB, free: 26.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/10.46, allocations: 88.22 kB / 3.296 GB, free: 26.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/10.46, allocations: 38.42 kB / 3.296 GB, free: 26.18 MB / 458.7 MB 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.0004932/10.46, allocations: 134.2 kB / 3.296 GB, free: 26.06 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004182/10.46, allocations: 0.8904 MB / 3.297 GB, free: 25.97 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/10.46, allocations: 66.02 kB / 3.297 GB, free: 25.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007611/10.47, allocations: 3.287 MB / 3.3 GB, free: 25.65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.638e-05/10.47, allocations: 38.27 kB / 3.301 GB, free: 25.65 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/10.47, allocations: 0 / 3.301 GB, free: 25.65 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/10.47, allocations: 3.797 kB / 3.301 GB, free: 25.65 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008255/10.48, allocations: 4.248 MB / 3.305 GB, free: 25.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/10.48, allocations: 10.12 kB / 3.305 GB, free: 25.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/10.48, allocations: 84.03 kB / 3.305 GB, free: 25.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004173/10.48, allocations: 1.522 MB / 3.306 GB, free: 25.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/10.48, allocations: 7.672 kB / 3.306 GB, free: 25.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004186/10.49, allocations: 2.625 MB / 3.309 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/10.49, allocations: 0 / 3.309 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004818/10.49, allocations: 2.297 MB / 3.311 GB, free: 23.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008318/10.49, allocations: 299.4 kB / 3.311 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/10.49, allocations: 0 / 3.311 GB, free: 23.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/10.49, allocations: 93.11 kB / 3.311 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/10.5, allocations: 55.34 kB / 3.311 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.885e-05/10.5, allocations: 23.72 kB / 3.311 GB, free: 23.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006492/10.5, allocations: 356.8 kB / 3.312 GB, free: 23.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/10.5, allocations: 0 / 3.312 GB, free: 23.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007822/10.5, allocations: 1.485 MB / 3.313 GB, free: 23.5 MB / 458.7 MB 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.01759/10.52, allocations: 4.452 MB / 3.318 GB, free: 22.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004764/10.53, allocations: 1.52 MB / 3.319 GB, free: 22.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/10.53, allocations: 2.438 kB / 3.319 GB, free: 22.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001845/10.53, allocations: 0.8928 MB / 3.32 GB, free: 22.42 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/10.53, allocations: 264.6 kB / 3.32 GB, free: 22.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009243/10.54, allocations: 2.37 MB / 3.323 GB, free: 21.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/10.54, allocations: 1.125 MB / 3.324 GB, free: 21.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008062/10.54, allocations: 374.2 kB / 3.324 GB, free: 21.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.432e-06/10.54, allocations: 0 / 3.324 GB, free: 21.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.235/14.78, allocations: 48.69 MB / 3.372 GB, free: 15.56 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat