Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.876/1.876, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.787e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.821/7.924, allocations: 2.502 GB / 2.816 GB, free: 58.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/7.925, allocations: 80.7 kB / 2.816 GB, free: 58.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.501/10.43, allocations: 425.5 MB / 3.232 GB, free: 46.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.124e-06/10.43, allocations: 1.281 kB / 3.232 GB, free: 46.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.92e-05/10.43, allocations: 18.2 kB / 3.232 GB, free: 46.83 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.00832/10.43, allocations: 1.715 MB / 3.233 GB, free: 46.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/10.43, allocations: 11.5 kB / 3.233 GB, free: 46.13 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002508/10.43, allocations: 100 kB / 3.234 GB, free: 46.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/10.44, allocations: 321.7 kB / 3.234 GB, free: 46.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/10.44, allocations: 0.5776 MB / 3.234 GB, free: 45.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-05/10.44, allocations: 48.62 kB / 3.234 GB, free: 45.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/10.44, allocations: 60.72 kB / 3.235 GB, free: 45.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003654/10.44, allocations: 0.9694 MB / 3.235 GB, free: 45.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/10.44, allocations: 0.5625 kB / 3.235 GB, free: 45.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/10.44, allocations: 24.25 kB / 3.236 GB, free: 45.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.054e-05/10.44, allocations: 27.91 kB / 3.236 GB, free: 45.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0033/10.45, allocations: 0.8043 MB / 3.236 GB, free: 45.6 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.0073/10.46, allocations: 4.612 MB / 3.241 GB, free: 42.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/10.46, allocations: 0.69 MB / 3.242 GB, free: 42.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/10.46, allocations: 211.1 kB / 3.242 GB, free: 42.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05593/10.51, allocations: 18.41 MB / 3.26 GB, free: 30.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/10.51, allocations: 42.94 kB / 3.26 GB, free: 30.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.997e-06/10.51, allocations: 0 / 3.26 GB, free: 30.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.04538/10.56, allocations: 4.037 MB / 3.264 GB, free: 30.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/10.56, allocations: 110.2 kB / 3.264 GB, free: 30.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/10.56, allocations: 415.7 kB / 3.264 GB, free: 30.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001611/10.56, allocations: 36.95 kB / 3.264 GB, free: 30.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/10.56, allocations: 349.9 kB / 3.265 GB, free: 29.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/10.56, allocations: 223.2 kB / 3.265 GB, free: 29.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/10.56, allocations: 16.44 kB / 3.265 GB, free: 29.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/10.56, allocations: 376 kB / 3.265 GB, free: 29.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007482/10.56, allocations: 277.6 kB / 3.265 GB, free: 29.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008994/10.56, allocations: 0.4929 MB / 3.266 GB, free: 29.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009478/10.56, allocations: 342 kB / 3.266 GB, free: 29.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/10.56, allocations: 3.906 kB / 3.266 GB, free: 29.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003042/10.57, allocations: 1.053 MB / 3.267 GB, free: 29.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006037/10.57, allocations: 2.617 MB / 3.27 GB, free: 26.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/10.57, allocations: 7.719 kB / 3.27 GB, free: 26.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006636/10.57, allocations: 0.8374 MB / 3.271 GB, free: 26.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/10.58, allocations: 189.2 kB / 3.271 GB, free: 26.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/10.58, allocations: 1.628 MB / 3.272 GB, free: 25.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/10.58, allocations: 108.1 kB / 3.272 GB, free: 25.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/10.58, allocations: 51.89 kB / 3.273 GB, free: 25.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/10.58, allocations: 5.406 kB / 3.273 GB, free: 25.31 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00338/10.58, allocations: 1.019 MB / 3.274 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/10.58, allocations: 7.875 kB / 3.274 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003816/10.59, allocations: 0.5714 MB / 3.274 GB, free: 25.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/10.59, allocations: 192 kB / 3.274 GB, free: 25.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/10.59, allocations: 1.584 MB / 3.276 GB, free: 24.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/10.59, allocations: 126.6 kB / 3.276 GB, free: 24.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/10.59, allocations: 47.94 kB / 3.276 GB, free: 24.21 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.0003519/10.59, allocations: 146.2 kB / 3.276 GB, free: 24.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/10.6, allocations: 68.41 kB / 3.276 GB, free: 24.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008355/10.6, allocations: 3.658 MB / 3.28 GB, free: 23.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.428e-05/10.6, allocations: 40.11 kB / 3.28 GB, free: 23.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/10.6, allocations: 0 / 3.28 GB, free: 23.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/10.6, allocations: 6.969 kB / 3.28 GB, free: 23.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008589/10.61, allocations: 4.651 MB / 3.284 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/10.61, allocations: 0 / 3.284 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009577/10.61, allocations: 139.1 kB / 3.284 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007125/10.62, allocations: 1.775 MB / 3.286 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/10.62, allocations: 23.08 kB / 3.286 GB, free: 23.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003505/10.62, allocations: 2.373 MB / 3.289 GB, free: 22.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-06/10.62, allocations: 3.812 kB / 3.289 GB, free: 22.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004477/10.63, allocations: 2.299 MB / 3.291 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009143/10.63, allocations: 323.7 kB / 3.291 GB, free: 21.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/10.63, allocations: 14.28 kB / 3.291 GB, free: 21.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/10.63, allocations: 119.6 kB / 3.291 GB, free: 21.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/10.63, allocations: 63.02 kB / 3.291 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.474e-05/10.63, allocations: 36.56 kB / 3.291 GB, free: 21.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007015/10.63, allocations: 412.8 kB / 3.292 GB, free: 21.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/10.63, allocations: 3.844 kB / 3.292 GB, free: 21.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007466/10.64, allocations: 1.547 MB / 3.293 GB, free: 21.29 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.01874/10.66, allocations: 4.435 MB / 3.298 GB, free: 20.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007816/10.67, allocations: 1.66 MB / 3.299 GB, free: 20.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/10.67, allocations: 3.656 kB / 3.299 GB, free: 20.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003205/10.67, allocations: 0.9073 MB / 3.3 GB, free: 20.01 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/10.67, allocations: 283.4 kB / 3.3 GB, free: 20 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2785/10.95, allocations: 76.4 MB / 3.375 GB, free: 4.859 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009699/10.95, allocations: 1.143 MB / 3.376 GB, free: 3.848 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002346/10.96, allocations: 0.67 MB / 3.377 GB, free: 3.445 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008424/10.96, allocations: 395.5 kB / 3.377 GB, free: 3.094 MB / 458.7 MB Notification: Performance of SimCode: time 1.202e-06/10.96, allocations: 0 / 3.377 GB, free: 3.094 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5385/11.5, allocations: 64.5 MB / 3.44 GB, free: 53.73 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/11.5, allocations: 251.5 kB / 3.44 GB, free: 53.39 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.429/16.92, allocations: 0 / 3.44 GB, free: 53.39 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat