Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixerSlowFastSteam,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFastSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.457/2.457, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 4.244e-05/4.255e-05, allocations: 7.984 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4218, allocations: 60.23 MB / 391.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.269/9.691, allocations: 3.007 GB / 3.389 GB, free: 92 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/9.691, allocations: 79.33 kB / 3.389 GB, free: 52 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.028/11.72, allocations: 369.3 MB / 3.749 GB, free: 39.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.844e-06/11.72, allocations: 224 / 3.749 GB, free: 39.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.828e-05/11.72, allocations: 12 kB / 3.749 GB, free: 39.23 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005669/11.73, allocations: 1.192 MB / 3.751 GB, free: 37.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/11.73, allocations: 12.03 kB / 3.751 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/11.73, allocations: 78.52 kB / 3.751 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007056/11.73, allocations: 110.9 kB / 3.751 GB, free: 37.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/11.73, allocations: 412.3 kB / 3.751 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/11.73, allocations: 32.94 kB / 3.751 GB, free: 37.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-05/11.73, allocations: 47.98 kB / 3.751 GB, free: 37.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/11.73, allocations: 0.6599 MB / 3.752 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/11.73, allocations: 3.938 kB / 3.752 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/11.73, allocations: 27.94 kB / 3.752 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/11.73, allocations: 12 kB / 3.752 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/11.73, allocations: 473.3 kB / 3.752 GB, free: 36.05 MB / 0.5105 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.00345/11.74, allocations: 2.315 MB / 3.755 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/11.74, allocations: 0.554 MB / 3.755 GB, free: 32.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/11.74, allocations: 124.9 kB / 3.755 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5403/12.28, allocations: 31.98 MB / 3.787 GB, free: 71.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/12.28, allocations: 37.05 kB / 3.787 GB, free: 71.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 5.24e-06/12.28, allocations: 3.969 kB / 3.787 GB, free: 71.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.01202/12.29, allocations: 1.525 MB / 3.788 GB, free: 71.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/12.29, allocations: 113.6 kB / 3.788 GB, free: 70.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007964/12.29, allocations: 299.3 kB / 3.788 GB, free: 70.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/12.29, allocations: 34.42 kB / 3.789 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/12.29, allocations: 238.5 kB / 3.789 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/12.29, allocations: 116.8 kB / 3.789 GB, free: 70.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/12.29, allocations: 9.375 kB / 3.789 GB, free: 70.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001469/12.29, allocations: 355.6 kB / 3.789 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006084/12.29, allocations: 147 kB / 3.789 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/12.29, allocations: 211.6 kB / 3.79 GB, free: 70.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/12.29, allocations: 158.2 kB / 3.79 GB, free: 70.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/12.29, allocations: 0 / 3.79 GB, free: 70.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.004358/12.3, allocations: 0.7034 MB / 3.79 GB, free: 70.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002161/12.3, allocations: 0.5282 MB / 3.791 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/12.3, allocations: 2.344 kB / 3.791 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004125/12.3, allocations: 495.5 kB / 3.791 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/12.3, allocations: 37.64 kB / 3.791 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/12.31, allocations: 0.9781 MB / 3.792 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00098/12.31, allocations: 69.44 kB / 3.792 GB, free: 69.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/12.31, allocations: 24.66 kB / 3.792 GB, free: 69.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/12.31, allocations: 3.375 kB / 3.792 GB, free: 69.1 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002408/12.31, allocations: 0.5861 MB / 3.793 GB, free: 69.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/12.31, allocations: 3.484 kB / 3.793 GB, free: 69.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/12.31, allocations: 446.6 kB / 3.793 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/12.31, allocations: 45.81 kB / 3.794 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/12.32, allocations: 0.9322 MB / 3.794 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009378/12.32, allocations: 54.14 kB / 3.794 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/12.32, allocations: 23.69 kB / 3.794 GB, free: 68.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002256/12.32, allocations: 134.8 kB / 3.795 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/12.32, allocations: 42.56 kB / 3.795 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006017/12.32, allocations: 3.329 MB / 3.798 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/12.32, allocations: 7.531 kB / 3.798 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/12.32, allocations: 0 / 3.798 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/12.32, allocations: 7.797 kB / 3.798 GB, free: 68.32 MB / 0.5105 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 postOpt removeSimpleEquations (simulation): time 0.007688/12.33, allocations: 4.767 MB / 3.803 GB, free: 67.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/12.33, allocations: 9.797 kB / 3.803 GB, free: 67.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/12.33, allocations: 80.38 kB / 3.803 GB, free: 67.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004401/12.34, allocations: 1.478 MB / 3.804 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/12.34, allocations: 11.38 kB / 3.804 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004512/12.34, allocations: 2.776 MB / 3.807 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/12.34, allocations: 0 / 3.807 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006716/12.35, allocations: 4.338 MB / 3.811 GB, free: 64.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/12.35, allocations: 119.3 kB / 3.811 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/12.35, allocations: 12.77 kB / 3.811 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007628/12.35, allocations: 53.84 kB / 3.811 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/12.35, allocations: 25.09 kB / 3.811 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/12.35, allocations: 7.031 kB / 3.811 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003723/12.35, allocations: 244.9 kB / 3.812 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/12.35, allocations: 2.875 kB / 3.812 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005458/12.35, allocations: 1.008 MB / 3.812 GB, free: 64.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0128/12.37, allocations: 2.879 MB / 3.815 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003982/12.37, allocations: 0.7637 MB / 3.816 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/12.37, allocations: 3.25 kB / 3.816 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002507/12.37, allocations: 461.9 kB / 3.816 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/12.38, allocations: 235.6 kB / 3.817 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006193/12.38, allocations: 1.328 MB / 3.818 GB, free: 63.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/12.38, allocations: 0.8669 MB / 3.819 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006954/12.38, allocations: 119.3 kB / 3.819 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/12.38, allocations: 183.2 kB / 3.819 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.153e-06/12.38, allocations: 0 / 3.819 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/12.5, allocations: 47.06 MB / 3.865 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/12.5, allocations: 187.2 kB / 3.865 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.612/17.11, allocations: 0 / 3.865 GB, free: 61.03 MB / 0.5105 GB