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 2.042/2.042, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.836e-05/3.861e-05, allocations: 7.984 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 48.7 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.932/8.04, allocations: 2.502 GB / 2.816 GB, free: 58.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003599/8.04, allocations: 80.64 kB / 2.816 GB, free: 58.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.589/10.63, allocations: 425.5 MB / 3.232 GB, free: 46.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.053e-06/10.63, allocations: 0 / 3.232 GB, free: 46.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.585e-05/10.63, allocations: 18.09 kB / 3.232 GB, free: 46.88 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.64, allocations: 1.717 MB / 3.233 GB, free: 46.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/10.64, allocations: 10.69 kB / 3.234 GB, free: 46.18 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002623/10.64, allocations: 101 kB / 3.234 GB, free: 46.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003714/10.64, allocations: 319.4 kB / 3.234 GB, free: 46.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/10.64, allocations: 0.5845 MB / 3.234 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/10.64, allocations: 43.41 kB / 3.235 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/10.64, allocations: 58.72 kB / 3.235 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/10.65, allocations: 0.9589 MB / 3.236 GB, free: 45.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/10.65, allocations: 7.719 kB / 3.236 GB, free: 45.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/10.65, allocations: 27.55 kB / 3.236 GB, free: 45.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/10.65, allocations: 25.84 kB / 3.236 GB, free: 45.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/10.65, allocations: 0.7865 MB / 3.236 GB, free: 45.66 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.007666/10.66, allocations: 4.613 MB / 3.241 GB, free: 42.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/10.66, allocations: 0.6814 MB / 3.242 GB, free: 42.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/10.66, allocations: 206.5 kB / 3.242 GB, free: 42.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06409/10.73, allocations: 18.41 MB / 3.26 GB, free: 31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/10.73, allocations: 37.94 kB / 3.26 GB, free: 30.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 5.521e-06/10.73, allocations: 3.156 kB / 3.26 GB, free: 30.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.05955/10.79, allocations: 4.04 MB / 3.264 GB, free: 30.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/10.79, allocations: 114.8 kB / 3.264 GB, free: 30.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/10.79, allocations: 414.5 kB / 3.264 GB, free: 30.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/10.79, allocations: 35.08 kB / 3.264 GB, free: 30.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/10.79, allocations: 354.8 kB / 3.265 GB, free: 29.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/10.79, allocations: 216.6 kB / 3.265 GB, free: 29.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.646e-05/10.79, allocations: 14.88 kB / 3.265 GB, free: 29.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/10.79, allocations: 376.4 kB / 3.265 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007462/10.79, allocations: 275.4 kB / 3.265 GB, free: 29.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009665/10.79, allocations: 0.4899 MB / 3.266 GB, free: 29.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009733/10.79, allocations: 340.1 kB / 3.266 GB, free: 29.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/10.79, allocations: 0.9375 kB / 3.266 GB, free: 29.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003081/10.79, allocations: 1.04 MB / 3.267 GB, free: 29.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006098/10.79, allocations: 2.618 MB / 3.27 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/10.79, allocations: 3.781 kB / 3.27 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00685/10.8, allocations: 0.8391 MB / 3.271 GB, free: 26.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/10.8, allocations: 188.1 kB / 3.271 GB, free: 26.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/10.81, allocations: 1.623 MB / 3.272 GB, free: 25.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/10.81, allocations: 121.4 kB / 3.272 GB, free: 25.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/10.81, allocations: 48.75 kB / 3.273 GB, free: 25.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/10.81, allocations: 3.406 kB / 3.273 GB, free: 25.37 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00351/10.81, allocations: 1.004 MB / 3.273 GB, free: 25.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/10.81, allocations: 11.81 kB / 3.274 GB, free: 25.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003883/10.82, allocations: 0.5635 MB / 3.274 GB, free: 25.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/10.82, allocations: 195.2 kB / 3.274 GB, free: 25.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/10.82, allocations: 1.582 MB / 3.276 GB, free: 24.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/10.82, allocations: 116.8 kB / 3.276 GB, free: 24.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/10.82, allocations: 50.52 kB / 3.276 GB, free: 24.27 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.0003531/10.82, allocations: 158.7 kB / 3.276 GB, free: 24.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/10.82, allocations: 61.84 kB / 3.276 GB, free: 24.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008339/10.83, allocations: 3.66 MB / 3.28 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.95e-05/10.83, allocations: 35.89 kB / 3.28 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/10.83, allocations: 1.844 kB / 3.28 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/10.83, allocations: 3.234 kB / 3.28 GB, free: 23.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008535/10.84, allocations: 4.655 MB / 3.284 GB, free: 23.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/10.84, allocations: 3.562 kB / 3.284 GB, free: 23.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009904/10.84, allocations: 137.9 kB / 3.284 GB, free: 23.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007068/10.85, allocations: 1.77 MB / 3.286 GB, free: 23.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/10.85, allocations: 27.92 kB / 3.286 GB, free: 23.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003491/10.85, allocations: 2.369 MB / 3.289 GB, free: 22.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/10.85, allocations: 3.188 kB / 3.289 GB, free: 22.19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004386/10.86, allocations: 2.302 MB / 3.291 GB, free: 21.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007537/10.86, allocations: 316.1 kB / 3.291 GB, free: 21.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/10.86, allocations: 21.12 kB / 3.291 GB, free: 21.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/10.86, allocations: 115.2 kB / 3.291 GB, free: 21.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/10.86, allocations: 60.08 kB / 3.291 GB, free: 21.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/10.86, allocations: 36.83 kB / 3.291 GB, free: 21.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000718/10.86, allocations: 412.8 kB / 3.292 GB, free: 21.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.184e-06/10.86, allocations: 0 / 3.292 GB, free: 21.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007701/10.87, allocations: 1.55 MB / 3.293 GB, free: 21.35 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.0161/10.88, allocations: 4.449 MB / 3.298 GB, free: 20.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005705/10.89, allocations: 1.634 MB / 3.299 GB, free: 20.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/10.89, allocations: 0 / 3.299 GB, free: 20.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002334/10.89, allocations: 0.9044 MB / 3.3 GB, free: 20.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/10.89, allocations: 294 kB / 3.3 GB, free: 20.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2482/11.14, allocations: 76.36 MB / 3.375 GB, free: 4.746 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008767/11.14, allocations: 1.145 MB / 3.376 GB, free: 3.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002158/11.15, allocations: 0.6635 MB / 3.377 GB, free: 3.324 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/11.15, allocations: 392.4 kB / 3.377 GB, free: 2.977 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/11.15, allocations: 0 / 3.377 GB, free: 2.977 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6254/11.77, allocations: 64.59 MB / 3.44 GB, free: 53.89 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/11.77, allocations: 238.5 kB / 3.44 GB, free: 53.56 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.484/17.26, allocations: 3.938 kB / 3.44 GB, free: 53.55 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