Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.751e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.077/8.193, allocations: 2.502 GB / 2.817 GB, free: 59.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/8.193, allocations: 84.39 kB / 2.817 GB, free: 59.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.453/10.65, allocations: 426.4 MB / 3.233 GB, free: 46.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.695e-06/10.65, allocations: 3.906 kB / 3.233 GB, free: 46.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.414e-05/10.65, allocations: 20.03 kB / 3.233 GB, free: 46.93 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.008138/10.66, allocations: 1.737 MB / 3.235 GB, free: 46.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.993e-05/10.66, allocations: 10.09 kB / 3.235 GB, free: 46.24 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002816/10.66, allocations: 103.2 kB / 3.235 GB, free: 46.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/10.66, allocations: 311.8 kB / 3.235 GB, free: 46.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/10.66, allocations: 0.5878 MB / 3.236 GB, free: 45.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/10.66, allocations: 54.16 kB / 3.236 GB, free: 45.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/10.66, allocations: 58.09 kB / 3.236 GB, free: 45.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003338/10.66, allocations: 0.981 MB / 3.237 GB, free: 45.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/10.66, allocations: 3.875 kB / 3.237 GB, free: 45.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/10.67, allocations: 28.91 kB / 3.237 GB, free: 45.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/10.67, allocations: 23.38 kB / 3.237 GB, free: 45.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003109/10.67, allocations: 0.8145 MB / 3.238 GB, free: 45.72 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.008392/10.68, allocations: 4.75 MB / 3.242 GB, free: 42.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/10.68, allocations: 0.7348 MB / 3.243 GB, free: 42.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/10.68, allocations: 232.6 kB / 3.243 GB, free: 42.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06469/10.75, allocations: 21.4 MB / 3.264 GB, free: 28.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/10.75, allocations: 38.58 kB / 3.264 GB, free: 28.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 3.687e-06/10.75, allocations: 0 / 3.264 GB, free: 28.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=68): time 0.04571/10.79, allocations: 3.999 MB / 3.268 GB, free: 28.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/10.79, allocations: 115 kB / 3.268 GB, free: 28.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008281/10.79, allocations: 440.8 kB / 3.269 GB, free: 28.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002248/10.79, allocations: 36.08 kB / 3.269 GB, free: 28.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/10.79, allocations: 390.6 kB / 3.269 GB, free: 27.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/10.79, allocations: 226.5 kB / 3.269 GB, free: 27.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/10.79, allocations: 17.06 kB / 3.269 GB, free: 27.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/10.79, allocations: 349.4 kB / 3.27 GB, free: 27.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008996/10.79, allocations: 336.5 kB / 3.27 GB, free: 27.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/10.8, allocations: 0.5353 MB / 3.271 GB, free: 27.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/10.8, allocations: 392 kB / 3.271 GB, free: 27.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/10.8, allocations: 2.656 kB / 3.271 GB, free: 27.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003615/10.8, allocations: 1.154 MB / 3.272 GB, free: 27.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005925/10.8, allocations: 2.447 MB / 3.275 GB, free: 24.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/10.8, allocations: 6.688 kB / 3.275 GB, free: 24.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/10.81, allocations: 1.31 MB / 3.276 GB, free: 24.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/10.81, allocations: 169.3 kB / 3.276 GB, free: 24.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/10.82, allocations: 1.762 MB / 3.278 GB, free: 23.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/10.82, allocations: 119.5 kB / 3.278 GB, free: 23.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/10.82, allocations: 50.39 kB / 3.278 GB, free: 23.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/10.82, allocations: 3.812 kB / 3.278 GB, free: 23.4 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003875/10.82, allocations: 1.122 MB / 3.279 GB, free: 23.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/10.82, allocations: 3.938 kB / 3.279 GB, free: 23.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004919/10.83, allocations: 0.6884 MB / 3.28 GB, free: 23.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/10.83, allocations: 184.5 kB / 3.28 GB, free: 23.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/10.83, allocations: 1.642 MB / 3.281 GB, free: 22.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/10.84, allocations: 114.5 kB / 3.282 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/10.84, allocations: 51.72 kB / 3.282 GB, free: 22.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003683/10.84, allocations: 158.2 kB / 3.282 GB, free: 22.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/10.84, allocations: 70.02 kB / 3.282 GB, free: 22.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008424/10.84, allocations: 4.086 MB / 3.286 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.11e-05/10.84, allocations: 45.34 kB / 3.286 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/10.84, allocations: 0 / 3.286 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/10.84, allocations: 3.703 kB / 3.286 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/10.85, allocations: 5.349 MB / 3.291 GB, free: 21.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/10.85, allocations: 0 / 3.291 GB, free: 21.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008328/10.86, allocations: 108.8 kB / 3.291 GB, free: 21.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01255/10.87, allocations: 2.23 MB / 3.293 GB, free: 21.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/10.87, allocations: 24.28 kB / 3.293 GB, free: 21.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/10.87, allocations: 2.516 MB / 3.296 GB, free: 20.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/10.87, allocations: 1.938 kB / 3.296 GB, free: 20.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006089/10.88, allocations: 2.742 MB / 3.298 GB, free: 19.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008936/10.88, allocations: 360.8 kB / 3.299 GB, free: 19.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/10.88, allocations: 15.5 kB / 3.299 GB, free: 19.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/10.88, allocations: 110.9 kB / 3.299 GB, free: 19.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/10.88, allocations: 69.34 kB / 3.299 GB, free: 19.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/10.88, allocations: 36.27 kB / 3.299 GB, free: 19.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007521/10.88, allocations: 430.6 kB / 3.299 GB, free: 19.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.51e-07/10.88, allocations: 2.734 kB / 3.299 GB, free: 19.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007755/10.89, allocations: 1.575 MB / 3.301 GB, free: 19.15 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: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01681/10.91, allocations: 4.77 MB / 3.306 GB, free: 17.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005331/10.91, allocations: 1.882 MB / 3.307 GB, free: 17.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/10.91, allocations: 4.438 kB / 3.307 GB, free: 17.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002288/10.91, allocations: 1.075 MB / 3.309 GB, free: 17.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/10.92, allocations: 297.6 kB / 3.309 GB, free: 17.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5913/11.51, allocations: 76.78 MB / 3.384 GB, free: 56.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/11.51, allocations: 1.192 MB / 3.385 GB, free: 55.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008484/11.51, allocations: 449.3 kB / 3.385 GB, free: 55.38 MB / 458.7 MB Notification: Performance of SimCode: time 1.333e-06/11.51, allocations: 1.375 kB / 3.385 GB, free: 55.38 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.26/15.77, allocations: 51.18 MB / 3.435 GB, free: 53.04 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat