Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.363/2.363, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.903e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4085, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.815/8.223, allocations: 2.595 GB / 2.947 GB, free: 109.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/8.224, allocations: 88.2 kB / 2.947 GB, free: 109.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.21/12.43, allocations: 0.8134 GB / 3.76 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.575e-06/12.43, allocations: 0 / 3.76 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001648/12.43, allocations: 36.03 kB / 3.76 GB, free: 40.04 MB / 0.4948 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.01183/12.45, allocations: 2.595 MB / 3.763 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/12.45, allocations: 6.844 kB / 3.763 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005914/12.45, allocations: 194 kB / 3.763 GB, free: 38.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005/12.45, allocations: 467.3 kB / 3.764 GB, free: 38.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/12.45, allocations: 0.9993 MB / 3.765 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/12.45, allocations: 110.2 kB / 3.765 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/12.45, allocations: 125.6 kB / 3.765 GB, free: 38.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006402/12.46, allocations: 1.935 MB / 3.767 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/12.46, allocations: 2.156 kB / 3.767 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/12.46, allocations: 63.2 kB / 3.767 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.649e-05/12.46, allocations: 56.27 kB / 3.767 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005873/12.47, allocations: 1.577 MB / 3.768 GB, free: 37.91 MB / 0.4948 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.01646/12.48, allocations: 9.417 MB / 3.778 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004067/12.49, allocations: 1.051 MB / 3.779 GB, free: 31.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/12.49, allocations: 416.3 kB / 3.779 GB, free: 31.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0137/12.5, allocations: 5.483 MB / 3.784 GB, free: 27.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/12.5, allocations: 47.72 kB / 3.784 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=91): time 3.506e-06/12.5, allocations: 0 / 3.784 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=134): time 0.04826/12.55, allocations: 6.978 MB / 3.791 GB, free: 26.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/12.55, allocations: 118.8 kB / 3.791 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/12.55, allocations: 0.6866 MB / 3.792 GB, free: 26.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003832/12.55, allocations: 52.39 kB / 3.792 GB, free: 26.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/12.55, allocations: 0.6558 MB / 3.793 GB, free: 25.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005867/12.55, allocations: 452.5 kB / 3.793 GB, free: 25.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/12.55, allocations: 32 kB / 3.793 GB, free: 25.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001162/12.55, allocations: 364.4 kB / 3.793 GB, free: 25.19 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/12.56, allocations: 0.5312 MB / 3.794 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/12.56, allocations: 0.9447 MB / 3.795 GB, free: 24.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/12.56, allocations: 0.6441 MB / 3.796 GB, free: 24.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/12.56, allocations: 6.781 kB / 3.796 GB, free: 24.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00933/12.57, allocations: 2.363 MB / 3.798 GB, free: 24.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001148/12.57, allocations: 5.048 MB / 3.803 GB, free: 19.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-05/12.57, allocations: 14.22 kB / 3.803 GB, free: 19.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008964/12.58, allocations: 1.2 MB / 3.804 GB, free: 19.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/12.58, allocations: 277.7 kB / 3.804 GB, free: 19.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/12.59, allocations: 7.039 MB / 3.811 GB, free: 29.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/12.59, allocations: 185.2 kB / 3.811 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/12.6, allocations: 96.69 kB / 3.811 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/12.6, allocations: 4.656 kB / 3.811 GB, free: 29.64 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009908/12.61, allocations: 2.199 MB / 3.814 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/12.61, allocations: 10.78 kB / 3.814 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007738/12.61, allocations: 1.044 MB / 3.815 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/12.62, allocations: 303.7 kB / 3.815 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009894/12.63, allocations: 6.895 MB / 3.822 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/12.63, allocations: 186.9 kB / 3.822 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/12.63, allocations: 81.3 kB / 3.822 GB, free: 23.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (134): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 8,2 6,2 8,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006113/12.63, allocations: 198.6 kB / 3.822 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/12.63, allocations: 134.3 kB / 3.822 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/12.64, allocations: 5.123 MB / 3.827 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.353e-05/12.64, allocations: 42.94 kB / 3.827 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/12.64, allocations: 0 / 3.827 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/12.64, allocations: 14.5 kB / 3.827 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/12.66, allocations: 8.011 MB / 3.835 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/12.66, allocations: 3.812 kB / 3.835 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/12.66, allocations: 174.6 kB / 3.835 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008914/12.67, allocations: 2.187 MB / 3.837 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/12.67, allocations: 38.44 kB / 3.837 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009997/12.68, allocations: 8.114 MB / 3.845 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.82e-06/12.68, allocations: 7.438 kB / 3.845 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009441/12.69, allocations: 4.119 MB / 3.849 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/12.69, allocations: 432 kB / 3.85 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/12.69, allocations: 29.27 kB / 3.85 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00244/12.69, allocations: 217.9 kB / 3.85 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003786/12.69, allocations: 126.6 kB / 3.85 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/12.69, allocations: 61.52 kB / 3.85 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001145/12.69, allocations: 0.5936 MB / 3.851 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/12.69, allocations: 3.938 kB / 3.851 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009173/12.7, allocations: 2.052 MB / 3.853 GB, free: 8.969 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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,$cse13.phase,$cse13.region,$cse15.phase,$cse15.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 (81): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 10,2 6,2 6,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02044/12.72, allocations: 6.269 MB / 3.859 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01283/12.73, allocations: 3.359 MB / 3.862 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/12.73, allocations: 5.25 kB / 3.862 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004721/12.74, allocations: 1.609 MB / 3.864 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004787/12.74, allocations: 0.5215 MB / 3.864 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6687/13.41, allocations: 79.09 MB / 3.941 GB, free: 63.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/13.41, allocations: 1.453 MB / 3.943 GB, free: 63.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003352/13.42, allocations: 0.9616 MB / 3.944 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/13.42, allocations: 0.6566 MB / 3.944 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/13.42, allocations: 3.812 kB / 3.944 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2104/13.63, allocations: 95.93 MB / 4.038 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/13.63, allocations: 249.2 kB / 4.038 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.423/21.05, allocations: 0 / 4.038 GB, free: 38.29 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat