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.41/2.41, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.937e-05, allocations: 0 / 299.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3755, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.272/7.647, allocations: 2.595 GB / 2.941 GB, free: 1.961 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/7.648, allocations: 84.27 kB / 2.941 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.31/11.96, allocations: 0.8061 GB / 3.747 GB, free: 39.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.677e-06/11.96, allocations: 3.031 kB / 3.747 GB, free: 39.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001459/11.96, allocations: 37.27 kB / 3.747 GB, free: 39.6 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.01155/11.97, allocations: 2.59 MB / 3.75 GB, free: 38.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/11.97, allocations: 11.41 kB / 3.75 GB, free: 38.51 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005025/11.97, allocations: 466.3 kB / 3.75 GB, free: 38.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/11.98, allocations: 1.001 MB / 3.751 GB, free: 38.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/11.98, allocations: 52 kB / 3.751 GB, free: 38.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/11.98, allocations: 72.98 kB / 3.751 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003034/11.98, allocations: 1.138 MB / 3.752 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/11.98, allocations: 1.375 MB / 3.754 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.746e-05/11.98, allocations: 7.719 kB / 3.754 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/11.98, allocations: 3.219 kB / 3.754 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.19e-05/11.98, allocations: 59.06 kB / 3.754 GB, free: 37.71 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.4939/12.48, allocations: 133 MB / 3.884 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/12.48, allocations: 0.5669 MB / 3.884 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007362/12.48, allocations: 367.7 kB / 3.884 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00947/12.49, allocations: 4.073 MB / 3.888 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/12.49, allocations: 45.78 kB / 3.888 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=81): time 3.416e-06/12.49, allocations: 0 / 3.888 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of matching and sorting (n=123): time 0.02663/12.52, allocations: 5.02 MB / 3.893 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.398e-05/12.52, allocations: 116.1 kB / 3.893 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/12.52, allocations: 0.6821 MB / 3.894 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002528/12.52, allocations: 29.64 kB / 3.894 GB, free: 5.398 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/12.52, allocations: 0.683 MB / 3.895 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/12.52, allocations: 399.3 kB / 3.895 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/12.52, allocations: 1.312 kB / 3.895 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001795/12.52, allocations: 365.3 kB / 3.896 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/12.52, allocations: 0.5295 MB / 3.896 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/12.52, allocations: 0.9514 MB / 3.897 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/12.53, allocations: 0.7081 MB / 3.898 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/12.53, allocations: 4 kB / 3.898 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01243/12.54, allocations: 2.504 MB / 3.9 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.3943/12.93, allocations: 5.054 MB / 3.905 GB, free: 82.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.135e-05/12.93, allocations: 12.94 kB / 3.905 GB, free: 82.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/12.94, allocations: 1.22 MB / 3.906 GB, free: 82.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/12.95, allocations: 253.5 kB / 3.907 GB, free: 82.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/12.96, allocations: 5.826 MB / 3.912 GB, free: 78.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/12.96, allocations: 177 kB / 3.912 GB, free: 78.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003775/12.96, allocations: 86.12 kB / 3.912 GB, free: 78.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/12.96, allocations: 4.094 kB / 3.912 GB, free: 78.07 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008628/12.97, allocations: 1.845 MB / 3.914 GB, free: 77.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.446e-05/12.97, allocations: 14.91 kB / 3.914 GB, free: 77.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006555/12.98, allocations: 0.909 MB / 3.915 GB, free: 77.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/12.98, allocations: 291.4 kB / 3.915 GB, free: 77.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007287/12.98, allocations: 5.334 MB / 3.921 GB, free: 73.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/12.99, allocations: 161.2 kB / 3.921 GB, free: 73.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/12.99, allocations: 75.91 kB / 3.921 GB, free: 73.77 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpPolynomial.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pumpPolynomial.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpQuadraticLinear.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pumpQuadraticLinear.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpLinear.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.pumpLinear.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,Source.medium.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 (130): * Single equations (assignments): 122 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 6,2 8,2 6,2 8,2 6,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0007034/12.99, allocations: 167.6 kB / 3.921 GB, free: 73.67 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009023/13, allocations: 1.874 MB / 3.923 GB, free: 73.53 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005696/13, allocations: 118.7 kB / 3.923 GB, free: 73.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00947/13.01, allocations: 4.058 MB / 3.927 GB, free: 73.24 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-05/13.01, allocations: 42.08 kB / 3.927 GB, free: 73.24 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/13.01, allocations: 3.219 kB / 3.927 GB, free: 73.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/13.01, allocations: 3.047 kB / 3.927 GB, free: 73.24 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/13.02, allocations: 6.666 MB / 3.934 GB, free: 72.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/13.02, allocations: 0 / 3.934 GB, free: 72.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/13.02, allocations: 151.5 kB / 3.934 GB, free: 72.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008026/13.03, allocations: 2.1 MB / 3.936 GB, free: 72.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/13.03, allocations: 17.62 kB / 3.936 GB, free: 72.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/13.04, allocations: 8.527 MB / 3.944 GB, free: 66.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/13.04, allocations: 8.766 kB / 3.944 GB, free: 66.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008731/13.05, allocations: 3.73 MB / 3.948 GB, free: 66.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/13.05, allocations: 388.5 kB / 3.948 GB, free: 65.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004213/13.05, allocations: 7.484 kB / 3.948 GB, free: 65.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002615/13.06, allocations: 189.1 kB / 3.948 GB, free: 65.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003973/13.06, allocations: 115.4 kB / 3.948 GB, free: 65.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/13.06, allocations: 56.77 kB / 3.948 GB, free: 65.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001035/13.06, allocations: 0.5431 MB / 3.949 GB, free: 65.87 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.31e-07/13.06, allocations: 0 / 3.949 GB, free: 65.87 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00936/13.07, allocations: 1.937 MB / 3.951 GB, free: 65.87 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,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 (69): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.02051/13.09, allocations: 6.076 MB / 3.957 GB, free: 64.44 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01341/13.1, allocations: 2.875 MB / 3.96 GB, free: 64.39 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/13.1, allocations: 0 / 3.96 GB, free: 64.39 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004684/13.11, allocations: 1.431 MB / 3.961 GB, free: 64.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004602/13.11, allocations: 481 kB / 3.961 GB, free: 64.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/13.12, allocations: 3.302 MB / 3.965 GB, free: 63.51 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000984/13.12, allocations: 1.392 MB / 3.966 GB, free: 62.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003667/13.13, allocations: 1.12 MB / 3.967 GB, free: 62.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/13.13, allocations: 0.6099 MB / 3.968 GB, free: 62.76 MB / 0.5417 GB Notification: Performance of SimCode: time 1.193e-06/13.13, allocations: 0 / 3.968 GB, free: 62.76 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2114/13.34, allocations: 80.28 MB / 4.046 GB, free: 58.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/13.34, allocations: 194.5 kB / 4.046 GB, free: 58.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.574/19.92, allocations: 0 / 4.046 GB, free: 58.14 MB / 0.5417 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