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.935/1.935, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.561e-05/4.564e-05, allocations: 5.547 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.542/7.648, allocations: 2.502 GB / 2.816 GB, free: 58.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/7.648, allocations: 84.2 kB / 2.816 GB, free: 58.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524/10.17, allocations: 425.7 MB / 3.232 GB, free: 47.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.756e-06/10.17, allocations: 0 / 3.232 GB, free: 47.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001121/10.17, allocations: 15.62 kB / 3.232 GB, free: 47.03 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.01046/10.18, allocations: 1.709 MB / 3.234 GB, free: 46.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/10.18, allocations: 11.12 kB / 3.234 GB, free: 46.34 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003368/10.18, allocations: 96.88 kB / 3.234 GB, free: 46.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005609/10.19, allocations: 311.5 kB / 3.234 GB, free: 46.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/10.19, allocations: 0.5805 MB / 3.235 GB, free: 46.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/10.19, allocations: 48 kB / 3.235 GB, free: 46.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/10.19, allocations: 54.62 kB / 3.235 GB, free: 46.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004472/10.2, allocations: 0.9681 MB / 3.236 GB, free: 45.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/10.2, allocations: 3.812 kB / 3.236 GB, free: 45.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/10.2, allocations: 24.31 kB / 3.236 GB, free: 45.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.854e-05/10.2, allocations: 20.72 kB / 3.236 GB, free: 45.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004199/10.2, allocations: 0.7896 MB / 3.237 GB, free: 45.82 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.00955/10.21, allocations: 4.45 MB / 3.241 GB, free: 42.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/10.21, allocations: 0.7127 MB / 3.242 GB, free: 42.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007743/10.22, allocations: 231.9 kB / 3.242 GB, free: 42.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3079/10.52, allocations: 83.18 MB / 3.323 GB, free: 25.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/10.52, allocations: 38.31 kB / 3.323 GB, free: 25.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 3.226e-06/10.52, allocations: 0 / 3.323 GB, free: 25.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.007177/10.53, allocations: 1.833 MB / 3.325 GB, free: 25.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/10.53, allocations: 106.6 kB / 3.325 GB, free: 25.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006691/10.53, allocations: 421.2 kB / 3.325 GB, free: 25.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.465e-05/10.53, allocations: 36.27 kB / 3.325 GB, free: 25.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/10.53, allocations: 339.3 kB / 3.326 GB, free: 25.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/10.53, allocations: 182.2 kB / 3.326 GB, free: 24.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/10.53, allocations: 12.75 kB / 3.326 GB, free: 24.94 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/10.53, allocations: 367 kB / 3.326 GB, free: 24.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/10.53, allocations: 192.1 kB / 3.327 GB, free: 24.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/10.53, allocations: 387.1 kB / 3.327 GB, free: 24.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/10.53, allocations: 242.4 kB / 3.327 GB, free: 24.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/10.53, allocations: 3.938 kB / 3.327 GB, free: 24.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002448/10.54, allocations: 0.8096 MB / 3.328 GB, free: 24.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000854/10.54, allocations: 2.187 MB / 3.33 GB, free: 22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/10.54, allocations: 6.719 kB / 3.33 GB, free: 22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/10.54, allocations: 370.2 kB / 3.33 GB, free: 21.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009399/10.54, allocations: 140.7 kB / 3.331 GB, free: 21.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/10.54, allocations: 0.8669 MB / 3.331 GB, free: 21.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/10.54, allocations: 93.48 kB / 3.332 GB, free: 21.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.872e-05/10.54, allocations: 34.83 kB / 3.332 GB, free: 21.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/10.54, allocations: 3.5 kB / 3.332 GB, free: 21.45 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002707/10.55, allocations: 0.772 MB / 3.332 GB, free: 21.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/10.55, allocations: 4.469 kB / 3.332 GB, free: 21.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/10.55, allocations: 284.5 kB / 3.333 GB, free: 21.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/10.55, allocations: 148.5 kB / 3.333 GB, free: 21.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/10.55, allocations: 0.8285 MB / 3.334 GB, free: 20.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/10.55, allocations: 89.81 kB / 3.334 GB, free: 20.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/10.55, allocations: 45.14 kB / 3.334 GB, free: 20.85 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.0003075/10.55, allocations: 144.1 kB / 3.334 GB, free: 20.74 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/10.55, allocations: 60.47 kB / 3.334 GB, free: 20.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/10.56, allocations: 2.839 MB / 3.337 GB, free: 20.37 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-05/10.56, allocations: 40.34 kB / 3.337 GB, free: 20.37 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/10.56, allocations: 7.578 kB / 3.337 GB, free: 20.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/10.56, allocations: 3.281 kB / 3.337 GB, free: 20.37 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005932/10.56, allocations: 3.965 MB / 3.341 GB, free: 19.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/10.56, allocations: 0 / 3.341 GB, free: 19.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/10.56, allocations: 166.1 kB / 3.341 GB, free: 19.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/10.57, allocations: 69.2 kB / 3.341 GB, free: 19.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.621e-05/10.57, allocations: 16.77 kB / 3.341 GB, free: 19.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009678/10.57, allocations: 1.18 MB / 3.342 GB, free: 18.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/10.57, allocations: 3.953 kB / 3.342 GB, free: 18.79 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003899/10.57, allocations: 2.356 MB / 3.344 GB, free: 18.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007364/10.57, allocations: 317.7 kB / 3.345 GB, free: 18.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/10.57, allocations: 13.97 kB / 3.345 GB, free: 18.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009352/10.57, allocations: 73.41 kB / 3.345 GB, free: 18.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/10.57, allocations: 60.22 kB / 3.345 GB, free: 18.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/10.57, allocations: 26.2 kB / 3.345 GB, free: 18.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006791/10.57, allocations: 389.3 kB / 3.345 GB, free: 18.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/10.57, allocations: 1.406 kB / 3.345 GB, free: 18.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006877/10.58, allocations: 1.382 MB / 3.346 GB, free: 18.01 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.01528/10.6, allocations: 4.546 MB / 3.351 GB, free: 16.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003501/10.6, allocations: 1.269 MB / 3.352 GB, free: 16.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/10.6, allocations: 0 / 3.352 GB, free: 16.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/10.6, allocations: 0.8008 MB / 3.353 GB, free: 16.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/10.6, allocations: 302.5 kB / 3.353 GB, free: 16.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6272/11.23, allocations: 76.85 MB / 3.428 GB, free: 74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/11.23, allocations: 1.168 MB / 3.429 GB, free: 73.28 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00199/11.23, allocations: 0.6692 MB / 3.43 GB, free: 73.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007343/11.23, allocations: 447 kB / 3.43 GB, free: 73.24 MB / 474.7 MB Notification: Performance of SimCode: time 1.613e-06/11.23, allocations: 0 / 3.43 GB, free: 73.24 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/11.37, allocations: 58.02 MB / 3.487 GB, free: 69.87 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002962/11.37, allocations: 238.3 kB / 3.487 GB, free: 69.56 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.121/16.49, allocations: 0 / 3.487 GB, free: 69.56 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