Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.374/2.374, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.241e-05/2.251e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4006, allocations: 54.86 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.97/8.371, allocations: 2.595 GB / 2.941 GB, free: 119.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/8.371, allocations: 82.97 kB / 2.941 GB, free: 119.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.202/12.57, allocations: 0.8061 GB / 3.747 GB, free: 42.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.076e-06/12.57, allocations: 0 / 3.747 GB, free: 42.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001652/12.57, allocations: 45.33 kB / 3.747 GB, free: 42.38 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.01221/12.59, allocations: 2.592 MB / 3.75 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/12.59, allocations: 7.062 kB / 3.75 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005361/12.59, allocations: 467.5 kB / 3.75 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003278/12.59, allocations: 0.9951 MB / 3.751 GB, free: 40.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/12.6, allocations: 54.03 kB / 3.751 GB, free: 40.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/12.6, allocations: 75.3 kB / 3.751 GB, free: 40.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003353/12.6, allocations: 1.138 MB / 3.752 GB, free: 40.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/12.6, allocations: 1.376 MB / 3.754 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/12.6, allocations: 7.469 kB / 3.754 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/12.6, allocations: 3.75 kB / 3.754 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.81e-05/12.6, allocations: 53.19 kB / 3.754 GB, free: 40.32 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.967/13.57, allocations: 133 MB / 3.884 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/13.57, allocations: 0.5612 MB / 3.884 GB, free: 63.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008076/13.57, allocations: 367.3 kB / 3.885 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009798/13.58, allocations: 4.062 MB / 3.888 GB, free: 60.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.344e-05/13.58, allocations: 44.7 kB / 3.889 GB, free: 60.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=81): time 3.607e-06/13.58, allocations: 0 / 3.889 GB, free: 60.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=123): time 0.02841/13.61, allocations: 5.01 MB / 3.893 GB, free: 59.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/13.61, allocations: 121.7 kB / 3.894 GB, free: 59.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/13.61, allocations: 0.6812 MB / 3.894 GB, free: 59.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002688/13.61, allocations: 25.7 kB / 3.894 GB, free: 59.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005127/13.61, allocations: 0.6874 MB / 3.895 GB, free: 59.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004556/13.61, allocations: 400.4 kB / 3.895 GB, free: 59.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/13.61, allocations: 0 / 3.895 GB, free: 59.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001148/13.61, allocations: 358.4 kB / 3.896 GB, free: 58.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/13.61, allocations: 0.5348 MB / 3.896 GB, free: 58.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/13.62, allocations: 0.944 MB / 3.897 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/13.62, allocations: 0.7221 MB / 3.898 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/13.62, allocations: 3.594 kB / 3.898 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01306/13.63, allocations: 2.499 MB / 3.9 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001082/13.63, allocations: 5.051 MB / 3.905 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.82e-05/13.63, allocations: 17.11 kB / 3.905 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/13.64, allocations: 1.223 MB / 3.906 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/13.65, allocations: 250.7 kB / 3.907 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/13.66, allocations: 5.828 MB / 3.912 GB, free: 48.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/13.66, allocations: 172.4 kB / 3.912 GB, free: 48.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002551/13.66, allocations: 97.19 kB / 3.913 GB, free: 48.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/13.66, allocations: 9.609 kB / 3.913 GB, free: 48.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008132/13.67, allocations: 1.842 MB / 3.914 GB, free: 48.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/13.67, allocations: 17.7 kB / 3.914 GB, free: 48.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006552/13.67, allocations: 0.9065 MB / 3.915 GB, free: 48.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/13.68, allocations: 291.2 kB / 3.916 GB, free: 48.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007443/13.68, allocations: 5.33 MB / 3.921 GB, free: 44.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/13.69, allocations: 164.5 kB / 3.921 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/13.69, allocations: 78.97 kB / 3.921 GB, free: 44.25 MB / 0.5261 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.0006786/13.69, allocations: 159.6 kB / 3.921 GB, free: 44.15 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009432/13.7, allocations: 1.86 MB / 3.923 GB, free: 43.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000518/13.7, allocations: 127.6 kB / 3.923 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009761/13.71, allocations: 4.071 MB / 3.927 GB, free: 43.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.847e-05/13.71, allocations: 31.14 kB / 3.927 GB, free: 43.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/13.71, allocations: 2.75 kB / 3.927 GB, free: 43.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.492e-05/13.71, allocations: 6.469 kB / 3.927 GB, free: 43.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/13.72, allocations: 6.681 MB / 3.934 GB, free: 42.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/13.72, allocations: 3.719 kB / 3.934 GB, free: 42.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/13.72, allocations: 150.7 kB / 3.934 GB, free: 42.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008472/13.73, allocations: 2.11 MB / 3.936 GB, free: 42.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/13.73, allocations: 20.16 kB / 3.936 GB, free: 42.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/13.74, allocations: 8.518 MB / 3.944 GB, free: 36.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/13.74, allocations: 4.688 kB / 3.944 GB, free: 36.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008759/13.75, allocations: 3.724 MB / 3.948 GB, free: 36.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/13.75, allocations: 396 kB / 3.948 GB, free: 36.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003713/13.75, allocations: 1 kB / 3.948 GB, free: 36.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/13.76, allocations: 184.3 kB / 3.948 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/13.76, allocations: 121.1 kB / 3.948 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/13.76, allocations: 57.73 kB / 3.949 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001011/13.76, allocations: 0.5384 MB / 3.949 GB, free: 36.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/13.76, allocations: 0 / 3.949 GB, free: 36.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00907/13.77, allocations: 1.938 MB / 3.951 GB, free: 36.14 MB / 0.5261 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.02075/13.79, allocations: 6.096 MB / 3.957 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01353/13.8, allocations: 2.877 MB / 3.96 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/13.8, allocations: 0 / 3.96 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004801/13.81, allocations: 1.433 MB / 3.961 GB, free: 34.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004619/13.81, allocations: 482.1 kB / 3.962 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/13.82, allocations: 3.3 MB / 3.965 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/13.82, allocations: 1.397 MB / 3.966 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003909/13.83, allocations: 1.125 MB / 3.967 GB, free: 32.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/13.83, allocations: 0.6018 MB / 3.968 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/13.83, allocations: 0 / 3.968 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2108/14.04, allocations: 80.29 MB / 4.046 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000267/14.04, allocations: 207.1 kB / 4.046 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.927/20.97, allocations: 0 / 4.046 GB, free: 11.45 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat