Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.572/2.572, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.404e-05/3.413e-05, allocations: 4 kB / 323.5 MB, free: 4.207 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4743, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.342/8.816, allocations: 2.782 GB / 3.155 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/8.816, allocations: 80.94 kB / 3.155 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.323/11.14, allocations: 439.1 MB / 3.584 GB, free: 67.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.504e-06/11.14, allocations: 6.594 kB / 3.584 GB, free: 67.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.262e-05/11.14, allocations: 22.36 kB / 3.584 GB, free: 67.37 MB / 0.5105 GB 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.007335/11.15, allocations: 1.745 MB / 3.586 GB, free: 66.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/11.15, allocations: 10.75 kB / 3.586 GB, free: 66.53 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002062/11.15, allocations: 101.8 kB / 3.586 GB, free: 66.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003676/11.15, allocations: 330.2 kB / 3.586 GB, free: 66.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/11.15, allocations: 0.5689 MB / 3.587 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.219e-05/11.15, allocations: 52.41 kB / 3.587 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/11.15, allocations: 49.97 kB / 3.587 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/11.16, allocations: 0.9647 MB / 3.588 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/11.16, allocations: 5.406 kB / 3.588 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/11.16, allocations: 30.72 kB / 3.588 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/11.16, allocations: 24.38 kB / 3.588 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/11.16, allocations: 0.7944 MB / 3.588 GB, free: 65.99 MB / 0.5105 GB 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.01096/11.17, allocations: 4.526 MB / 3.593 GB, free: 62.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004487/11.17, allocations: 0.7257 MB / 3.594 GB, free: 62.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000838/11.18, allocations: 236.3 kB / 3.594 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2105/11.39, allocations: 55.75 MB / 3.648 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/11.39, allocations: 46.23 kB / 3.648 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.156e-06/11.39, allocations: 0 / 3.648 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007551/11.39, allocations: 1.841 MB / 3.65 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/11.39, allocations: 108.4 kB / 3.65 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007603/11.39, allocations: 442 kB / 3.651 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.485e-05/11.39, allocations: 37.2 kB / 3.651 GB, free: 25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/11.39, allocations: 330.5 kB / 3.651 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/11.39, allocations: 178.6 kB / 3.651 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/11.39, allocations: 8 kB / 3.651 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001153/11.39, allocations: 370.7 kB / 3.651 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/11.4, allocations: 195.9 kB / 3.652 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/11.4, allocations: 358.3 kB / 3.652 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/11.4, allocations: 241 kB / 3.652 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/11.4, allocations: 0 / 3.652 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002624/11.4, allocations: 0.7894 MB / 3.653 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001496/11.4, allocations: 1.748 MB / 3.655 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/11.4, allocations: 3.781 kB / 3.655 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003238/11.4, allocations: 391.1 kB / 3.655 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/11.41, allocations: 133 kB / 3.655 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/11.41, allocations: 0.8706 MB / 3.656 GB, free: 36.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/11.41, allocations: 105.2 kB / 3.656 GB, free: 36.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/11.41, allocations: 34.38 kB / 3.656 GB, free: 36.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/11.41, allocations: 3.094 kB / 3.656 GB, free: 36.87 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003404/11.41, allocations: 0.7551 MB / 3.657 GB, free: 36.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/11.41, allocations: 3.875 kB / 3.657 GB, free: 36.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/11.42, allocations: 299 kB / 3.657 GB, free: 36.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/11.42, allocations: 141.7 kB / 3.657 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/11.42, allocations: 0.8385 MB / 3.658 GB, free: 35.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/11.42, allocations: 89.91 kB / 3.658 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/11.42, allocations: 34.39 kB / 3.658 GB, free: 35.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (55): * Single equations (assignments): 54 * 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.0003531/11.42, allocations: 140.8 kB / 3.658 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/11.42, allocations: 63.25 kB / 3.658 GB, free: 35.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/11.42, allocations: 2.837 MB / 3.661 GB, free: 32.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-05/11.42, allocations: 52.67 kB / 3.661 GB, free: 32.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/11.42, allocations: 0 / 3.661 GB, free: 32.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/11.42, allocations: 7.516 kB / 3.661 GB, free: 32.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007545/11.43, allocations: 3.999 MB / 3.665 GB, free: 29.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/11.43, allocations: 7.953 kB / 3.665 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/11.43, allocations: 168.7 kB / 3.665 GB, free: 28.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/11.43, allocations: 64.47 kB / 3.665 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.229e-05/11.43, allocations: 23.45 kB / 3.665 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009699/11.44, allocations: 1.178 MB / 3.667 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/11.44, allocations: 0 / 3.667 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004121/11.44, allocations: 2.375 MB / 3.669 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008402/11.44, allocations: 323.6 kB / 3.669 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/11.44, allocations: 19.94 kB / 3.669 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/11.44, allocations: 75.86 kB / 3.669 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/11.44, allocations: 50.22 kB / 3.669 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/11.44, allocations: 27.66 kB / 3.669 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008184/11.44, allocations: 447.5 kB / 3.67 GB, free: 24.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/11.44, allocations: 7.938 kB / 3.67 GB, free: 24.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006725/11.45, allocations: 1.4 MB / 3.671 GB, free: 23.24 MB / 0.5261 GB 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.01498/11.46, allocations: 4.548 MB / 3.676 GB, free: 19.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004127/11.47, allocations: 1.268 MB / 3.677 GB, free: 18.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/11.47, allocations: 0 / 3.677 GB, free: 18.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/11.47, allocations: 0.8071 MB / 3.678 GB, free: 17.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/11.47, allocations: 318.7 kB / 3.678 GB, free: 17.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008572/11.48, allocations: 2.551 MB / 3.68 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007955/11.48, allocations: 1.174 MB / 3.682 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001954/11.49, allocations: 0.6864 MB / 3.682 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007051/11.49, allocations: 443.7 kB / 3.683 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.403e-06/11.49, allocations: 4 kB / 3.683 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5522/12.04, allocations: 59.05 MB / 3.74 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/12.04, allocations: 236 kB / 3.741 GB, free: 69.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.376/17.41, allocations: 0 / 3.741 GB, free: 69.23 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat