Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.131/2.131, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.637e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.863/7.976, allocations: 2.484 GB / 2.793 GB, free: 104.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/7.977, allocations: 85.62 kB / 2.793 GB, free: 104.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.23/12.21, allocations: 0.7845 GB / 3.578 GB, free: 35.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.785e-06/12.21, allocations: 0 / 3.578 GB, free: 35.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000175/12.21, allocations: 38.25 kB / 3.578 GB, free: 35.31 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.01294/12.22, allocations: 2.516 MB / 3.58 GB, free: 34.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/12.22, allocations: 9.312 kB / 3.58 GB, free: 34.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005286/12.22, allocations: 461.1 kB / 3.581 GB, free: 34.26 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/12.23, allocations: 0.9932 MB / 3.582 GB, free: 33.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/12.23, allocations: 52.34 kB / 3.582 GB, free: 33.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/12.23, allocations: 71.16 kB / 3.582 GB, free: 33.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003535/12.23, allocations: 1.143 MB / 3.583 GB, free: 33.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/12.24, allocations: 1.377 MB / 3.584 GB, free: 33.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.556e-05/12.24, allocations: 7.312 kB / 3.584 GB, free: 33.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/12.24, allocations: 3.5 kB / 3.584 GB, free: 33.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.361e-05/12.24, allocations: 64.58 kB / 3.584 GB, free: 33.55 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.4982/12.73, allocations: 132.9 MB / 3.714 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/12.74, allocations: 0.5685 MB / 3.715 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007693/12.74, allocations: 362.3 kB / 3.715 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009711/12.75, allocations: 4.036 MB / 3.719 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/12.75, allocations: 43.47 kB / 3.719 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=81): time 3.276e-06/12.75, allocations: 0 / 3.719 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of matching and sorting (n=123): time 0.02822/12.78, allocations: 5.016 MB / 3.724 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004583/12.78, allocations: 121.3 kB / 3.724 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/12.78, allocations: 0.6798 MB / 3.725 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003506/12.78, allocations: 29.7 kB / 3.725 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/12.78, allocations: 0.6907 MB / 3.725 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004561/12.78, allocations: 403.8 kB / 3.726 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/12.78, allocations: 3 kB / 3.726 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001908/12.78, allocations: 373.5 kB / 3.726 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/12.78, allocations: 0.5275 MB / 3.727 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/12.78, allocations: 0.9454 MB / 3.728 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/12.78, allocations: 0.7188 MB / 3.728 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/12.78, allocations: 3.5 kB / 3.728 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01262/12.8, allocations: 2.443 MB / 3.731 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002301/12.8, allocations: 5.05 MB / 3.736 GB, free: 16.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.331e-05/12.8, allocations: 15.22 kB / 3.736 GB, free: 16.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009995/12.81, allocations: 1.227 MB / 3.737 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/12.81, allocations: 252.2 kB / 3.737 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/12.82, allocations: 5.828 MB / 3.743 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003489/12.83, allocations: 172.9 kB / 3.743 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/12.83, allocations: 91.59 kB / 3.743 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/12.83, allocations: 4 kB / 3.743 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007913/12.83, allocations: 1.843 MB / 3.745 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.162e-05/12.83, allocations: 12 kB / 3.745 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005513/12.84, allocations: 0.8517 MB / 3.746 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/12.84, allocations: 287.5 kB / 3.746 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008104/12.85, allocations: 5.306 MB / 3.751 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/12.85, allocations: 166.6 kB / 3.751 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/12.85, allocations: 76.98 kB / 3.751 GB, free: 4.398 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.0007444/12.85, allocations: 170.3 kB / 3.752 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009187/12.86, allocations: 1.865 MB / 3.753 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006342/12.86, allocations: 125.4 kB / 3.754 GB, free: 3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/12.87, allocations: 4.055 MB / 3.757 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.856e-05/12.87, allocations: 40.59 kB / 3.758 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/12.87, allocations: 4 kB / 3.758 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.218e-05/12.87, allocations: 6.656 kB / 3.758 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3915/13.27, allocations: 6.665 MB / 3.764 GB, free: 95.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/13.27, allocations: 2.094 kB / 3.764 GB, free: 95.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/13.27, allocations: 153.2 kB / 3.764 GB, free: 95.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009262/13.28, allocations: 2.102 MB / 3.766 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002921/13.28, allocations: 18.83 kB / 3.766 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/13.29, allocations: 8.513 MB / 3.775 GB, free: 90.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/13.29, allocations: 3.969 kB / 3.775 GB, free: 90.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009401/13.3, allocations: 3.734 MB / 3.778 GB, free: 89.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/13.3, allocations: 389.9 kB / 3.779 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/13.3, allocations: 7.422 kB / 3.779 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/13.3, allocations: 184.4 kB / 3.779 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004401/13.3, allocations: 124.8 kB / 3.779 GB, free: 89.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/13.3, allocations: 54.11 kB / 3.779 GB, free: 89.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001167/13.3, allocations: 0.5424 MB / 3.779 GB, free: 89.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/13.3, allocations: 0 / 3.779 GB, free: 89.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009449/13.31, allocations: 1.911 MB / 3.781 GB, free: 89.56 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.02087/13.33, allocations: 6.063 MB / 3.787 GB, free: 88.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01244/13.35, allocations: 2.825 MB / 3.79 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/13.35, allocations: 3.656 kB / 3.79 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004465/13.35, allocations: 1.418 MB / 3.791 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004316/13.36, allocations: 472 kB / 3.792 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/13.37, allocations: 3.316 MB / 3.795 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009481/13.37, allocations: 1.384 MB / 3.796 GB, free: 86.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/13.37, allocations: 0.6327 MB / 3.797 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/13.37, allocations: 0 / 3.797 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.782/18.15, allocations: 110.2 MB / 3.905 GB, free: 59.2 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat