Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.912/1.912, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.577e-05, allocations: 7.375 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.437/7.541, allocations: 2.502 GB / 2.817 GB, free: 75.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/7.542, allocations: 85.02 kB / 2.817 GB, free: 75.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.46/10, allocations: 426.4 MB / 3.233 GB, free: 44.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.693e-06/10, allocations: 5.844 kB / 3.233 GB, free: 44.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.042e-05/10, allocations: 19.94 kB / 3.233 GB, free: 44.63 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.008355/10.01, allocations: 1.728 MB / 3.235 GB, free: 43.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/10.01, allocations: 13.12 kB / 3.235 GB, free: 43.98 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000282/10.01, allocations: 103.3 kB / 3.235 GB, free: 43.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003823/10.01, allocations: 314.7 kB / 3.235 GB, free: 43.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/10.02, allocations: 0.5902 MB / 3.236 GB, free: 43.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.026e-05/10.02, allocations: 55.56 kB / 3.236 GB, free: 43.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/10.02, allocations: 65.25 kB / 3.236 GB, free: 43.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003397/10.02, allocations: 0.9741 MB / 3.237 GB, free: 43.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/10.02, allocations: 1.094 kB / 3.237 GB, free: 43.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/10.02, allocations: 28.16 kB / 3.237 GB, free: 43.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.117e-05/10.02, allocations: 25.42 kB / 3.237 GB, free: 43.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004173/10.02, allocations: 0.8151 MB / 3.238 GB, free: 43.47 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.01083/10.04, allocations: 4.762 MB / 3.243 GB, free: 40.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005161/10.04, allocations: 0.7308 MB / 3.243 GB, free: 40.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007561/10.04, allocations: 229.4 kB / 3.243 GB, free: 40.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1097/10.15, allocations: 21.4 MB / 3.264 GB, free: 26.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/10.15, allocations: 47.64 kB / 3.264 GB, free: 26.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 3.357e-06/10.15, allocations: 0 / 3.264 GB, free: 26.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=68): time 0.04504/10.2, allocations: 3.991 MB / 3.268 GB, free: 26.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/10.2, allocations: 114.6 kB / 3.268 GB, free: 26.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/10.2, allocations: 443.7 kB / 3.269 GB, free: 25.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/10.2, allocations: 34.33 kB / 3.269 GB, free: 25.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/10.2, allocations: 358.6 kB / 3.269 GB, free: 25.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/10.2, allocations: 234 kB / 3.269 GB, free: 25.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.57e-05/10.2, allocations: 17.78 kB / 3.269 GB, free: 25.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/10.2, allocations: 374.8 kB / 3.27 GB, free: 25.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008462/10.2, allocations: 333.6 kB / 3.27 GB, free: 25.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009494/10.2, allocations: 0.5329 MB / 3.271 GB, free: 24.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/10.2, allocations: 384 kB / 3.271 GB, free: 24.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/10.2, allocations: 0 / 3.271 GB, free: 24.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003365/10.2, allocations: 1.188 MB / 3.272 GB, free: 24.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004961/10.21, allocations: 2.442 MB / 3.275 GB, free: 22.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/10.21, allocations: 6.719 kB / 3.275 GB, free: 22.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01212/10.22, allocations: 1.307 MB / 3.276 GB, free: 22.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/10.22, allocations: 176.3 kB / 3.276 GB, free: 22.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/10.22, allocations: 1.772 MB / 3.278 GB, free: 21.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/10.22, allocations: 119.6 kB / 3.278 GB, free: 21.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/10.22, allocations: 57.41 kB / 3.278 GB, free: 21.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/10.22, allocations: 2.656 kB / 3.278 GB, free: 21.24 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003697/10.23, allocations: 1.106 MB / 3.279 GB, free: 21.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/10.23, allocations: 7.688 kB / 3.279 GB, free: 21.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005287/10.23, allocations: 0.731 MB / 3.28 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/10.23, allocations: 185.4 kB / 3.28 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/10.24, allocations: 1.668 MB / 3.282 GB, free: 20.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/10.24, allocations: 113.3 kB / 3.282 GB, free: 20.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/10.24, allocations: 49.45 kB / 3.282 GB, free: 20.13 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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.000365/10.24, allocations: 150 kB / 3.282 GB, free: 20.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/10.24, allocations: 68.47 kB / 3.282 GB, free: 19.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008002/10.25, allocations: 4.082 MB / 3.286 GB, free: 19.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.065e-05/10.25, allocations: 48.27 kB / 3.286 GB, free: 19.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/10.25, allocations: 0 / 3.286 GB, free: 19.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/10.25, allocations: 7.031 kB / 3.286 GB, free: 19.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009623/10.26, allocations: 5.349 MB / 3.291 GB, free: 19.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/10.26, allocations: 7.688 kB / 3.291 GB, free: 19.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/10.26, allocations: 111.9 kB / 3.291 GB, free: 19.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01206/10.27, allocations: 2.229 MB / 3.293 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/10.27, allocations: 25.3 kB / 3.293 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003667/10.27, allocations: 2.518 MB / 3.296 GB, free: 17.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/10.27, allocations: 0 / 3.296 GB, free: 17.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0058/10.28, allocations: 2.747 MB / 3.299 GB, free: 17.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008674/10.28, allocations: 356.8 kB / 3.299 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/10.28, allocations: 20.81 kB / 3.299 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/10.28, allocations: 110.4 kB / 3.299 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/10.28, allocations: 64.92 kB / 3.299 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/10.28, allocations: 33.39 kB / 3.299 GB, free: 17.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007284/10.28, allocations: 428.3 kB / 3.3 GB, free: 17.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.943e-06/10.28, allocations: 3.281 kB / 3.3 GB, free: 17.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0079/10.29, allocations: 1.58 MB / 3.301 GB, free: 17 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,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01699/10.31, allocations: 4.762 MB / 3.306 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005571/10.31, allocations: 1.922 MB / 3.308 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/10.31, allocations: 0 / 3.308 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002244/10.32, allocations: 1.082 MB / 3.309 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/10.32, allocations: 302.4 kB / 3.309 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2645/10.58, allocations: 76.61 MB / 3.384 GB, free: 6.844 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/10.59, allocations: 1.196 MB / 3.385 GB, free: 5.797 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002344/10.59, allocations: 0.6851 MB / 3.386 GB, free: 5.395 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009078/10.59, allocations: 438.5 kB / 3.386 GB, free: 5.004 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/10.59, allocations: 448 / 3.386 GB, free: 5.004 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6278/11.22, allocations: 68.36 MB / 3.453 GB, free: 51.57 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/11.22, allocations: 253.6 kB / 3.453 GB, free: 51.24 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.406/16.62, allocations: 4 kB / 3.453 GB, free: 51.23 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat