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 1.991/1.991, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.916e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1264, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.839/7.965, allocations: 2.502 GB / 2.817 GB, free: 59.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/7.965, allocations: 85.88 kB / 2.817 GB, free: 59.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395/10.36, allocations: 426.4 MB / 3.233 GB, free: 46.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.365e-06/10.36, allocations: 0 / 3.233 GB, free: 46.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.911e-05/10.36, allocations: 20.12 kB / 3.233 GB, free: 46.8 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.00805/10.37, allocations: 1.737 MB / 3.235 GB, free: 46.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/10.37, allocations: 11.5 kB / 3.235 GB, free: 46.11 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002533/10.37, allocations: 95.67 kB / 3.235 GB, free: 46.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/10.37, allocations: 315.2 kB / 3.235 GB, free: 46.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/10.37, allocations: 0.5939 MB / 3.236 GB, free: 45.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/10.37, allocations: 50.69 kB / 3.236 GB, free: 45.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/10.37, allocations: 55.5 kB / 3.236 GB, free: 45.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/10.38, allocations: 0.9854 MB / 3.237 GB, free: 45.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/10.38, allocations: 2.094 kB / 3.237 GB, free: 45.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/10.38, allocations: 28.25 kB / 3.237 GB, free: 45.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/10.38, allocations: 24.19 kB / 3.237 GB, free: 45.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/10.38, allocations: 0.8319 MB / 3.238 GB, free: 45.59 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.007727/10.39, allocations: 4.751 MB / 3.242 GB, free: 42.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/10.39, allocations: 0.7478 MB / 3.243 GB, free: 42.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/10.39, allocations: 235.4 kB / 3.243 GB, free: 42.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07477/10.47, allocations: 21.4 MB / 3.264 GB, free: 28.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/10.47, allocations: 38.59 kB / 3.264 GB, free: 28.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 5.31e-06/10.47, allocations: 3.797 kB / 3.264 GB, free: 28.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=68): time 0.05339/10.52, allocations: 3.994 MB / 3.268 GB, free: 28.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/10.52, allocations: 114 kB / 3.268 GB, free: 28.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/10.52, allocations: 447 kB / 3.269 GB, free: 27.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/10.52, allocations: 39.86 kB / 3.269 GB, free: 27.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/10.52, allocations: 387.7 kB / 3.269 GB, free: 27.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/10.52, allocations: 227.5 kB / 3.269 GB, free: 27.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/10.52, allocations: 10.06 kB / 3.269 GB, free: 27.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/10.52, allocations: 350.1 kB / 3.27 GB, free: 27.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008672/10.52, allocations: 330.3 kB / 3.27 GB, free: 27.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000973/10.52, allocations: 0.5473 MB / 3.271 GB, free: 26.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/10.53, allocations: 388.1 kB / 3.271 GB, free: 26.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/10.53, allocations: 3.562 kB / 3.271 GB, free: 26.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00333/10.53, allocations: 1.164 MB / 3.272 GB, free: 26.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005387/10.53, allocations: 2.447 MB / 3.275 GB, free: 24.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/10.53, allocations: 10.22 kB / 3.275 GB, free: 24.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01182/10.54, allocations: 1.311 MB / 3.276 GB, free: 24.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/10.54, allocations: 172.6 kB / 3.276 GB, free: 24.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/10.55, allocations: 1.764 MB / 3.278 GB, free: 23.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/10.55, allocations: 119 kB / 3.278 GB, free: 23.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/10.55, allocations: 53.14 kB / 3.278 GB, free: 23.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/10.55, allocations: 5.062 kB / 3.278 GB, free: 23.26 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003748/10.55, allocations: 1.127 MB / 3.279 GB, free: 23.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/10.55, allocations: 9.188 kB / 3.279 GB, free: 23.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004784/10.56, allocations: 0.689 MB / 3.28 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/10.56, allocations: 184.8 kB / 3.28 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/10.56, allocations: 1.637 MB / 3.281 GB, free: 22.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/10.56, allocations: 119.7 kB / 3.282 GB, free: 22.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/10.56, allocations: 53.19 kB / 3.282 GB, free: 22.16 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.000369/10.56, allocations: 154.5 kB / 3.282 GB, free: 22.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/10.56, allocations: 66.62 kB / 3.282 GB, free: 22.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008058/10.57, allocations: 4.083 MB / 3.286 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.403e-05/10.57, allocations: 50.19 kB / 3.286 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/10.57, allocations: 0 / 3.286 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/10.57, allocations: 3.938 kB / 3.286 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009797/10.58, allocations: 5.347 MB / 3.291 GB, free: 21.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/10.58, allocations: 0 / 3.291 GB, free: 21.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000782/10.58, allocations: 111.1 kB / 3.291 GB, free: 21.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01197/10.59, allocations: 2.228 MB / 3.293 GB, free: 21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/10.59, allocations: 25.12 kB / 3.293 GB, free: 21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003831/10.6, allocations: 2.519 MB / 3.296 GB, free: 19.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/10.6, allocations: 3.656 kB / 3.296 GB, free: 19.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005882/10.6, allocations: 2.742 MB / 3.299 GB, free: 19.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008941/10.61, allocations: 366.6 kB / 3.299 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/10.61, allocations: 12.19 kB / 3.299 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/10.61, allocations: 109.7 kB / 3.299 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/10.61, allocations: 72.67 kB / 3.299 GB, free: 19.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/10.61, allocations: 34.8 kB / 3.299 GB, free: 19.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007662/10.61, allocations: 432.9 kB / 3.3 GB, free: 19.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.61, allocations: 0 / 3.3 GB, free: 19.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008085/10.62, allocations: 1.582 MB / 3.301 GB, free: 19.01 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.01689/10.63, allocations: 4.746 MB / 3.306 GB, free: 17.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005286/10.64, allocations: 1.911 MB / 3.308 GB, free: 17.72 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/10.64, allocations: 0 / 3.308 GB, free: 17.72 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002291/10.64, allocations: 1.086 MB / 3.309 GB, free: 17.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/10.64, allocations: 305.6 kB / 3.309 GB, free: 17.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6501/11.29, allocations: 76.74 MB / 3.384 GB, free: 55.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009988/11.3, allocations: 1.191 MB / 3.385 GB, free: 55.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009652/11.3, allocations: 449.8 kB / 3.385 GB, free: 55.26 MB / 458.7 MB Notification: Performance of SimCode: time 2.585e-06/11.3, allocations: 0 / 3.385 GB, free: 55.26 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.38/15.68, allocations: 51.08 MB / 3.435 GB, free: 53.01 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