Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.509e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1284, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.525/8.653, allocations: 2.787 GB / 3.188 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/8.654, allocations: 87.31 kB / 3.188 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.299/10.95, allocations: 443.7 MB / 3.621 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/10.95, allocations: 8 kB / 3.621 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.137e-05/10.95, allocations: 18.89 kB / 3.621 GB, free: 36.14 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.007978/10.96, allocations: 1.756 MB / 3.623 GB, free: 34.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/10.96, allocations: 8.031 kB / 3.623 GB, free: 34.34 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000218/10.96, allocations: 98.5 kB / 3.623 GB, free: 34.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/10.97, allocations: 331.4 kB / 3.623 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/10.97, allocations: 0.5722 MB / 3.624 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/10.97, allocations: 45.31 kB / 3.624 GB, free: 33.26 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/10.97, allocations: 56 kB / 3.624 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/10.97, allocations: 0.9545 MB / 3.625 GB, free: 32.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/10.97, allocations: 7.984 kB / 3.625 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/10.97, allocations: 24 kB / 3.625 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/10.97, allocations: 25.31 kB / 3.625 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002859/10.97, allocations: 0.7948 MB / 3.626 GB, free: 31.34 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.007239/10.98, allocations: 4.443 MB / 3.63 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/10.98, allocations: 0.7101 MB / 3.631 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/10.98, allocations: 226.1 kB / 3.631 GB, free: 25.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5937/11.58, allocations: 55.74 MB / 3.685 GB, free: 65.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/11.58, allocations: 42.45 kB / 3.685 GB, free: 65.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.975e-06/11.58, allocations: 0 / 3.685 GB, free: 65.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.007782/11.59, allocations: 1.847 MB / 3.687 GB, free: 65.58 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/11.59, allocations: 111 kB / 3.687 GB, free: 65.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009933/11.59, allocations: 466.4 kB / 3.688 GB, free: 65.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/11.59, allocations: 36.58 kB / 3.688 GB, free: 65.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/11.59, allocations: 324 kB / 3.688 GB, free: 65.17 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/11.59, allocations: 183.1 kB / 3.688 GB, free: 65.08 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/11.59, allocations: 13.97 kB / 3.688 GB, free: 65.08 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000136/11.59, allocations: 370.1 kB / 3.689 GB, free: 64.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/11.59, allocations: 188.2 kB / 3.689 GB, free: 64.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/11.59, allocations: 363.4 kB / 3.689 GB, free: 64.58 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/11.59, allocations: 231.6 kB / 3.689 GB, free: 64.58 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/11.59, allocations: 4.531 kB / 3.689 GB, free: 64.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002964/11.59, allocations: 0.8071 MB / 3.69 GB, free: 64.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004391/11.59, allocations: 1.83 MB / 3.692 GB, free: 62.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/11.59, allocations: 4.25 kB / 3.692 GB, free: 62.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003254/11.6, allocations: 398.9 kB / 3.692 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/11.6, allocations: 138.6 kB / 3.693 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/11.6, allocations: 0.8716 MB / 3.693 GB, free: 62.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/11.6, allocations: 97.17 kB / 3.694 GB, free: 62.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/11.6, allocations: 38.44 kB / 3.694 GB, free: 62.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/11.6, allocations: 5.641 kB / 3.694 GB, free: 62.05 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002361/11.6, allocations: 0.6807 MB / 3.694 GB, free: 62.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/11.6, allocations: 5.844 kB / 3.694 GB, free: 62.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/11.6, allocations: 282.1 kB / 3.694 GB, free: 62.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/11.61, allocations: 135.8 kB / 3.695 GB, free: 62.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/11.61, allocations: 0.8265 MB / 3.695 GB, free: 61.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/11.61, allocations: 87.28 kB / 3.696 GB, free: 61.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-05/11.61, allocations: 38.95 kB / 3.696 GB, free: 61.49 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (54): * Single equations (assignments): 53 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002888/11.61, allocations: 138.4 kB / 3.696 GB, free: 61.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/11.61, allocations: 68.08 kB / 3.696 GB, free: 61.35 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004726/11.61, allocations: 2.665 MB / 3.698 GB, free: 61.07 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.154e-05/11.61, allocations: 34.92 kB / 3.698 GB, free: 61.07 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/11.61, allocations: 1.375 kB / 3.698 GB, free: 61.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/11.61, allocations: 3.656 kB / 3.698 GB, free: 61.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006232/11.62, allocations: 3.727 MB / 3.702 GB, free: 60.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/11.62, allocations: 0.9844 kB / 3.702 GB, free: 60.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/11.62, allocations: 153.7 kB / 3.702 GB, free: 60.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/11.62, allocations: 97.33 kB / 3.702 GB, free: 60.64 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/11.62, allocations: 15.14 kB / 3.702 GB, free: 60.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000846/11.62, allocations: 1.13 MB / 3.703 GB, free: 59.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/11.62, allocations: 3.906 kB / 3.703 GB, free: 59.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/11.63, allocations: 2.105 MB / 3.705 GB, free: 59.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007701/11.63, allocations: 364.6 kB / 3.706 GB, free: 59.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/11.63, allocations: 14.25 kB / 3.706 GB, free: 59.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/11.63, allocations: 68.39 kB / 3.706 GB, free: 59.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/11.63, allocations: 60.97 kB / 3.706 GB, free: 59.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/11.63, allocations: 23.25 kB / 3.706 GB, free: 59.15 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009911/11.63, allocations: 0.5556 MB / 3.706 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.71e-07/11.63, allocations: 1.031 kB / 3.706 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007188/11.64, allocations: 1.416 MB / 3.708 GB, free: 59.05 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01473/11.65, allocations: 4.293 MB / 3.712 GB, free: 58.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003477/11.66, allocations: 1.206 MB / 3.713 GB, free: 58.13 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/11.66, allocations: 0 / 3.713 GB, free: 58.13 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/11.66, allocations: 0.6756 MB / 3.714 GB, free: 58.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/11.66, allocations: 346.5 kB / 3.714 GB, free: 58.12 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008839/11.67, allocations: 2.426 MB / 3.717 GB, free: 57.62 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/11.67, allocations: 1.154 MB / 3.718 GB, free: 56.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002009/11.67, allocations: 0.6906 MB / 3.718 GB, free: 56.89 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007043/11.67, allocations: 443.5 kB / 3.719 GB, free: 56.89 MB / 0.5417 GB Notification: Performance of SimCode: time 1.242e-06/11.67, allocations: 0 / 3.719 GB, free: 56.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1408/11.81, allocations: 59.66 MB / 3.777 GB, free: 54.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/11.81, allocations: 241 kB / 3.777 GB, free: 53.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.528/17.34, allocations: 0 / 3.777 GB, free: 53.82 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat