Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.971/1.971, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.906e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.976/8.091, allocations: 2.502 GB / 2.816 GB, free: 59.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/8.092, allocations: 82.45 kB / 2.816 GB, free: 59.78 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394/10.49, allocations: 425.3 MB / 3.232 GB, free: 46.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.713e-06/10.49, allocations: 2.625 kB / 3.232 GB, free: 46.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.901e-05/10.49, allocations: 23.75 kB / 3.232 GB, free: 46.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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008008/10.49, allocations: 1.701 MB / 3.233 GB, free: 45.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/10.49, allocations: 8.094 kB / 3.233 GB, free: 45.85 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002321/10.49, allocations: 100.2 kB / 3.233 GB, free: 45.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/10.5, allocations: 317.5 kB / 3.234 GB, free: 45.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/10.5, allocations: 0.5807 MB / 3.234 GB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/10.5, allocations: 48.77 kB / 3.234 GB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/10.5, allocations: 57.22 kB / 3.234 GB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/10.5, allocations: 0.9621 MB / 3.235 GB, free: 45.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/10.5, allocations: 6.469 kB / 3.235 GB, free: 45.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/10.5, allocations: 27.17 kB / 3.235 GB, free: 45.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/10.5, allocations: 17.59 kB / 3.235 GB, free: 45.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/10.51, allocations: 0.807 MB / 3.236 GB, free: 45.32 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.007228/10.51, allocations: 4.712 MB / 3.241 GB, free: 42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/10.52, allocations: 0.6237 MB / 3.241 GB, free: 41.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/10.52, allocations: 210 kB / 3.242 GB, free: 41.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0619/10.58, allocations: 21.4 MB / 3.262 GB, free: 28.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/10.58, allocations: 33.81 kB / 3.263 GB, free: 28.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 4.528e-06/10.58, allocations: 0 / 3.263 GB, free: 28.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.04226/10.62, allocations: 3.754 MB / 3.266 GB, free: 27.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/10.62, allocations: 115.5 kB / 3.266 GB, free: 27.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008205/10.62, allocations: 435.3 kB / 3.267 GB, free: 27.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001793/10.62, allocations: 32.95 kB / 3.267 GB, free: 27.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/10.62, allocations: 386.8 kB / 3.267 GB, free: 27.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/10.62, allocations: 208.2 kB / 3.267 GB, free: 27.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/10.62, allocations: 15.06 kB / 3.267 GB, free: 27.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.854e-05/10.62, allocations: 333.1 kB / 3.268 GB, free: 26.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/10.62, allocations: 275 kB / 3.268 GB, free: 26.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008357/10.62, allocations: 490.5 kB / 3.268 GB, free: 26.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009438/10.63, allocations: 335 kB / 3.269 GB, free: 26.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/10.63, allocations: 3.406 kB / 3.269 GB, free: 26.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002859/10.63, allocations: 0.9848 MB / 3.27 GB, free: 26.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005782/10.63, allocations: 2.443 MB / 3.272 GB, free: 24.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/10.63, allocations: 9.781 kB / 3.272 GB, free: 24.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006422/10.64, allocations: 0.8215 MB / 3.273 GB, free: 24.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/10.64, allocations: 157.8 kB / 3.273 GB, free: 24.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/10.64, allocations: 1.599 MB / 3.275 GB, free: 22.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/10.64, allocations: 100.9 kB / 3.275 GB, free: 22.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/10.64, allocations: 47.3 kB / 3.275 GB, free: 22.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/10.64, allocations: 7.094 kB / 3.275 GB, free: 22.96 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003074/10.64, allocations: 0.9552 MB / 3.276 GB, free: 22.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/10.64, allocations: 7.625 kB / 3.276 GB, free: 22.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/10.65, allocations: 0.5163 MB / 3.276 GB, free: 22.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/10.65, allocations: 169.1 kB / 3.276 GB, free: 22.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/10.65, allocations: 1.545 MB / 3.278 GB, free: 21.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/10.65, allocations: 96.92 kB / 3.278 GB, free: 21.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/10.65, allocations: 52.06 kB / 3.278 GB, free: 21.87 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 (66): * Single equations (assignments): 64 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003278/10.65, allocations: 148.2 kB / 3.278 GB, free: 21.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/10.65, allocations: 64.56 kB / 3.278 GB, free: 21.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007722/10.66, allocations: 3.913 MB / 3.282 GB, free: 21.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.391e-05/10.66, allocations: 45.03 kB / 3.282 GB, free: 21.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/10.66, allocations: 3.75 kB / 3.282 GB, free: 21.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/10.66, allocations: 3.656 kB / 3.282 GB, free: 21.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008295/10.67, allocations: 4.978 MB / 3.287 GB, free: 20.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/10.67, allocations: 0 / 3.287 GB, free: 20.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007764/10.67, allocations: 109.8 kB / 3.287 GB, free: 20.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006997/10.68, allocations: 1.765 MB / 3.289 GB, free: 20.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/10.68, allocations: 29.22 kB / 3.289 GB, free: 20.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/10.68, allocations: 2.362 MB / 3.291 GB, free: 19.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/10.68, allocations: 7.328 kB / 3.291 GB, free: 19.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004147/10.68, allocations: 2.463 MB / 3.293 GB, free: 19.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007608/10.69, allocations: 342.8 kB / 3.294 GB, free: 19.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/10.69, allocations: 12.75 kB / 3.294 GB, free: 19.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/10.69, allocations: 101.6 kB / 3.294 GB, free: 19.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/10.69, allocations: 64.28 kB / 3.294 GB, free: 19.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.69e-05/10.69, allocations: 34.02 kB / 3.294 GB, free: 19.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007069/10.69, allocations: 417.7 kB / 3.294 GB, free: 19 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/10.69, allocations: 0 / 3.294 GB, free: 19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00755/10.7, allocations: 1.541 MB / 3.296 GB, free: 18.78 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 (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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01607/10.71, allocations: 4.552 MB / 3.3 GB, free: 17.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004728/10.72, allocations: 1.695 MB / 3.302 GB, free: 17.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/10.72, allocations: 0 / 3.302 GB, free: 17.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/10.72, allocations: 1.031 MB / 3.303 GB, free: 17.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/10.72, allocations: 292.7 kB / 3.303 GB, free: 17.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2472/10.97, allocations: 76.59 MB / 3.378 GB, free: 1.527 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009665/10.97, allocations: 1.184 MB / 3.379 GB, free: 500 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008652/10.97, allocations: 431 kB / 3.38 GB, free: 108 kB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/10.97, allocations: 0 / 3.38 GB, free: 108 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.448/15.42, allocations: 50.08 MB / 3.429 GB, free: 53.97 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat