Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPump,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.59/2.59, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.433e-05, allocations: 0 / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4268, allocations: 60.23 MB / 391.1 MB, free: 4.758 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.999/9.425, allocations: 2.897 GB / 3.279 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/9.426, allocations: 79.03 kB / 3.279 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.167/10.59, allocations: 222.6 MB / 3.496 GB, free: 95.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.613e-06/10.59, allocations: 0 / 3.496 GB, free: 95.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.257e-05/10.59, allocations: 12 kB / 3.496 GB, free: 95.96 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.004894/10.6, allocations: 1.008 MB / 3.497 GB, free: 95.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/10.6, allocations: 8.031 kB / 3.497 GB, free: 95.01 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/10.6, allocations: 66.33 kB / 3.497 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/10.6, allocations: 50.59 kB / 3.497 GB, free: 94.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/10.6, allocations: 396.1 kB / 3.498 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/10.6, allocations: 50.83 kB / 3.498 GB, free: 94.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/10.6, allocations: 27.44 kB / 3.498 GB, free: 94.53 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/10.6, allocations: 340.3 kB / 3.498 GB, free: 94.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/10.6, allocations: 4 kB / 3.498 GB, free: 94.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/10.6, allocations: 12.62 kB / 3.498 GB, free: 94.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/10.6, allocations: 8 kB / 3.498 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/10.6, allocations: 194.5 kB / 3.498 GB, free: 94.16 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.002111/10.6, allocations: 1.381 MB / 3.5 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/10.6, allocations: 168.3 kB / 3.5 GB, free: 92.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/10.6, allocations: 83.22 kB / 3.5 GB, free: 92.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09857/10.7, allocations: 32.1 MB / 3.531 GB, free: 59.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/10.7, allocations: 34.56 kB / 3.531 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 3.085e-06/10.7, allocations: 0 / 3.531 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20): time 0.001183/10.7, allocations: 282.3 kB / 3.531 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/10.7, allocations: 59.34 kB / 3.532 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/10.7, allocations: 242.8 kB / 3.532 GB, free: 58.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/10.7, allocations: 29.7 kB / 3.532 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/10.7, allocations: 180.3 kB / 3.532 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.933e-05/10.7, allocations: 67 kB / 3.532 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/10.7, allocations: 4 kB / 3.532 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.287e-05/10.7, allocations: 342.8 kB / 3.532 GB, free: 58.33 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/10.7, allocations: 56.39 kB / 3.532 GB, free: 58.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/10.7, allocations: 83.48 kB / 3.533 GB, free: 58.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/10.71, allocations: 64.75 kB / 3.533 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/10.71, allocations: 0 / 3.533 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001012/10.71, allocations: 285.2 kB / 3.533 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.53e-05/10.71, allocations: 364.6 kB / 3.533 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/10.71, allocations: 3.984 kB / 3.533 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007177/10.71, allocations: 100.8 kB / 3.533 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/10.71, allocations: 47.97 kB / 3.533 GB, free: 57.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007048/10.71, allocations: 0.6294 MB / 3.534 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/10.71, allocations: 59.73 kB / 3.534 GB, free: 56.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/10.71, allocations: 19.95 kB / 3.534 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/10.71, allocations: 4 kB / 3.534 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009134/10.71, allocations: 226.4 kB / 3.534 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/10.71, allocations: 0 / 3.534 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/10.71, allocations: 76.89 kB / 3.534 GB, free: 56.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/10.71, allocations: 63.58 kB / 3.534 GB, free: 56.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004951/10.71, allocations: 0.603 MB / 3.535 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005629/10.71, allocations: 55.89 kB / 3.535 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/10.71, allocations: 12 kB / 3.535 GB, free: 55.53 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001429/10.71, allocations: 117.3 kB / 3.535 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/10.71, allocations: 35.58 kB / 3.535 GB, free: 55.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/10.71, allocations: 0.5347 MB / 3.536 GB, free: 54.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/10.71, allocations: 7.984 kB / 3.536 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/10.71, allocations: 96 / 3.536 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/10.71, allocations: 7.828 kB / 3.536 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/10.71, allocations: 397.7 kB / 3.536 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/10.71, allocations: 0 / 3.536 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/10.71, allocations: 63.89 kB / 3.536 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008813/10.72, allocations: 425.3 kB / 3.537 GB, free: 53.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/10.72, allocations: 4 kB / 3.537 GB, free: 53.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008009/10.72, allocations: 0.8299 MB / 3.537 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/10.72, allocations: 0 / 3.537 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/10.72, allocations: 0.7091 MB / 3.538 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/10.72, allocations: 128.6 kB / 3.538 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/10.72, allocations: 4 kB / 3.538 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008311/10.72, allocations: 40.03 kB / 3.538 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/10.72, allocations: 19.97 kB / 3.538 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/10.72, allocations: 11.98 kB / 3.538 GB, free: 52.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003921/10.72, allocations: 194.2 kB / 3.538 GB, free: 51.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.92e-07/10.72, allocations: 0 / 3.538 GB, free: 51.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006258/10.73, allocations: 0.9286 MB / 3.539 GB, free: 50.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.01288/10.74, allocations: 2.261 MB / 3.542 GB, free: 48.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001879/10.74, allocations: 325.8 kB / 3.542 GB, free: 48.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/10.74, allocations: 0 / 3.542 GB, free: 48.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007459/10.74, allocations: 165.8 kB / 3.542 GB, free: 48.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/10.74, allocations: 138.7 kB / 3.542 GB, free: 48.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/10.75, allocations: 0.8615 MB / 3.543 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/10.75, allocations: 0.7926 MB / 3.544 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005844/10.75, allocations: 94.39 kB / 3.544 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/10.75, allocations: 111.4 kB / 3.544 GB, free: 46.19 MB / 0.5105 GB Notification: Performance of SimCode: time 1.132e-06/10.75, allocations: 7.938 kB / 3.544 GB, free: 46.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08092/10.83, allocations: 34.98 MB / 3.578 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/10.83, allocations: 170.3 kB / 3.578 GB, free: 11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.417/15.25, allocations: 0 / 3.578 GB, free: 11 MB / 0.5105 GB