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 2.079/2.079, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.956e-05/3.975e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.026/8.142, allocations: 2.485 GB / 2.799 GB, free: 80.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/8.143, allocations: 84.2 kB / 2.799 GB, free: 80.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.057/10.2, allocations: 407.3 MB / 3.197 GB, free: 14.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/10.2, allocations: 4 kB / 3.197 GB, free: 14.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.328e-05/10.2, allocations: 12 kB / 3.197 GB, free: 14.55 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007761/10.21, allocations: 1.601 MB / 3.199 GB, free: 12.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/10.21, allocations: 12.03 kB / 3.199 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/10.21, allocations: 98.84 kB / 3.199 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003341/10.21, allocations: 290.8 kB / 3.199 GB, free: 12.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/10.21, allocations: 0.5405 MB / 3.2 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.41e-05/10.21, allocations: 49.31 kB / 3.2 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/10.21, allocations: 48 kB / 3.2 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003462/10.22, allocations: 0.9427 MB / 3.201 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/10.22, allocations: 4 kB / 3.201 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/10.22, allocations: 27.95 kB / 3.201 GB, free: 10.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/10.22, allocations: 21 kB / 3.201 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/10.22, allocations: 0.763 MB / 3.202 GB, free: 10.02 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.008023/10.23, allocations: 4.554 MB / 3.206 GB, free: 5.082 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002983/10.23, allocations: 0.6669 MB / 3.207 GB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/10.23, allocations: 200.8 kB / 3.207 GB, free: 4.207 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3921/10.62, allocations: 21.4 MB / 3.228 GB, free: 37.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/10.62, allocations: 36.44 kB / 3.228 GB, free: 37.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.436e-06/10.62, allocations: 2.625 kB / 3.228 GB, free: 37.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01605/10.64, allocations: 2.771 MB / 3.23 GB, free: 36.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/10.64, allocations: 112.9 kB / 3.231 GB, free: 36.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00075/10.64, allocations: 375.9 kB / 3.231 GB, free: 36.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/10.64, allocations: 34.23 kB / 3.231 GB, free: 36.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/10.64, allocations: 377 kB / 3.231 GB, free: 36.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/10.64, allocations: 199.5 kB / 3.232 GB, free: 36.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/10.64, allocations: 15.44 kB / 3.232 GB, free: 36.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.773e-05/10.64, allocations: 335.3 kB / 3.232 GB, free: 35.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006609/10.64, allocations: 225.4 kB / 3.232 GB, free: 35.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007517/10.64, allocations: 427.2 kB / 3.232 GB, free: 35.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/10.64, allocations: 272.3 kB / 3.233 GB, free: 35.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/10.64, allocations: 3.531 kB / 3.233 GB, free: 35.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003876/10.65, allocations: 0.9177 MB / 3.234 GB, free: 35.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005469/10.65, allocations: 2.353 MB / 3.236 GB, free: 33.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/10.65, allocations: 5.906 kB / 3.236 GB, free: 33.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/10.65, allocations: 434.3 kB / 3.236 GB, free: 33.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/10.65, allocations: 147 kB / 3.237 GB, free: 33.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/10.66, allocations: 1.47 MB / 3.238 GB, free: 31.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/10.66, allocations: 90.39 kB / 3.238 GB, free: 31.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/10.66, allocations: 43.8 kB / 3.238 GB, free: 31.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/10.66, allocations: 5.562 kB / 3.238 GB, free: 31.99 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003783/10.66, allocations: 0.8534 MB / 3.239 GB, free: 31.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/10.66, allocations: 8.5 kB / 3.239 GB, free: 31.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002701/10.66, allocations: 360.8 kB / 3.239 GB, free: 31.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/10.67, allocations: 148.8 kB / 3.239 GB, free: 31.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/10.67, allocations: 1.423 MB / 3.241 GB, free: 30.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/10.67, allocations: 90.98 kB / 3.241 GB, free: 30.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/10.67, allocations: 36.39 kB / 3.241 GB, free: 30.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 61 * 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.0003134/10.67, allocations: 147.7 kB / 3.241 GB, free: 30.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/10.67, allocations: 66.67 kB / 3.241 GB, free: 30.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007017/10.68, allocations: 3.563 MB / 3.245 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7e-05/10.68, allocations: 44.19 kB / 3.245 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/10.68, allocations: 0 / 3.245 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/10.68, allocations: 13.14 kB / 3.245 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008641/10.68, allocations: 4.568 MB / 3.249 GB, free: 29.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/10.68, allocations: 0 / 3.249 GB, free: 29.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007885/10.69, allocations: 112.9 kB / 3.249 GB, free: 29.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003818/10.69, allocations: 0.9858 MB / 3.25 GB, free: 29.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/10.69, allocations: 22.31 kB / 3.25 GB, free: 29.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002568/10.69, allocations: 1.978 MB / 3.252 GB, free: 28.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/10.69, allocations: 0 / 3.252 GB, free: 28.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/10.7, allocations: 2.095 MB / 3.254 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007834/10.7, allocations: 316.2 kB / 3.254 GB, free: 28.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/10.7, allocations: 17.89 kB / 3.255 GB, free: 28.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/10.7, allocations: 97.19 kB / 3.255 GB, free: 28.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/10.7, allocations: 59.38 kB / 3.255 GB, free: 28.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.703e-05/10.7, allocations: 21.19 kB / 3.255 GB, free: 28.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007006/10.7, allocations: 390.3 kB / 3.255 GB, free: 28.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.51e-07/10.7, allocations: 0 / 3.255 GB, free: 28.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007636/10.71, allocations: 1.385 MB / 3.256 GB, free: 28.18 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01455/10.72, allocations: 4.151 MB / 3.26 GB, free: 27.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004516/10.73, allocations: 1.472 MB / 3.262 GB, free: 27.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/10.73, allocations: 2.625 kB / 3.262 GB, free: 27.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/10.73, allocations: 0.9034 MB / 3.263 GB, free: 27.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/10.73, allocations: 271.4 kB / 3.263 GB, free: 27.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2656/11, allocations: 76.37 MB / 3.338 GB, free: 18.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006326/11, allocations: 1.158 MB / 3.339 GB, free: 17.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/11, allocations: 411.6 kB / 3.339 GB, free: 17.19 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/11, allocations: 4 kB / 3.339 GB, free: 17.19 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.64/15.64, allocations: 46.74 MB / 3.385 GB, free: 57.79 MB / 458.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