Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.329/2.329, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.057e-05/4.056e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1434, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.31/8.453, allocations: 2.787 GB / 3.188 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/8.454, allocations: 82.77 kB / 3.188 GB, free: 59.01 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.406/10.86, allocations: 443.7 MB / 3.621 GB, free: 35.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.644e-06/10.86, allocations: 0 / 3.621 GB, free: 35.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.999e-05/10.86, allocations: 23.88 kB / 3.621 GB, free: 35.63 MB / 0.5261 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.007323/10.87, allocations: 1.739 MB / 3.623 GB, free: 33.85 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/10.87, allocations: 12.03 kB / 3.623 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/10.87, allocations: 98.5 kB / 3.623 GB, free: 33.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003353/10.87, allocations: 334.4 kB / 3.623 GB, free: 33.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/10.87, allocations: 0.5706 MB / 3.624 GB, free: 32.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/10.87, allocations: 45.31 kB / 3.624 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/10.87, allocations: 60 kB / 3.624 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/10.87, allocations: 0.9664 MB / 3.625 GB, free: 31.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/10.87, allocations: 0 / 3.625 GB, free: 31.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/10.87, allocations: 28 kB / 3.625 GB, free: 31.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/10.87, allocations: 32.89 kB / 3.625 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/10.88, allocations: 0.7865 MB / 3.626 GB, free: 30.83 MB / 0.5261 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.006192/10.88, allocations: 4.527 MB / 3.63 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/10.89, allocations: 0.7241 MB / 3.631 GB, free: 25.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/10.89, allocations: 238.1 kB / 3.631 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.629/11.52, allocations: 55.75 MB / 3.686 GB, free: 65.85 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/11.52, allocations: 35.55 kB / 3.686 GB, free: 65.81 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.935e-06/11.52, allocations: 0 / 3.686 GB, free: 65.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.007977/11.52, allocations: 1.848 MB / 3.687 GB, free: 65.47 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/11.52, allocations: 110.9 kB / 3.688 GB, free: 65.35 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/11.52, allocations: 440.5 kB / 3.688 GB, free: 65.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/11.53, allocations: 37.36 kB / 3.688 GB, free: 65.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/11.53, allocations: 325.4 kB / 3.688 GB, free: 65.06 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/11.53, allocations: 184.8 kB / 3.688 GB, free: 64.97 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/11.53, allocations: 12.75 kB / 3.688 GB, free: 64.97 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001396/11.53, allocations: 368.3 kB / 3.689 GB, free: 64.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005662/11.53, allocations: 193.7 kB / 3.689 GB, free: 64.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/11.53, allocations: 360 kB / 3.689 GB, free: 64.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/11.53, allocations: 234.1 kB / 3.69 GB, free: 64.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/11.53, allocations: 2.281 kB / 3.69 GB, free: 64.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002783/11.53, allocations: 0.7907 MB / 3.69 GB, free: 64.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003877/11.53, allocations: 1.753 MB / 3.692 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/11.53, allocations: 4.156 kB / 3.692 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003056/11.53, allocations: 384.2 kB / 3.692 GB, free: 62.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/11.54, allocations: 138.1 kB / 3.693 GB, free: 62.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/11.54, allocations: 0.8731 MB / 3.693 GB, free: 62.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/11.54, allocations: 92 kB / 3.694 GB, free: 62.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/11.54, allocations: 37.55 kB / 3.694 GB, free: 62.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/11.54, allocations: 3.656 kB / 3.694 GB, free: 62.05 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00353/11.54, allocations: 0.7518 MB / 3.694 GB, free: 62.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/11.54, allocations: 4.781 kB / 3.694 GB, free: 62.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/11.54, allocations: 299.7 kB / 3.695 GB, free: 62.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/11.55, allocations: 136.6 kB / 3.695 GB, free: 62.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/11.55, allocations: 0.8418 MB / 3.696 GB, free: 61.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/11.55, allocations: 85 kB / 3.696 GB, free: 61.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/11.55, allocations: 36.62 kB / 3.696 GB, free: 61.48 MB / 0.5417 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.0002903/11.55, allocations: 149.8 kB / 3.696 GB, free: 61.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/11.55, allocations: 67.53 kB / 3.696 GB, free: 61.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/11.55, allocations: 2.841 MB / 3.699 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-05/11.55, allocations: 50.44 kB / 3.699 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/11.55, allocations: 0 / 3.699 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/11.55, allocations: 3.844 kB / 3.699 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006352/11.56, allocations: 3.996 MB / 3.703 GB, free: 60.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/11.56, allocations: 0 / 3.703 GB, free: 60.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/11.56, allocations: 177.3 kB / 3.703 GB, free: 60.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004984/11.56, allocations: 72.08 kB / 3.703 GB, free: 60.63 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.111e-05/11.56, allocations: 17.73 kB / 3.703 GB, free: 60.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007154/11.56, allocations: 1.175 MB / 3.704 GB, free: 59.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/11.56, allocations: 6.5 kB / 3.704 GB, free: 59.53 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003998/11.57, allocations: 2.361 MB / 3.706 GB, free: 59.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/11.57, allocations: 334.4 kB / 3.707 GB, free: 59.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000377/11.57, allocations: 14.47 kB / 3.707 GB, free: 59.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/11.57, allocations: 77.7 kB / 3.707 GB, free: 59.08 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/11.57, allocations: 58.25 kB / 3.707 GB, free: 59.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/11.57, allocations: 26.09 kB / 3.707 GB, free: 59.08 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001243/11.57, allocations: 446.4 kB / 3.707 GB, free: 58.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.52e-07/11.57, allocations: 3 kB / 3.707 GB, free: 58.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00914/11.58, allocations: 1.401 MB / 3.709 GB, free: 58.98 MB / 0.5417 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.02021/11.6, allocations: 4.572 MB / 3.713 GB, free: 58.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005975/11.61, allocations: 1.265 MB / 3.714 GB, free: 58.08 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/11.61, allocations: 2.844 kB / 3.714 GB, free: 58.08 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002472/11.61, allocations: 0.8044 MB / 3.715 GB, free: 58.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004103/11.62, allocations: 322.4 kB / 3.715 GB, free: 58.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/11.63, allocations: 2.541 MB / 3.718 GB, free: 57.58 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009657/11.63, allocations: 1.173 MB / 3.719 GB, free: 56.87 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002977/11.63, allocations: 0.6827 MB / 3.72 GB, free: 56.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/11.63, allocations: 452 kB / 3.72 GB, free: 56.84 MB / 0.5417 GB Notification: Performance of SimCode: time 2.064e-06/11.63, allocations: 1.781 kB / 3.72 GB, free: 56.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1797/11.81, allocations: 59.13 MB / 3.778 GB, free: 54.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/11.81, allocations: 243.9 kB / 3.778 GB, free: 53.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.753/17.57, allocations: 0 / 3.778 GB, free: 53.77 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat