Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.055/2.055, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.653e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.172/8.285, allocations: 2.502 GB / 2.816 GB, free: 61.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/8.285, allocations: 78.83 kB / 2.816 GB, free: 61.78 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454/10.74, allocations: 425.5 MB / 3.232 GB, free: 47.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.743e-06/10.74, allocations: 0 / 3.232 GB, free: 47.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.738e-05/10.74, allocations: 17.28 kB / 3.232 GB, free: 47.07 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.008463/10.75, allocations: 1.721 MB / 3.233 GB, free: 46.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/10.75, allocations: 10.16 kB / 3.233 GB, free: 46.37 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002451/10.75, allocations: 99.28 kB / 3.234 GB, free: 46.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003737/10.75, allocations: 321.4 kB / 3.234 GB, free: 46.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/10.75, allocations: 0.5801 MB / 3.234 GB, free: 46.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.483e-05/10.75, allocations: 49.47 kB / 3.234 GB, free: 46.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/10.75, allocations: 58.47 kB / 3.235 GB, free: 46.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/10.76, allocations: 0.9671 MB / 3.235 GB, free: 45.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/10.76, allocations: 1.031 kB / 3.235 GB, free: 45.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/10.76, allocations: 30.42 kB / 3.235 GB, free: 45.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/10.76, allocations: 22.41 kB / 3.236 GB, free: 45.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/10.76, allocations: 0.8058 MB / 3.236 GB, free: 45.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.007471/10.77, allocations: 4.604 MB / 3.241 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/10.77, allocations: 0.6961 MB / 3.241 GB, free: 42.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004772/10.77, allocations: 203.6 kB / 3.242 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05666/10.83, allocations: 18.4 MB / 3.26 GB, free: 31.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/10.83, allocations: 43.16 kB / 3.26 GB, free: 31.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 4.228e-06/10.83, allocations: 0 / 3.26 GB, free: 31.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.04534/10.87, allocations: 4.045 MB / 3.264 GB, free: 30.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/10.87, allocations: 110.3 kB / 3.264 GB, free: 30.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007795/10.87, allocations: 413.5 kB / 3.264 GB, free: 30.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001733/10.87, allocations: 35.7 kB / 3.264 GB, free: 30.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/10.88, allocations: 386.6 kB / 3.265 GB, free: 30.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/10.88, allocations: 223.7 kB / 3.265 GB, free: 29.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/10.88, allocations: 17.66 kB / 3.265 GB, free: 29.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/10.88, allocations: 346.3 kB / 3.265 GB, free: 29.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007281/10.88, allocations: 275.7 kB / 3.265 GB, free: 29.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008539/10.88, allocations: 0.4984 MB / 3.266 GB, free: 29.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/10.88, allocations: 346.1 kB / 3.266 GB, free: 29.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/10.88, allocations: 2.719 kB / 3.266 GB, free: 29.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002896/10.88, allocations: 1.015 MB / 3.267 GB, free: 29.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006249/10.88, allocations: 2.62 MB / 3.27 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/10.88, allocations: 9.938 kB / 3.27 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006656/10.89, allocations: 0.8335 MB / 3.271 GB, free: 26.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/10.89, allocations: 196.5 kB / 3.271 GB, free: 26.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/10.89, allocations: 1.626 MB / 3.272 GB, free: 25.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/10.89, allocations: 115 kB / 3.272 GB, free: 25.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/10.9, allocations: 46.77 kB / 3.272 GB, free: 25.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/10.9, allocations: 7.016 kB / 3.272 GB, free: 25.52 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003388/10.9, allocations: 1.019 MB / 3.273 GB, free: 25.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/10.9, allocations: 3.969 kB / 3.273 GB, free: 25.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003385/10.9, allocations: 0.5407 MB / 3.274 GB, free: 25.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/10.9, allocations: 185.9 kB / 3.274 GB, free: 25.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/10.91, allocations: 1.574 MB / 3.276 GB, free: 24.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/10.91, allocations: 118.2 kB / 3.276 GB, free: 24.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/10.91, allocations: 48.02 kB / 3.276 GB, free: 24.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (71): * Single equations (assignments): 69 * 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.0003604/10.91, allocations: 160.8 kB / 3.276 GB, free: 24.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/10.91, allocations: 62.03 kB / 3.276 GB, free: 24.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008124/10.92, allocations: 3.663 MB / 3.28 GB, free: 23.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.656e-05/10.92, allocations: 33.3 kB / 3.28 GB, free: 23.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/10.92, allocations: 0 / 3.28 GB, free: 23.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/10.92, allocations: 9.391 kB / 3.28 GB, free: 23.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008461/10.93, allocations: 4.654 MB / 3.284 GB, free: 23.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/10.93, allocations: 2.406 kB / 3.284 GB, free: 23.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000942/10.93, allocations: 138.4 kB / 3.284 GB, free: 23.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007143/10.93, allocations: 1.775 MB / 3.286 GB, free: 23.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/10.93, allocations: 22.25 kB / 3.286 GB, free: 23.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003562/10.94, allocations: 2.373 MB / 3.288 GB, free: 22.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/10.94, allocations: 10 kB / 3.288 GB, free: 22.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004275/10.94, allocations: 2.293 MB / 3.291 GB, free: 22.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008327/10.94, allocations: 321.9 kB / 3.291 GB, free: 21.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/10.94, allocations: 12.41 kB / 3.291 GB, free: 21.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/10.94, allocations: 121.5 kB / 3.291 GB, free: 21.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/10.94, allocations: 66.47 kB / 3.291 GB, free: 21.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.804e-05/10.94, allocations: 29.36 kB / 3.291 GB, free: 21.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006937/10.94, allocations: 409.5 kB / 3.292 GB, free: 21.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/10.94, allocations: 2.219 kB / 3.292 GB, free: 21.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007918/10.95, allocations: 1.544 MB / 3.293 GB, free: 21.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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 (50): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01636/10.97, allocations: 4.447 MB / 3.297 GB, free: 20.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00552/10.97, allocations: 1.643 MB / 3.299 GB, free: 20.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/10.97, allocations: 0 / 3.299 GB, free: 20.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002135/10.98, allocations: 0.9102 MB / 3.3 GB, free: 20.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/10.98, allocations: 276.5 kB / 3.3 GB, free: 20.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2612/11.24, allocations: 76.43 MB / 3.375 GB, free: 6.648 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009584/11.24, allocations: 1.135 MB / 3.376 GB, free: 5.648 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009888/11.24, allocations: 406 kB / 3.376 GB, free: 5.289 MB / 458.7 MB Notification: Performance of SimCode: time 1.333e-06/11.24, allocations: 1.5 kB / 3.376 GB, free: 5.289 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.608/15.85, allocations: 48.98 MB / 3.424 GB, free: 53.13 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat