Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPumps,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.573/2.573, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.879e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4308, allocations: 60.23 MB / 391.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.055/9.485, allocations: 2.898 GB / 3.28 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/9.486, allocations: 79.3 kB / 3.28 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.561/12.05, allocations: 0.4907 GB / 3.77 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.743e-06/12.05, allocations: 3.938 kB / 3.77 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.297e-05/12.05, allocations: 26.91 kB / 3.77 GB, free: 9.688 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.007129/12.05, allocations: 1.49 MB / 3.772 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/12.05, allocations: 8.031 kB / 3.772 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002837/12.05, allocations: 114.5 kB / 3.772 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006809/12.06, allocations: 122.8 kB / 3.772 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/12.06, allocations: 0.7637 MB / 3.773 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/12.06, allocations: 143.1 kB / 3.773 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/12.06, allocations: 68 kB / 3.773 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/12.06, allocations: 0.8913 MB / 3.774 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/12.06, allocations: 0 / 3.774 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/12.06, allocations: 28 kB / 3.774 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/12.06, allocations: 18.28 kB / 3.774 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/12.06, allocations: 0.5218 MB / 3.775 GB, free: 5.375 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.006066/12.07, allocations: 3.536 MB / 3.778 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/12.07, allocations: 0.4996 MB / 3.778 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/12.07, allocations: 182.2 kB / 3.779 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6257/12.7, allocations: 32.1 MB / 3.81 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/12.7, allocations: 35.02 kB / 3.81 GB, free: 54.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 3.417e-06/12.7, allocations: 2.734 kB / 3.81 GB, free: 54.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.002685/12.7, allocations: 0.6827 MB / 3.811 GB, free: 54.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/12.7, allocations: 59.69 kB / 3.811 GB, free: 54.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/12.7, allocations: 496.7 kB / 3.811 GB, free: 53.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/12.7, allocations: 39.36 kB / 3.811 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/12.7, allocations: 351.3 kB / 3.812 GB, free: 53.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/12.7, allocations: 187.6 kB / 3.812 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/12.7, allocations: 8.312 kB / 3.812 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000122/12.7, allocations: 381.4 kB / 3.812 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/12.7, allocations: 135.5 kB / 3.812 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/12.7, allocations: 236.8 kB / 3.813 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/12.7, allocations: 157.6 kB / 3.813 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/12.7, allocations: 2.812 kB / 3.813 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002258/12.71, allocations: 0.6569 MB / 3.813 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002475/12.71, allocations: 1.138 MB / 3.814 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/12.71, allocations: 3.812 kB / 3.814 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/12.71, allocations: 274.4 kB / 3.815 GB, free: 51.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008303/12.71, allocations: 109.5 kB / 3.815 GB, free: 51.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/12.71, allocations: 1.893 MB / 3.817 GB, free: 50.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/12.71, allocations: 108.4 kB / 3.817 GB, free: 50.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/12.71, allocations: 41.89 kB / 3.817 GB, free: 50.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/12.71, allocations: 3.781 kB / 3.817 GB, free: 50.38 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002308/12.71, allocations: 0.5931 MB / 3.817 GB, free: 50.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/12.71, allocations: 3.938 kB / 3.817 GB, free: 50.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/12.72, allocations: 207.7 kB / 3.818 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000839/12.72, allocations: 110.9 kB / 3.818 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/12.72, allocations: 1.794 MB / 3.819 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/12.72, allocations: 109.5 kB / 3.82 GB, free: 48.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/12.72, allocations: 25.25 kB / 3.82 GB, free: 48.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (Pump3.int_Np,Pump2.int_Np,Pump1.int_Np,Pump3.inletFluidState.phase,Pump2.inletFluidState.phase,Pump1.inletFluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000252/12.72, allocations: 136.6 kB / 3.82 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/12.72, allocations: 77.94 kB / 3.82 GB, free: 48.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/12.72, allocations: 1.417 MB / 3.821 GB, free: 48.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/12.72, allocations: 14.25 kB / 3.821 GB, free: 48.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/12.72, allocations: 0.8438 kB / 3.821 GB, free: 48.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/12.72, allocations: 0 / 3.821 GB, free: 48.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/12.72, allocations: 0.8169 MB / 3.822 GB, free: 48.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/12.72, allocations: 0 / 3.822 GB, free: 48.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/12.72, allocations: 80.41 kB / 3.822 GB, free: 48.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/12.73, allocations: 1.217 MB / 3.823 GB, free: 48.22 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/12.73, allocations: 10.97 kB / 3.823 GB, free: 48.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/12.73, allocations: 2.504 MB / 3.826 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/12.73, allocations: 4.344 kB / 3.826 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/12.73, allocations: 1.712 MB / 3.827 GB, free: 46.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/12.73, allocations: 212.1 kB / 3.828 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/12.73, allocations: 18.25 kB / 3.828 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008851/12.73, allocations: 63.88 kB / 3.828 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/12.73, allocations: 40.19 kB / 3.828 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/12.73, allocations: 24.92 kB / 3.828 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005962/12.74, allocations: 378.4 kB / 3.828 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.6e-07/12.74, allocations: 0 / 3.828 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005359/12.74, allocations: 1.197 MB / 3.829 GB, free: 46.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Pump1.h,Pump2.h,Pump3.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 8,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.01178/12.75, allocations: 3.415 MB / 3.833 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003025/12.76, allocations: 0.8354 MB / 3.833 GB, free: 45.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/12.76, allocations: 0 / 3.833 GB, free: 45.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/12.76, allocations: 423.9 kB / 3.834 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/12.76, allocations: 355.4 kB / 3.834 GB, free: 45.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009457/12.77, allocations: 1.74 MB / 3.836 GB, free: 44.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009987/12.77, allocations: 0.9953 MB / 3.837 GB, free: 44.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002424/12.77, allocations: 251.1 kB / 3.837 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/12.77, allocations: 297 kB / 3.837 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of SimCode: time 2.554e-06/12.77, allocations: 0 / 3.837 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/12.9, allocations: 58.55 MB / 3.894 GB, free: 41.51 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/12.9, allocations: 167.2 kB / 3.895 GB, free: 41.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.213/18.12, allocations: 0 / 3.895 GB, free: 41.29 MB / 0.5261 GB