Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 270 MB / 283.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.675e-05, allocations: 4 kB / 348.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3949, allocations: 61.86 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.556/8.951, allocations: 2.787 GB / 3.188 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/8.951, allocations: 83.64 kB / 3.188 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.322/11.27, allocations: 443.7 MB / 3.621 GB, free: 58.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.525e-06/11.27, allocations: 0 / 3.621 GB, free: 58.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.405e-05/11.27, allocations: 20.53 kB / 3.621 GB, free: 58.52 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.008025/11.28, allocations: 1.745 MB / 3.623 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/11.28, allocations: 11.06 kB / 3.623 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002604/11.28, allocations: 100.8 kB / 3.623 GB, free: 57.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/11.29, allocations: 335.6 kB / 3.623 GB, free: 57.31 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/11.29, allocations: 0.5643 MB / 3.624 GB, free: 56.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-05/11.29, allocations: 45.69 kB / 3.624 GB, free: 56.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/11.29, allocations: 61.36 kB / 3.624 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003275/11.29, allocations: 0.9637 MB / 3.625 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/11.29, allocations: 7.875 kB / 3.625 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/11.29, allocations: 27.91 kB / 3.625 GB, free: 56.42 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.133e-05/11.29, allocations: 24.73 kB / 3.625 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003078/11.29, allocations: 0.7965 MB / 3.626 GB, free: 56.19 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.007622/11.3, allocations: 4.518 MB / 3.63 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/11.31, allocations: 0.7115 MB / 3.631 GB, free: 52.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006005/11.31, allocations: 257.7 kB / 3.631 GB, free: 52.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1764/11.48, allocations: 55.76 MB / 3.686 GB, free: 22.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/11.48, allocations: 42.94 kB / 3.686 GB, free: 22.08 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 3.476e-06/11.48, allocations: 4 kB / 3.686 GB, free: 22.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.007443/11.49, allocations: 1.843 MB / 3.687 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/11.49, allocations: 111.2 kB / 3.688 GB, free: 20.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007527/11.49, allocations: 446.1 kB / 3.688 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.572e-05/11.49, allocations: 37.7 kB / 3.688 GB, free: 19.87 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/11.49, allocations: 327.8 kB / 3.688 GB, free: 19.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/11.49, allocations: 169.2 kB / 3.689 GB, free: 19.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/11.49, allocations: 16 kB / 3.689 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001942/11.49, allocations: 368.6 kB / 3.689 GB, free: 19.06 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/11.49, allocations: 196.1 kB / 3.689 GB, free: 18.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/11.49, allocations: 357.7 kB / 3.689 GB, free: 18.47 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/11.49, allocations: 233.7 kB / 3.69 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/11.49, allocations: 8 kB / 3.69 GB, free: 18.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002542/11.5, allocations: 0.7882 MB / 3.69 GB, free: 17.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007705/11.5, allocations: 1.741 MB / 3.692 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/11.5, allocations: 7.953 kB / 3.692 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/11.5, allocations: 400.3 kB / 3.692 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009436/11.5, allocations: 129.1 kB / 3.693 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/11.5, allocations: 0.88 MB / 3.693 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/11.5, allocations: 94.31 kB / 3.694 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.261e-05/11.5, allocations: 35.47 kB / 3.694 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/11.5, allocations: 4 kB / 3.694 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003174/11.51, allocations: 0.7494 MB / 3.694 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/11.51, allocations: 4 kB / 3.694 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/11.51, allocations: 296.8 kB / 3.695 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009442/11.51, allocations: 141 kB / 3.695 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/11.51, allocations: 0.8366 MB / 3.696 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/11.51, allocations: 93.22 kB / 3.696 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/11.51, allocations: 31.23 kB / 3.696 GB, free: 12.35 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.0002962/11.51, allocations: 144.8 kB / 3.696 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/11.51, allocations: 65.45 kB / 3.696 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005278/11.52, allocations: 2.839 MB / 3.699 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.421e-05/11.52, allocations: 42.56 kB / 3.699 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/11.52, allocations: 0 / 3.699 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/11.52, allocations: 3.797 kB / 3.699 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00978/11.53, allocations: 4.006 MB / 3.703 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/11.53, allocations: 0 / 3.703 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/11.53, allocations: 166.1 kB / 3.703 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007139/11.53, allocations: 82.61 kB / 3.703 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/11.53, allocations: 15.61 kB / 3.703 GB, free: 5.789 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/11.53, allocations: 1.176 MB / 3.704 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/11.53, allocations: 4 kB / 3.704 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006734/11.54, allocations: 2.377 MB / 3.706 GB, free: 2.352 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009482/11.54, allocations: 322.7 kB / 3.707 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/11.54, allocations: 12 kB / 3.707 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/11.54, allocations: 77.78 kB / 3.707 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/11.54, allocations: 50.69 kB / 3.707 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/11.54, allocations: 23.09 kB / 3.707 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001229/11.55, allocations: 451.9 kB / 3.707 GB, free: 1.531 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.41e-07/11.55, allocations: 4 kB / 3.707 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02142/11.57, allocations: 1.409 MB / 3.709 GB, free: 156 kB / 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.4838/12.05, allocations: 4.564 MB / 3.713 GB, free: 78.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004239/12.05, allocations: 1.264 MB / 3.714 GB, free: 78.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/12.05, allocations: 3.719 kB / 3.714 GB, free: 78.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/12.06, allocations: 0.7964 MB / 3.715 GB, free: 78.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/12.06, allocations: 323.5 kB / 3.715 GB, free: 78.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008107/12.07, allocations: 2.552 MB / 3.718 GB, free: 78.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/12.07, allocations: 1.169 MB / 3.719 GB, free: 77.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001858/12.07, allocations: 0.6821 MB / 3.72 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006754/12.07, allocations: 449.7 kB / 3.72 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of SimCode: time 1.203e-06/12.07, allocations: 0 / 3.72 GB, free: 77.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1412/12.21, allocations: 59.14 MB / 3.778 GB, free: 75.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/12.21, allocations: 250.7 kB / 3.778 GB, free: 75.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.58/17.79, allocations: 0 / 3.778 GB, free: 75.09 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat