Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.268/2.268, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.558e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1275, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.264/8.391, allocations: 2.77 GB / 3.171 GB, free: 79.32 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/8.391, allocations: 83.52 kB / 3.171 GB, free: 79.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.323/12.71, allocations: 0.8276 GB / 3.998 GB, free: 47.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.164e-06/12.71, allocations: 0 / 3.998 GB, free: 47.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001379/12.71, allocations: 40.25 kB / 3.998 GB, free: 47.39 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.01196/12.73, allocations: 2.6 MB / 4.001 GB, free: 45.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/12.73, allocations: 8.625 kB / 4.001 GB, free: 45.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005461/12.73, allocations: 195.1 kB / 4.001 GB, free: 45.78 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004911/12.73, allocations: 465.7 kB / 4.002 GB, free: 45.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/12.74, allocations: 0.9862 MB / 4.003 GB, free: 45.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/12.74, allocations: 106.1 kB / 4.003 GB, free: 45.05 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/12.74, allocations: 127.7 kB / 4.003 GB, free: 45.02 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006399/12.74, allocations: 1.934 MB / 4.005 GB, free: 44.11 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-05/12.74, allocations: 6.812 kB / 4.005 GB, free: 44.11 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/12.74, allocations: 53.69 kB / 4.005 GB, free: 44.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.575e-05/12.74, allocations: 58.11 kB / 4.005 GB, free: 44.06 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005822/12.75, allocations: 1.556 MB / 4.006 GB, free: 43.6 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.01565/12.76, allocations: 9.446 MB / 4.015 GB, free: 35.96 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004106/12.77, allocations: 1.059 MB / 4.017 GB, free: 35.63 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009834/12.77, allocations: 413.6 kB / 4.017 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02589/12.8, allocations: 8.187 MB / 4.025 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/12.8, allocations: 41.38 kB / 4.025 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 3.136e-06/12.8, allocations: 0 / 4.025 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91): time 0.009829/12.81, allocations: 1.956 MB / 4.027 GB, free: 29.56 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/12.81, allocations: 118.9 kB / 4.027 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/12.81, allocations: 0.7502 MB / 4.028 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002878/12.81, allocations: 41.42 kB / 4.028 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/12.81, allocations: 0.6378 MB / 4.028 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004324/12.81, allocations: 307.2 kB / 4.029 GB, free: 28.31 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/12.81, allocations: 23.62 kB / 4.029 GB, free: 28.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001071/12.81, allocations: 347.1 kB / 4.029 GB, free: 27.97 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008988/12.81, allocations: 335.9 kB / 4.029 GB, free: 27.84 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/12.81, allocations: 0.6911 MB / 4.03 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/12.81, allocations: 424.2 kB / 4.03 GB, free: 27.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/12.81, allocations: 7.875 kB / 4.03 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005223/12.82, allocations: 1.451 MB / 4.032 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001048/12.82, allocations: 4.613 MB / 4.036 GB, free: 21.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.631e-05/12.82, allocations: 11.62 kB / 4.036 GB, free: 21.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/12.82, allocations: 0.5092 MB / 4.037 GB, free: 21.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/12.82, allocations: 221.8 kB / 4.037 GB, free: 21.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00555/12.83, allocations: 2.723 MB / 4.04 GB, free: 19.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/12.83, allocations: 238.2 kB / 4.04 GB, free: 18.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002757/12.83, allocations: 76.7 kB / 4.04 GB, free: 18.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/12.83, allocations: 7.594 kB / 4.04 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006385/12.84, allocations: 1.303 MB / 4.041 GB, free: 18.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/12.84, allocations: 12.94 kB / 4.041 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004676/12.84, allocations: 477.4 kB / 4.042 GB, free: 17.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/12.84, allocations: 236.4 kB / 4.042 GB, free: 17.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004615/12.85, allocations: 2.605 MB / 4.045 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/12.85, allocations: 218.4 kB / 4.045 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/12.85, allocations: 67.59 kB / 4.045 GB, free: 14.85 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.0004523/12.85, allocations: 180.6 kB / 4.045 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/12.85, allocations: 118.4 kB / 4.045 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007102/12.86, allocations: 3.882 MB / 4.049 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.241e-05/12.86, allocations: 41.11 kB / 4.049 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/12.86, allocations: 0 / 4.049 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/12.86, allocations: 3.703 kB / 4.049 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009864/12.87, allocations: 6.08 MB / 4.055 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/12.87, allocations: 3.938 kB / 4.055 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008435/12.87, allocations: 125.2 kB / 4.055 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004242/12.88, allocations: 1.447 MB / 4.056 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/12.88, allocations: 23.7 kB / 4.056 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004289/12.88, allocations: 3.712 MB / 4.06 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/12.88, allocations: 4.031 kB / 4.06 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005839/12.89, allocations: 2.754 MB / 4.063 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/12.89, allocations: 406.6 kB / 4.063 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/12.89, allocations: 16 kB / 4.063 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/12.89, allocations: 198.4 kB / 4.063 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/12.89, allocations: 87.23 kB / 4.063 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/12.89, allocations: 38.94 kB / 4.063 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001484/12.89, allocations: 0.6609 MB / 4.064 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.41e-07/12.89, allocations: 0 / 4.064 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009763/12.9, allocations: 1.95 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.01761/12.92, allocations: 4.68 MB / 4.071 GB, free: 7.109 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01097/12.93, allocations: 1.964 MB / 4.072 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/12.93, allocations: 0 / 4.072 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003237/12.93, allocations: 0.9215 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.005459/12.94, allocations: 0.5809 MB / 4.074 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/12.95, allocations: 3.069 MB / 4.077 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/12.95, allocations: 1.4 MB / 4.078 GB, free: 92 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.445/13.4, allocations: 0.9719 MB / 4.079 GB, free: 61.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/13.4, allocations: 0.607 MB / 4.08 GB, free: 61.66 MB / 0.5573 GB Notification: Performance of SimCode: time 1.223e-06/13.4, allocations: 1.875 kB / 4.08 GB, free: 61.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2331/13.63, allocations: 84.35 MB / 4.162 GB, free: 58.36 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/13.63, allocations: 257.8 kB / 4.162 GB, free: 58.03 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/20.32, allocations: 0 / 4.162 GB, free: 58.03 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat