Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.048/2.048, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.996e-05, allocations: 0 / 267.6 MB, free: 4.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 48.7 MB / 316.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.505/7.609, allocations: 2.484 GB / 2.793 GB, free: 105.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/7.609, allocations: 86.83 kB / 2.793 GB, free: 105.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.234/11.84, allocations: 0.7846 GB / 3.578 GB, free: 36.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.507e-06/11.84, allocations: 1.969 kB / 3.578 GB, free: 36.03 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002362/11.84, allocations: 35.38 kB / 3.578 GB, free: 36.03 MB / 458.7 MB 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.01337/11.86, allocations: 2.506 MB / 3.58 GB, free: 35.45 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/11.86, allocations: 10.19 kB / 3.58 GB, free: 35.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005825/11.86, allocations: 460.9 kB / 3.581 GB, free: 35.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004003/11.87, allocations: 0.9967 MB / 3.582 GB, free: 35.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/11.87, allocations: 52.25 kB / 3.582 GB, free: 35.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003911/11.87, allocations: 71.41 kB / 3.582 GB, free: 35.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004298/11.87, allocations: 1.141 MB / 3.583 GB, free: 35.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004728/11.88, allocations: 1.377 MB / 3.584 GB, free: 34.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.315e-05/11.88, allocations: 6.188 kB / 3.584 GB, free: 34.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002367/11.88, allocations: 3.906 kB / 3.584 GB, free: 34.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/11.88, allocations: 56.06 kB / 3.584 GB, free: 34.66 MB / 458.7 MB 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.4941/12.37, allocations: 132.9 MB / 3.714 GB, free: 13.64 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/12.37, allocations: 0.5654 MB / 3.715 GB, free: 13.62 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008225/12.37, allocations: 358.3 kB / 3.715 GB, free: 13.61 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009518/12.38, allocations: 4.033 MB / 3.719 GB, free: 10.52 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/12.38, allocations: 44.52 kB / 3.719 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=81): time 3.677e-06/12.38, allocations: 6.906 kB / 3.719 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of matching and sorting (n=123): time 0.02877/12.41, allocations: 5.024 MB / 3.724 GB, free: 9.344 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/12.41, allocations: 115.8 kB / 3.724 GB, free: 9.219 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/12.41, allocations: 0.682 MB / 3.725 GB, free: 9.059 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000347/12.41, allocations: 25.7 kB / 3.725 GB, free: 9.027 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/12.41, allocations: 0.6759 MB / 3.725 GB, free: 8.664 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/12.41, allocations: 407.2 kB / 3.726 GB, free: 8.398 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/12.42, allocations: 0 / 3.726 GB, free: 8.398 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001795/12.42, allocations: 364.3 kB / 3.726 GB, free: 8.094 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/12.42, allocations: 0.5309 MB / 3.727 GB, free: 8.086 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/12.42, allocations: 0.9464 MB / 3.728 GB, free: 7.59 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/12.42, allocations: 0.7222 MB / 3.728 GB, free: 7.559 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-05/12.42, allocations: 6.781 kB / 3.728 GB, free: 7.559 MB / 0.4949 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01325/12.43, allocations: 2.496 MB / 3.731 GB, free: 7.34 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.002286/12.44, allocations: 5.048 MB / 3.736 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.467e-05/12.44, allocations: 11.38 kB / 3.736 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/12.45, allocations: 1.231 MB / 3.737 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/12.45, allocations: 251 kB / 3.737 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/12.46, allocations: 5.824 MB / 3.743 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/12.46, allocations: 180.4 kB / 3.743 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004434/12.46, allocations: 89.64 kB / 3.743 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/12.46, allocations: 7.469 kB / 3.743 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008171/12.47, allocations: 1.841 MB / 3.745 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.554e-05/12.47, allocations: 22.38 kB / 3.745 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006332/12.48, allocations: 0.8943 MB / 3.746 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/12.48, allocations: 295 kB / 3.746 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008448/12.49, allocations: 5.335 MB / 3.751 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/12.49, allocations: 163 kB / 3.751 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003517/12.49, allocations: 78.58 kB / 3.752 GB, free: 6.27 MB / 0.5105 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.0007478/12.49, allocations: 174.2 kB / 3.752 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009614/12.5, allocations: 1.874 MB / 3.754 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008155/12.5, allocations: 118.6 kB / 3.754 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/12.52, allocations: 4.052 MB / 3.758 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-05/12.52, allocations: 38.89 kB / 3.758 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/12.52, allocations: 0 / 3.758 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.895e-05/12.52, allocations: 12.34 kB / 3.758 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3807/12.9, allocations: 6.683 MB / 3.764 GB, free: 95.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.557e-05/12.9, allocations: 3.344 kB / 3.764 GB, free: 95.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/12.9, allocations: 150.2 kB / 3.764 GB, free: 95.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009258/12.91, allocations: 2.107 MB / 3.766 GB, free: 95.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002955/12.91, allocations: 17.64 kB / 3.766 GB, free: 95.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/12.92, allocations: 8.511 MB / 3.775 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/12.92, allocations: 7.641 kB / 3.775 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/12.93, allocations: 3.726 MB / 3.778 GB, free: 90.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/12.93, allocations: 396.2 kB / 3.779 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/12.93, allocations: 2.016 kB / 3.779 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002601/12.93, allocations: 189.8 kB / 3.779 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004168/12.93, allocations: 113.2 kB / 3.779 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/12.93, allocations: 57.7 kB / 3.779 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001163/12.94, allocations: 0.5389 MB / 3.78 GB, free: 89.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.81e-07/12.94, allocations: 1.344 kB / 3.78 GB, free: 89.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01086/12.95, allocations: 1.913 MB / 3.781 GB, free: 89.82 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: 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.02228/12.97, allocations: 6.075 MB / 3.787 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01368/12.98, allocations: 2.866 MB / 3.79 GB, free: 88.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/12.98, allocations: 3.906 kB / 3.79 GB, free: 88.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004633/12.99, allocations: 1.436 MB / 3.792 GB, free: 88.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004604/12.99, allocations: 475.2 kB / 3.792 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/13, allocations: 3.288 MB / 3.795 GB, free: 87.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009763/13.01, allocations: 1.395 MB / 3.797 GB, free: 86.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003603/13.01, allocations: 1.12 MB / 3.798 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/13.01, allocations: 0.604 MB / 3.798 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of SimCode: time 2.875e-06/13.01, allocations: 0 / 3.798 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2174/13.23, allocations: 80.04 MB / 3.876 GB, free: 82.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/13.23, allocations: 206.1 kB / 3.877 GB, free: 82.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/19.87, allocations: 0 / 3.877 GB, free: 82.15 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat