Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestExpansionTankIdeal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.472/2.472, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.573e-05/4.59e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4504, allocations: 60.24 MB / 391.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.289/9.74, allocations: 2.925 GB / 3.307 GB, free: 81 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/9.74, allocations: 79.41 kB / 3.307 GB, free: 80.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.805/11.54, allocations: 303.7 MB / 3.604 GB, free: 74.78 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.873e-06/11.54, allocations: 0 / 3.604 GB, free: 74.78 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.384e-05/11.54, allocations: 24.06 kB / 3.604 GB, free: 74.78 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.007418/11.55, allocations: 1.47 MB / 3.605 GB, free: 74.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/11.55, allocations: 10.66 kB / 3.605 GB, free: 74.23 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003508/11.55, allocations: 118.3 kB / 3.605 GB, free: 74.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/11.55, allocations: 210 kB / 3.605 GB, free: 74.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/11.56, allocations: 0.6675 MB / 3.606 GB, free: 73.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.602e-05/11.56, allocations: 53.62 kB / 3.606 GB, free: 73.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/11.56, allocations: 84.14 kB / 3.606 GB, free: 73.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006522/11.56, allocations: 1.743 MB / 3.608 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/11.56, allocations: 0 / 3.608 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/11.56, allocations: 30.5 kB / 3.608 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-05/11.56, allocations: 31.59 kB / 3.608 GB, free: 73.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006429/11.57, allocations: 1.602 MB / 3.609 GB, free: 73.76 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.007433/11.58, allocations: 3.705 MB / 3.613 GB, free: 71.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005168/11.58, allocations: 1.192 MB / 3.614 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006836/11.58, allocations: 289.1 kB / 3.615 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2226/11.81, allocations: 63.96 MB / 3.677 GB, free: 32.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/11.81, allocations: 38 kB / 3.677 GB, free: 32.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=56): time 4.959e-06/11.81, allocations: 0 / 3.677 GB, free: 32.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56): time 0.008552/11.82, allocations: 1.676 MB / 3.679 GB, free: 32.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/11.82, allocations: 55.94 kB / 3.679 GB, free: 32.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007852/11.82, allocations: 466.6 kB / 3.679 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/11.82, allocations: 39.23 kB / 3.679 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/11.82, allocations: 352.7 kB / 3.68 GB, free: 31.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000284/11.82, allocations: 209.2 kB / 3.68 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/11.82, allocations: 14.28 kB / 3.68 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001137/11.82, allocations: 371.8 kB / 3.68 GB, free: 31.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/11.82, allocations: 494.7 kB / 3.681 GB, free: 31.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/11.82, allocations: 0.6623 MB / 3.681 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/11.82, allocations: 0.5218 MB / 3.682 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/11.82, allocations: 3.812 kB / 3.682 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004943/11.83, allocations: 1.771 MB / 3.683 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002352/11.83, allocations: 1.057 MB / 3.685 GB, free: 29.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/11.83, allocations: 3.344 kB / 3.685 GB, free: 29.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006281/11.83, allocations: 1.466 MB / 3.686 GB, free: 29.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/11.83, allocations: 67.23 kB / 3.686 GB, free: 29.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004942/11.84, allocations: 2.151 MB / 3.688 GB, free: 29.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/11.84, allocations: 123.3 kB / 3.688 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/11.84, allocations: 73.27 kB / 3.688 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/11.84, allocations: 6.781 kB / 3.688 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004772/11.84, allocations: 1.681 MB / 3.69 GB, free: 29.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/11.84, allocations: 4.188 kB / 3.69 GB, free: 29.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005008/11.85, allocations: 1.393 MB / 3.691 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/11.85, allocations: 81.73 kB / 3.691 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004707/11.86, allocations: 2.097 MB / 3.693 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/11.86, allocations: 117.4 kB / 3.694 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/11.86, allocations: 71.55 kB / 3.694 GB, free: 28.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (heater.fluidState[2].phase,heater.fluidState[1].phase,boiler.fluidState[2].phase,boiler.fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 {3 37} Notification: Performance of prepare postOptimizeDAE: time 0.0004045/11.86, allocations: 149.4 kB / 3.694 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/11.86, allocations: 73.2 kB / 3.694 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/11.87, allocations: 8.019 MB / 3.702 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.319e-05/11.87, allocations: 28.03 kB / 3.702 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/11.87, allocations: 0 / 3.702 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/11.87, allocations: 6.656 kB / 3.702 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004664/11.87, allocations: 3.718 MB / 3.705 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/11.87, allocations: 3.719 kB / 3.705 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002942/11.88, allocations: 211.4 kB / 3.706 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009778/11.88, allocations: 145.9 kB / 3.706 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/11.88, allocations: 17.75 kB / 3.706 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004832/11.88, allocations: 4.025 MB / 3.71 GB, free: 39.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/11.88, allocations: 0 / 3.71 GB, free: 39.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004137/11.89, allocations: 1.908 MB / 3.711 GB, free: 39.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/11.89, allocations: 233.2 kB / 3.712 GB, free: 39.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/11.89, allocations: 14.09 kB / 3.712 GB, free: 39.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/11.89, allocations: 66.94 kB / 3.712 GB, free: 39.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/11.89, allocations: 45.23 kB / 3.712 GB, free: 39.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.672e-05/11.89, allocations: 29.03 kB / 3.712 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006345/11.89, allocations: 359.7 kB / 3.712 GB, free: 39.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.32e-07/11.89, allocations: 0 / 3.712 GB, free: 39.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007537/11.9, allocations: 1.241 MB / 3.713 GB, free: 38.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (boiler.p,boiler.htilde[1],heater.p,heater.htilde[1]) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01392/11.91, allocations: 3.658 MB / 3.717 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005882/11.92, allocations: 1.918 MB / 3.719 GB, free: 37.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/11.92, allocations: 0 / 3.719 GB, free: 37.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003262/11.92, allocations: 0.8497 MB / 3.72 GB, free: 37.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/11.92, allocations: 287.8 kB / 3.72 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007964/11.93, allocations: 2.176 MB / 3.722 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007693/11.93, allocations: 1.098 MB / 3.723 GB, free: 36.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001483/11.93, allocations: 248.8 kB / 3.723 GB, free: 36.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007435/11.93, allocations: 329.7 kB / 3.724 GB, free: 36.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.363e-06/11.93, allocations: 0 / 3.724 GB, free: 36.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1534/12.09, allocations: 68.65 MB / 3.791 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003622/12.09, allocations: 183.4 kB / 3.791 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.321/17.41, allocations: 8.062 kB / 3.791 GB, free: 11.36 MB / 0.5417 GB