Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.971/1.971, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.382e-05/4.392e-05, allocations: 8 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 48.69 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.454/7.559, allocations: 2.502 GB / 2.816 GB, free: 75.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/7.56, allocations: 89.19 kB / 2.816 GB, free: 75.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.322/9.882, allocations: 425.6 MB / 3.232 GB, free: 44.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/9.882, allocations: 6.469 kB / 3.232 GB, free: 44.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.911e-05/9.882, allocations: 21.3 kB / 3.232 GB, free: 44.21 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.009795/9.892, allocations: 1.697 MB / 3.234 GB, free: 43.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/9.892, allocations: 9.125 kB / 3.234 GB, free: 43.56 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003146/9.892, allocations: 101.2 kB / 3.234 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005989/9.898, allocations: 313.2 kB / 3.234 GB, free: 43.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/9.901, allocations: 0.5844 MB / 3.235 GB, free: 43.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/9.901, allocations: 51.28 kB / 3.235 GB, free: 43.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/9.901, allocations: 54.48 kB / 3.235 GB, free: 43.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004473/9.906, allocations: 0.9667 MB / 3.236 GB, free: 43.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/9.906, allocations: 2.812 kB / 3.236 GB, free: 43.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/9.906, allocations: 29.89 kB / 3.236 GB, free: 43.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/9.906, allocations: 25.91 kB / 3.236 GB, free: 43.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003972/9.91, allocations: 0.804 MB / 3.237 GB, free: 43.04 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.01771/9.928, allocations: 4.444 MB / 3.241 GB, free: 39.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006226/9.934, allocations: 0.7114 MB / 3.242 GB, free: 39.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000695/9.935, allocations: 236 kB / 3.242 GB, free: 39.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.341/10.28, allocations: 83.19 MB / 3.323 GB, free: 23.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/10.28, allocations: 38.25 kB / 3.323 GB, free: 23.35 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 3.497e-06/10.28, allocations: 0 / 3.323 GB, free: 23.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.006846/10.28, allocations: 1.832 MB / 3.325 GB, free: 22.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/10.28, allocations: 118.2 kB / 3.325 GB, free: 22.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/10.28, allocations: 417.7 kB / 3.325 GB, free: 22.69 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/10.28, allocations: 38.61 kB / 3.326 GB, free: 22.66 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/10.28, allocations: 332.8 kB / 3.326 GB, free: 22.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/10.28, allocations: 182.5 kB / 3.326 GB, free: 22.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/10.28, allocations: 14.88 kB / 3.326 GB, free: 22.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/10.28, allocations: 363.8 kB / 3.326 GB, free: 22.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/10.28, allocations: 197.7 kB / 3.327 GB, free: 22.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/10.29, allocations: 396.9 kB / 3.327 GB, free: 21.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/10.29, allocations: 236.1 kB / 3.327 GB, free: 21.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/10.29, allocations: 7.469 kB / 3.327 GB, free: 21.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002446/10.29, allocations: 0.8302 MB / 3.328 GB, free: 21.72 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009362/10.29, allocations: 2.181 MB / 3.33 GB, free: 19.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/10.29, allocations: 3.25 kB / 3.33 GB, free: 19.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002809/10.29, allocations: 372.6 kB / 3.33 GB, free: 19.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009784/10.29, allocations: 142.6 kB / 3.331 GB, free: 19.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/10.3, allocations: 0.8637 MB / 3.331 GB, free: 18.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/10.3, allocations: 104.6 kB / 3.332 GB, free: 18.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.793e-05/10.3, allocations: 34.23 kB / 3.332 GB, free: 18.87 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/10.3, allocations: 3.969 kB / 3.332 GB, free: 18.87 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002662/10.3, allocations: 0.774 MB / 3.332 GB, free: 18.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/10.3, allocations: 12.03 kB / 3.332 GB, free: 18.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/10.3, allocations: 278.6 kB / 3.333 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009154/10.3, allocations: 153.2 kB / 3.333 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/10.3, allocations: 0.8253 MB / 3.334 GB, free: 18.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/10.3, allocations: 89.14 kB / 3.334 GB, free: 18.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/10.3, allocations: 33.06 kB / 3.334 GB, free: 18.28 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002867/10.3, allocations: 143.2 kB / 3.334 GB, free: 18.17 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/10.3, allocations: 64.5 kB / 3.334 GB, free: 18.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/10.31, allocations: 2.841 MB / 3.337 GB, free: 17.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/10.31, allocations: 50.36 kB / 3.337 GB, free: 17.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/10.31, allocations: 0 / 3.337 GB, free: 17.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/10.31, allocations: 6.125 kB / 3.337 GB, free: 17.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005525/10.31, allocations: 3.956 MB / 3.341 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/10.31, allocations: 7.672 kB / 3.341 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/10.32, allocations: 168.2 kB / 3.341 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000441/10.32, allocations: 66.78 kB / 3.341 GB, free: 17.33 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/10.32, allocations: 17.14 kB / 3.341 GB, free: 17.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009026/10.32, allocations: 1.185 MB / 3.342 GB, free: 16.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/10.32, allocations: 2.875 kB / 3.342 GB, free: 16.22 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/10.32, allocations: 2.359 MB / 3.344 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006151/10.32, allocations: 316 kB / 3.345 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/10.32, allocations: 10.66 kB / 3.345 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008922/10.32, allocations: 78.45 kB / 3.345 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/10.32, allocations: 49.11 kB / 3.345 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/10.32, allocations: 21.25 kB / 3.345 GB, free: 15.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006363/10.32, allocations: 388.7 kB / 3.345 GB, free: 15.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.473e-06/10.32, allocations: 0 / 3.345 GB, free: 15.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006396/10.33, allocations: 1.384 MB / 3.346 GB, free: 15.44 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0142/10.34, allocations: 4.54 MB / 3.351 GB, free: 14.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003406/10.35, allocations: 1.292 MB / 3.352 GB, free: 14.31 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/10.35, allocations: 0 / 3.352 GB, free: 14.31 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/10.35, allocations: 0.805 MB / 3.353 GB, free: 14.31 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/10.35, allocations: 298.2 kB / 3.353 GB, free: 14.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5687/10.92, allocations: 76.83 MB / 3.428 GB, free: 73.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/10.92, allocations: 1.164 MB / 3.429 GB, free: 72.81 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001934/10.92, allocations: 0.6727 MB / 3.43 GB, free: 72.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/10.92, allocations: 446.5 kB / 3.43 GB, free: 72.8 MB / 474.7 MB Notification: Performance of SimCode: time 2.275e-06/10.92, allocations: 0 / 3.43 GB, free: 72.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/11.06, allocations: 57.94 MB / 3.487 GB, free: 69.91 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/11.06, allocations: 250.1 kB / 3.487 GB, free: 69.58 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.169/16.23, allocations: 0 / 3.487 GB, free: 69.58 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat