Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.513e-05/2.508e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.487/7.599, allocations: 2.485 GB / 2.794 GB, free: 103.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/7.6, allocations: 86.58 kB / 2.794 GB, free: 103.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003/9.603, allocations: 403.4 MB / 3.188 GB, free: 32.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.834e-06/9.603, allocations: 0 / 3.188 GB, free: 32.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.218e-05/9.603, allocations: 15.12 kB / 3.188 GB, free: 32.54 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007062/9.61, allocations: 1.598 MB / 3.189 GB, free: 31.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/9.61, allocations: 12.03 kB / 3.189 GB, free: 31.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003163/9.613, allocations: 289.9 kB / 3.189 GB, free: 30.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/9.615, allocations: 0.5445 MB / 3.19 GB, free: 30.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/9.615, allocations: 24 kB / 3.19 GB, free: 30.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-05/9.615, allocations: 28 kB / 3.19 GB, free: 30.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001277/9.616, allocations: 0.5083 MB / 3.191 GB, free: 29.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/9.618, allocations: 0.633 MB / 3.191 GB, free: 29.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/9.618, allocations: 7.891 kB / 3.191 GB, free: 29.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.411e-05/9.618, allocations: 4 kB / 3.191 GB, free: 29.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/9.618, allocations: 17.31 kB / 3.191 GB, free: 29.16 MB / 426.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.1252/9.743, allocations: 36.43 MB / 3.227 GB, free: 6.781 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/9.744, allocations: 390.1 kB / 3.227 GB, free: 6.398 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/9.745, allocations: 185.5 kB / 3.227 GB, free: 6.215 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3841/10.13, allocations: 19.99 MB / 3.247 GB, free: 49.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/10.13, allocations: 35.77 kB / 3.247 GB, free: 49.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 3.777e-06/10.13, allocations: 0 / 3.247 GB, free: 49.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=53): time 0.01451/10.14, allocations: 2.34 MB / 3.249 GB, free: 48.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/10.14, allocations: 110 kB / 3.249 GB, free: 48.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007589/10.14, allocations: 367.5 kB / 3.25 GB, free: 48.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001354/10.14, allocations: 25.7 kB / 3.25 GB, free: 48.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/10.14, allocations: 389.1 kB / 3.25 GB, free: 48.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/10.15, allocations: 172.1 kB / 3.25 GB, free: 48.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/10.15, allocations: 1 kB / 3.25 GB, free: 48.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/10.15, allocations: 342.2 kB / 3.25 GB, free: 47.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/10.15, allocations: 213 kB / 3.251 GB, free: 47.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/10.15, allocations: 417.3 kB / 3.251 GB, free: 47.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/10.15, allocations: 382.8 kB / 3.251 GB, free: 47.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/10.15, allocations: 2.406 kB / 3.251 GB, free: 47.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004835/10.15, allocations: 0.9822 MB / 3.252 GB, free: 47.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005959/10.15, allocations: 2.352 MB / 3.255 GB, free: 45.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/10.15, allocations: 5.75 kB / 3.255 GB, free: 45.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003609/10.16, allocations: 420.5 kB / 3.255 GB, free: 45.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/10.16, allocations: 145.3 kB / 3.255 GB, free: 45.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/10.16, allocations: 1.555 MB / 3.257 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/10.16, allocations: 89.66 kB / 3.257 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/10.16, allocations: 40.61 kB / 3.257 GB, free: 44.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/10.16, allocations: 3.625 kB / 3.257 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004844/10.17, allocations: 0.8816 MB / 3.258 GB, free: 44.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/10.17, allocations: 10.09 kB / 3.258 GB, free: 44.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/10.17, allocations: 318.1 kB / 3.258 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009932/10.17, allocations: 142.2 kB / 3.258 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/10.17, allocations: 1.463 MB / 3.26 GB, free: 43.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/10.17, allocations: 75.16 kB / 3.26 GB, free: 43.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/10.18, allocations: 37.09 kB / 3.26 GB, free: 43.04 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" 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: 27 * 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 (62): * Single equations (assignments): 60 * 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 9,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003844/10.18, allocations: 136.6 kB / 3.26 GB, free: 42.93 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00369/10.18, allocations: 0.7386 MB / 3.261 GB, free: 42.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/10.18, allocations: 59.36 kB / 3.261 GB, free: 42.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006529/10.19, allocations: 2.921 MB / 3.264 GB, free: 42.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.326e-05/10.19, allocations: 45.73 kB / 3.264 GB, free: 42.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/10.19, allocations: 0 / 3.264 GB, free: 42.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/10.19, allocations: 3.703 kB / 3.264 GB, free: 42.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007652/10.19, allocations: 3.848 MB / 3.267 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/10.19, allocations: 0 / 3.267 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006026/10.19, allocations: 88.09 kB / 3.267 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003097/10.2, allocations: 0.9548 MB / 3.268 GB, free: 42.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.327e-05/10.2, allocations: 7.172 kB / 3.268 GB, free: 42.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/10.2, allocations: 2.113 MB / 3.27 GB, free: 41.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/10.2, allocations: 0 / 3.27 GB, free: 41.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/10.21, allocations: 2.006 MB / 3.272 GB, free: 40.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006163/10.21, allocations: 274.8 kB / 3.273 GB, free: 40.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/10.21, allocations: 7.672 kB / 3.273 GB, free: 40.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009624/10.21, allocations: 72.75 kB / 3.273 GB, free: 40.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/10.21, allocations: 52.19 kB / 3.273 GB, free: 40.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/10.21, allocations: 32.59 kB / 3.273 GB, free: 40.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000507/10.21, allocations: 331.2 kB / 3.273 GB, free: 40.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.3e-07/10.21, allocations: 0 / 3.273 GB, free: 40.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006535/10.21, allocations: 1.338 MB / 3.274 GB, free: 40.5 MB / 442.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 (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01456/10.23, allocations: 4.07 MB / 3.278 GB, free: 39.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004234/10.23, allocations: 1.331 MB / 3.28 GB, free: 39.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/10.23, allocations: 0 / 3.28 GB, free: 39.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/10.23, allocations: 0.7773 MB / 3.28 GB, free: 39.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/10.24, allocations: 261.1 kB / 3.281 GB, free: 39.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007786/10.25, allocations: 2.187 MB / 3.283 GB, free: 38.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/10.25, allocations: 1.1 MB / 3.284 GB, free: 38.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006887/10.25, allocations: 357.5 kB / 3.284 GB, free: 38.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.323e-06/10.25, allocations: 0 / 3.284 GB, free: 38.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.925/14.17, allocations: 45.21 MB / 3.328 GB, free: 34.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat