Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 270 MB / 283.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.287e-05/4.293e-05, allocations: 4 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1343, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.399/8.534, allocations: 2.77 GB / 3.171 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/8.534, allocations: 87.31 kB / 3.171 GB, free: 79.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.38/12.91, allocations: 0.8276 GB / 3.998 GB, free: 47.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.274e-06/12.91, allocations: 0 / 3.998 GB, free: 47.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001724/12.91, allocations: 38.94 kB / 3.998 GB, free: 47.17 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01331/12.93, allocations: 2.596 MB / 4.001 GB, free: 45.67 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/12.93, allocations: 10.81 kB / 4.001 GB, free: 45.67 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006844/12.93, allocations: 188.8 kB / 4.001 GB, free: 45.55 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005202/12.93, allocations: 469.1 kB / 4.002 GB, free: 45.45 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/12.94, allocations: 0.9861 MB / 4.002 GB, free: 44.88 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/12.94, allocations: 103.6 kB / 4.003 GB, free: 44.83 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004164/12.94, allocations: 123.8 kB / 4.003 GB, free: 44.79 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006782/12.94, allocations: 1.937 MB / 4.005 GB, free: 43.89 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.112e-05/12.94, allocations: 7.562 kB / 4.005 GB, free: 43.88 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/12.94, allocations: 57.83 kB / 4.005 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.603e-05/12.94, allocations: 57.41 kB / 4.005 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006204/12.95, allocations: 1.557 MB / 4.006 GB, free: 43.37 MB / 0.5417 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.01772/12.97, allocations: 9.443 MB / 4.015 GB, free: 35.74 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004312/12.97, allocations: 1.057 MB / 4.016 GB, free: 35.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/12.97, allocations: 412.8 kB / 4.017 GB, free: 35.24 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02593/13, allocations: 8.192 MB / 4.025 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/13, allocations: 46.84 kB / 4.025 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 3.206e-06/13, allocations: 0 / 4.025 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91): time 0.01058/13.01, allocations: 1.954 MB / 4.027 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/13.01, allocations: 119.4 kB / 4.027 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/13.01, allocations: 0.7409 MB / 4.028 GB, free: 28.85 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000319/13.01, allocations: 43.95 kB / 4.028 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005479/13.01, allocations: 0.6398 MB / 4.028 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005026/13.01, allocations: 310.7 kB / 4.029 GB, free: 28.06 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/13.01, allocations: 30.97 kB / 4.029 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00011/13.01, allocations: 348.1 kB / 4.029 GB, free: 27.71 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008817/13.02, allocations: 324.6 kB / 4.029 GB, free: 27.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/13.02, allocations: 0.6953 MB / 4.03 GB, free: 26.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/13.02, allocations: 416.7 kB / 4.03 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/13.02, allocations: 3.312 kB / 4.03 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005148/13.02, allocations: 1.46 MB / 4.032 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001041/13.02, allocations: 4.616 MB / 4.036 GB, free: 21.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/13.02, allocations: 11.69 kB / 4.036 GB, free: 21.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/13.03, allocations: 0.5077 MB / 4.037 GB, free: 21.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/13.03, allocations: 222.4 kB / 4.037 GB, free: 21.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005412/13.03, allocations: 2.717 MB / 4.04 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/13.04, allocations: 235.8 kB / 4.04 GB, free: 18.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/13.04, allocations: 76.2 kB / 4.04 GB, free: 18.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/13.04, allocations: 1.812 kB / 4.04 GB, free: 18.71 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006501/13.04, allocations: 1.315 MB / 4.041 GB, free: 18.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/13.04, allocations: 11.72 kB / 4.041 GB, free: 18.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004678/13.05, allocations: 469.7 kB / 4.042 GB, free: 17.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/13.05, allocations: 248.9 kB / 4.042 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004696/13.06, allocations: 2.591 MB / 4.045 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/13.06, allocations: 224.9 kB / 4.045 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/13.06, allocations: 70.64 kB / 4.045 GB, free: 14.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,2 8,2 8,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005393/13.06, allocations: 192 kB / 4.045 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/13.06, allocations: 110.7 kB / 4.045 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007209/13.07, allocations: 3.881 MB / 4.049 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.928e-05/13.07, allocations: 42.72 kB / 4.049 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/13.07, allocations: 4 kB / 4.049 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/13.07, allocations: 7.641 kB / 4.049 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009538/13.08, allocations: 6.075 MB / 4.055 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/13.08, allocations: 0 / 4.055 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/13.08, allocations: 120.5 kB / 4.055 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00416/13.08, allocations: 1.454 MB / 4.056 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/13.08, allocations: 19.61 kB / 4.056 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/13.09, allocations: 3.717 MB / 4.06 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/13.09, allocations: 0 / 4.06 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005425/13.09, allocations: 2.741 MB / 4.063 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/13.09, allocations: 410.6 kB / 4.063 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/13.09, allocations: 16 kB / 4.063 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/13.09, allocations: 196.9 kB / 4.063 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/13.09, allocations: 81.28 kB / 4.063 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/13.09, allocations: 39.27 kB / 4.063 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001409/13.1, allocations: 0.6641 MB / 4.064 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.51e-07/13.1, allocations: 0 / 4.064 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009648/13.11, allocations: 1.945 MB / 4.066 GB, free: 11.14 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 10,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01677/13.12, allocations: 4.693 MB / 4.071 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01069/13.13, allocations: 1.968 MB / 4.072 GB, free: 5.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/13.13, allocations: 4.125 kB / 4.072 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002983/13.14, allocations: 0.9113 MB / 4.073 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005156/13.14, allocations: 0.5884 MB / 4.074 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/13.15, allocations: 3.065 MB / 4.077 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/13.15, allocations: 1.401 MB / 4.078 GB, free: 84 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.4483/13.6, allocations: 0.963 MB / 4.079 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/13.6, allocations: 0.6115 MB / 4.08 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of SimCode: time 2.074e-06/13.6, allocations: 1.312 kB / 4.08 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1988/13.8, allocations: 84.33 MB / 4.162 GB, free: 57.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/13.8, allocations: 256.5 kB / 4.162 GB, free: 57.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/20.52, allocations: 3.875 kB / 4.162 GB, free: 57.62 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat