Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestMixerSlowFast,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestMixerSlowFast",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.409/2.409, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 4000 Notification: Performance of FrontEnd - loaded program: time 3.591e-05/3.6e-05, allocations: 4 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4303, allocations: 60.23 MB / 391.1 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.212/9.642, allocations: 3.007 GB / 3.389 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/9.642, allocations: 76.92 kB / 3.389 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.201/11.84, allocations: 369.2 MB / 3.749 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.903e-06/11.84, allocations: 3.906 kB / 3.749 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.842e-05/11.84, allocations: 17.56 kB / 3.749 GB, free: 60.41 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.00563/11.85, allocations: 1.195 MB / 3.751 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/11.85, allocations: 8.031 kB / 3.751 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/11.85, allocations: 78.53 kB / 3.751 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006861/11.85, allocations: 107.3 kB / 3.751 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/11.85, allocations: 419.9 kB / 3.751 GB, free: 58.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/11.85, allocations: 29 kB / 3.751 GB, free: 58.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-05/11.85, allocations: 43.31 kB / 3.751 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/11.85, allocations: 0.6646 MB / 3.752 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/11.85, allocations: 0 / 3.752 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/11.85, allocations: 23.95 kB / 3.752 GB, free: 57.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/11.85, allocations: 8.219 kB / 3.752 GB, free: 57.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/11.86, allocations: 489.2 kB / 3.752 GB, free: 57.25 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.003259/11.86, allocations: 2.509 MB / 3.755 GB, free: 54.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/11.86, allocations: 0.5524 MB / 3.755 GB, free: 53.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/11.86, allocations: 128.8 kB / 3.755 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09868/11.96, allocations: 31.98 MB / 3.787 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/11.96, allocations: 34.56 kB / 3.787 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.045e-06/11.96, allocations: 0 / 3.787 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.00788/11.97, allocations: 1.526 MB / 3.788 GB, free: 17.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/11.97, allocations: 110.8 kB / 3.788 GB, free: 17.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/11.97, allocations: 302.9 kB / 3.789 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/11.97, allocations: 33.7 kB / 3.789 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/11.97, allocations: 240.1 kB / 3.789 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/11.97, allocations: 113.5 kB / 3.789 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/11.97, allocations: 8 kB / 3.789 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/11.97, allocations: 350.8 kB / 3.789 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/11.97, allocations: 147.9 kB / 3.789 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/11.97, allocations: 210.8 kB / 3.79 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/11.97, allocations: 159.9 kB / 3.79 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/11.97, allocations: 4 kB / 3.79 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002769/11.97, allocations: 0.7047 MB / 3.79 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/11.97, allocations: 0.5255 MB / 3.791 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/11.97, allocations: 11.88 kB / 3.791 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003147/11.98, allocations: 497.9 kB / 3.791 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/11.98, allocations: 35.98 kB / 3.792 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/11.98, allocations: 0.9805 MB / 3.792 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/11.98, allocations: 60 kB / 3.793 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/11.98, allocations: 23.98 kB / 3.793 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/11.98, allocations: 8 kB / 3.793 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00234/11.98, allocations: 0.5861 MB / 3.793 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/11.98, allocations: 0 / 3.793 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/11.98, allocations: 443.2 kB / 3.794 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/11.98, allocations: 43.98 kB / 3.794 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/11.99, allocations: 0.9347 MB / 3.795 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/11.99, allocations: 59.95 kB / 3.795 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.676e-05/11.99, allocations: 23.97 kB / 3.795 GB, free: 10.41 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.0002007/11.99, allocations: 128.9 kB / 3.795 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/11.99, allocations: 43.44 kB / 3.795 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005608/11.99, allocations: 3.323 MB / 3.798 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/11.99, allocations: 15.94 kB / 3.798 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/11.99, allocations: 0 / 3.798 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/11.99, allocations: 3.984 kB / 3.798 GB, free: 6.875 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.00766/12, allocations: 4.773 MB / 3.803 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/12, allocations: 0 / 3.803 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/12, allocations: 75.95 kB / 3.803 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004305/12.01, allocations: 1.476 MB / 3.804 GB, free: 420 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/12.01, allocations: 4 kB / 3.804 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005367/12.01, allocations: 2.788 MB / 3.807 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/12.01, allocations: 0 / 3.807 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00828/12.02, allocations: 4.332 MB / 3.811 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/12.02, allocations: 128.6 kB / 3.811 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/12.02, allocations: 7.938 kB / 3.811 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/12.02, allocations: 51.98 kB / 3.811 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/12.02, allocations: 35.88 kB / 3.811 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/12.02, allocations: 4 kB / 3.811 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004283/12.02, allocations: 245.2 kB / 3.812 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/12.02, allocations: 3.938 kB / 3.812 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005622/12.03, allocations: 1.007 MB / 3.813 GB, free: 7.598 MB / 0.5261 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.01317/12.04, allocations: 2.88 MB / 3.815 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004223/12.05, allocations: 0.7707 MB / 3.816 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/12.05, allocations: 0 / 3.816 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/12.05, allocations: 471.2 kB / 3.817 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/12.05, allocations: 225.3 kB / 3.817 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006886/12.06, allocations: 1.311 MB / 3.818 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/12.06, allocations: 0.8679 MB / 3.819 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007624/12.06, allocations: 143 kB / 3.819 GB, free: 1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/12.06, allocations: 179.4 kB / 3.819 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of SimCode: time 1.543e-06/12.06, allocations: 0 / 3.819 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5297/12.59, allocations: 47 MB / 3.865 GB, free: 87.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/12.59, allocations: 178.1 kB / 3.865 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.697/17.29, allocations: 0 / 3.865 GB, free: 87.48 MB / 0.5261 GB