Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 270 MB / 283.6 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.508e-05, allocations: 4 kB / 348.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4168, allocations: 61.88 MB / 410.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.492/8.909, allocations: 2.787 GB / 3.188 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/8.909, allocations: 83.95 kB / 3.188 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.281/11.19, allocations: 444.5 MB / 3.622 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.124e-06/11.19, allocations: 0.9375 kB / 3.622 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.619e-05/11.19, allocations: 15.5 kB / 3.622 GB, free: 57.89 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007762/11.2, allocations: 1.779 MB / 3.624 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/11.2, allocations: 13.12 kB / 3.624 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002192/11.2, allocations: 101.6 kB / 3.624 GB, free: 56.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/11.2, allocations: 334.8 kB / 3.625 GB, free: 56.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/11.2, allocations: 0.5738 MB / 3.625 GB, free: 56.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.579e-05/11.2, allocations: 59.69 kB / 3.625 GB, free: 56.26 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/11.2, allocations: 57.72 kB / 3.625 GB, free: 56.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/11.21, allocations: 0.9828 MB / 3.626 GB, free: 55.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/11.21, allocations: 0 / 3.626 GB, free: 55.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/11.21, allocations: 31.47 kB / 3.626 GB, free: 55.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/11.21, allocations: 27.52 kB / 3.626 GB, free: 55.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002729/11.21, allocations: 0.8156 MB / 3.627 GB, free: 55.52 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.007954/11.22, allocations: 4.846 MB / 3.632 GB, free: 51.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/11.22, allocations: 0.7433 MB / 3.633 GB, free: 51.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/11.22, allocations: 232.6 kB / 3.633 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07443/11.3, allocations: 24.17 MB / 3.656 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/11.3, allocations: 42.94 kB / 3.656 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 3.706e-06/11.3, allocations: 0 / 3.656 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.005458/11.3, allocations: 1.075 MB / 3.657 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/11.3, allocations: 115.2 kB / 3.658 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009529/11.3, allocations: 464.4 kB / 3.658 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001722/11.3, allocations: 33.7 kB / 3.658 GB, free: 34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/11.3, allocations: 345.3 kB / 3.658 GB, free: 33.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/11.3, allocations: 164.2 kB / 3.659 GB, free: 33.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/11.3, allocations: 8 kB / 3.659 GB, free: 33.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001174/11.3, allocations: 372.1 kB / 3.659 GB, free: 33.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/11.3, allocations: 189.2 kB / 3.659 GB, free: 33.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009063/11.31, allocations: 362.7 kB / 3.659 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/11.31, allocations: 231 kB / 3.66 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/11.31, allocations: 4 kB / 3.66 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002056/11.31, allocations: 0.7108 MB / 3.66 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005287/11.31, allocations: 2.003 MB / 3.662 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/11.31, allocations: 4 kB / 3.662 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004111/11.31, allocations: 446.8 kB / 3.663 GB, free: 29.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/11.31, allocations: 138.4 kB / 3.663 GB, free: 29.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/11.32, allocations: 0.8008 MB / 3.664 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/11.32, allocations: 130.5 kB / 3.664 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/11.32, allocations: 43.8 kB / 3.664 GB, free: 28.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/11.32, allocations: 4 kB / 3.664 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002251/11.32, allocations: 0.646 MB / 3.664 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/11.32, allocations: 11.94 kB / 3.664 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/11.32, allocations: 174 kB / 3.665 GB, free: 27.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/11.32, allocations: 156.3 kB / 3.665 GB, free: 27.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/11.32, allocations: 0.724 MB / 3.665 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/11.33, allocations: 119.3 kB / 3.666 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/11.33, allocations: 35.61 kB / 3.666 GB, free: 26.49 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002864/11.33, allocations: 143.3 kB / 3.666 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/11.33, allocations: 63.25 kB / 3.666 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004788/11.33, allocations: 3.05 MB / 3.669 GB, free: 23.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.805e-05/11.33, allocations: 45.28 kB / 3.669 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/11.33, allocations: 0 / 3.669 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/11.33, allocations: 6.234 kB / 3.669 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/11.33, allocations: 1.478 MB / 3.67 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/11.33, allocations: 0 / 3.67 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006727/11.33, allocations: 94.5 kB / 3.67 GB, free: 22.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004942/11.34, allocations: 1.4 MB / 3.672 GB, free: 20.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/11.34, allocations: 15.33 kB / 3.672 GB, free: 20.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/11.34, allocations: 1.534 MB / 3.673 GB, free: 19.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/11.34, allocations: 0 / 3.673 GB, free: 19.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003327/11.34, allocations: 2.018 MB / 3.675 GB, free: 17.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007147/11.35, allocations: 339.1 kB / 3.676 GB, free: 17.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/11.35, allocations: 12 kB / 3.676 GB, free: 17.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/11.35, allocations: 80.77 kB / 3.676 GB, free: 17.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/11.35, allocations: 60.38 kB / 3.676 GB, free: 17.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/11.35, allocations: 23.61 kB / 3.676 GB, free: 17.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008628/11.35, allocations: 465.3 kB / 3.676 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.71e-07/11.35, allocations: 0 / 3.676 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00693/11.35, allocations: 1.438 MB / 3.678 GB, free: 15.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01406/11.37, allocations: 3.901 MB / 3.681 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004048/11.37, allocations: 1.193 MB / 3.683 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/11.37, allocations: 0 / 3.683 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/11.37, allocations: 0.7387 MB / 3.683 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/11.38, allocations: 326.1 kB / 3.684 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008389/11.39, allocations: 2.37 MB / 3.686 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/11.39, allocations: 1.171 MB / 3.687 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001927/11.39, allocations: 0.6846 MB / 3.688 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006927/11.39, allocations: 418.9 kB / 3.688 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of SimCode: time 2.675e-06/11.39, allocations: 0 / 3.688 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5946/11.98, allocations: 58.8 MB / 3.746 GB, free: 58.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003381/11.98, allocations: 249.8 kB / 3.746 GB, free: 58.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.608/17.59, allocations: 3.594 kB / 3.746 GB, free: 58.07 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat