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.118/2.118, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.969e-05/4.98e-05, allocations: 11.98 kB / 273.1 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.84/7.952, allocations: 2.485 GB / 2.799 GB, free: 80.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/7.953, allocations: 84.56 kB / 2.799 GB, free: 80.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.006/9.959, allocations: 407.4 MB / 3.197 GB, free: 412 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.903e-06/9.959, allocations: 0 / 3.197 GB, free: 412 kB / 426.7 MB Notification: Performance of Transformations before backend: time 4.929e-05/9.959, allocations: 12 kB / 3.197 GB, free: 400 kB / 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.007294/9.967, allocations: 1.604 MB / 3.199 GB, free: 14.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/9.967, allocations: 15.97 kB / 3.199 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002079/9.967, allocations: 94.86 kB / 3.199 GB, free: 14.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/9.97, allocations: 290.8 kB / 3.199 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/9.972, allocations: 0.5353 MB / 3.2 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/9.972, allocations: 49.31 kB / 3.2 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/9.972, allocations: 48 kB / 3.2 GB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/9.975, allocations: 0.9455 MB / 3.201 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/9.975, allocations: 7.938 kB / 3.201 GB, free: 12.67 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/9.975, allocations: 27.95 kB / 3.201 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/9.975, allocations: 25 kB / 3.201 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/9.978, allocations: 0.7805 MB / 3.202 GB, free: 11.84 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.00772/9.986, allocations: 4.554 MB / 3.206 GB, free: 6.898 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/9.989, allocations: 0.6708 MB / 3.207 GB, free: 6.219 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/9.99, allocations: 208.8 kB / 3.207 GB, free: 6.012 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.418/10.41, allocations: 21.39 MB / 3.228 GB, free: 38.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/10.41, allocations: 37.64 kB / 3.228 GB, free: 38.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 2.935e-06/10.41, allocations: 0 / 3.228 GB, free: 38.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01603/10.42, allocations: 2.776 MB / 3.23 GB, free: 38.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/10.42, allocations: 113.9 kB / 3.231 GB, free: 38.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007207/10.42, allocations: 370.6 kB / 3.231 GB, free: 37.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001638/10.42, allocations: 39.67 kB / 3.231 GB, free: 37.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/10.42, allocations: 377.1 kB / 3.231 GB, free: 37.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/10.43, allocations: 192.9 kB / 3.232 GB, free: 37.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/10.43, allocations: 14.88 kB / 3.232 GB, free: 37.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/10.43, allocations: 336.2 kB / 3.232 GB, free: 37.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/10.43, allocations: 219.8 kB / 3.232 GB, free: 37.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/10.43, allocations: 433.6 kB / 3.232 GB, free: 37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006974/10.43, allocations: 276.4 kB / 3.233 GB, free: 36.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/10.43, allocations: 3.156 kB / 3.233 GB, free: 36.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003865/10.43, allocations: 0.933 MB / 3.234 GB, free: 36.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000494/10.43, allocations: 2.353 MB / 3.236 GB, free: 34.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/10.43, allocations: 8.297 kB / 3.236 GB, free: 34.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00349/10.44, allocations: 430.3 kB / 3.236 GB, free: 34.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/10.44, allocations: 146.4 kB / 3.237 GB, free: 34.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/10.44, allocations: 1.474 MB / 3.238 GB, free: 33.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/10.44, allocations: 89.64 kB / 3.238 GB, free: 33.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/10.44, allocations: 42.36 kB / 3.238 GB, free: 33.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/10.44, allocations: 3.312 kB / 3.238 GB, free: 33.4 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003689/10.44, allocations: 0.8757 MB / 3.239 GB, free: 33.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/10.44, allocations: 9.281 kB / 3.239 GB, free: 33.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002614/10.45, allocations: 370 kB / 3.239 GB, free: 33.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/10.45, allocations: 147.6 kB / 3.239 GB, free: 33.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/10.45, allocations: 1.421 MB / 3.241 GB, free: 32.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/10.45, allocations: 93.22 kB / 3.241 GB, free: 32.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/10.45, allocations: 38.73 kB / 3.241 GB, free: 32.31 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.0002996/10.45, allocations: 148.3 kB / 3.241 GB, free: 32.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/10.45, allocations: 60.33 kB / 3.241 GB, free: 32.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006912/10.46, allocations: 3.565 MB / 3.245 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.818e-05/10.46, allocations: 45.62 kB / 3.245 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/10.46, allocations: 3.469 kB / 3.245 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/10.46, allocations: 6.562 kB / 3.245 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007702/10.47, allocations: 4.568 MB / 3.249 GB, free: 31.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/10.47, allocations: 1.75 kB / 3.249 GB, free: 31.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007175/10.47, allocations: 111 kB / 3.249 GB, free: 31.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003519/10.47, allocations: 0.9867 MB / 3.25 GB, free: 31.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/10.47, allocations: 23.97 kB / 3.25 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/10.47, allocations: 1.978 MB / 3.252 GB, free: 30.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/10.47, allocations: 2.578 kB / 3.252 GB, free: 30.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/10.48, allocations: 2.095 MB / 3.254 GB, free: 29.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/10.48, allocations: 317 kB / 3.255 GB, free: 29.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/10.48, allocations: 16.25 kB / 3.255 GB, free: 29.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/10.48, allocations: 94.78 kB / 3.255 GB, free: 29.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/10.48, allocations: 58.77 kB / 3.255 GB, free: 29.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.49e-05/10.48, allocations: 25.22 kB / 3.255 GB, free: 29.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005985/10.48, allocations: 389.9 kB / 3.255 GB, free: 29.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/10.48, allocations: 0 / 3.255 GB, free: 29.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006837/10.49, allocations: 1.397 MB / 3.256 GB, free: 29.59 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.01463/10.5, allocations: 4.128 MB / 3.26 GB, free: 28.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004444/10.51, allocations: 1.494 MB / 3.262 GB, free: 28.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/10.51, allocations: 3.906 kB / 3.262 GB, free: 28.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/10.51, allocations: 0.9014 MB / 3.263 GB, free: 28.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/10.51, allocations: 282.9 kB / 3.263 GB, free: 28.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2894/10.8, allocations: 76.37 MB / 3.338 GB, free: 20 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009215/10.8, allocations: 1.164 MB / 3.339 GB, free: 18.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/10.8, allocations: 404.9 kB / 3.339 GB, free: 18.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.353e-06/10.8, allocations: 0 / 3.339 GB, free: 18.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.412/15.21, allocations: 46.68 MB / 3.385 GB, free: 1.625 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