Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestRefrigerantEvaporator,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestRefrigerantEvaporator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.356/2.356, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.404e-05, allocations: 4 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4016, allocations: 60.23 MB / 391.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 29.6/30.01, allocations: 9.538 GB / 9.92 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/30.01, allocations: 84.17 kB / 9.92 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 18.02/48.02, allocations: 3.568 GB / 13.49 GB, free: 7.656 MB / 0.7609 GB Notification: Performance of FrontEnd: time 5.901e-06/48.02, allocations: 3.984 kB / 13.49 GB, free: 7.652 MB / 0.7609 GB Notification: Performance of Transformations before backend: time 0.0003742/48.02, allocations: 112 kB / 13.49 GB, free: 7.543 MB / 0.7609 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1456 * Number of variables: 1456 Notification: Performance of Generate backend data structure: time 0.801/48.83, allocations: 11.47 MB / 13.5 GB, free: 85.84 MB / 0.7609 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/48.83, allocations: 11.69 kB / 13.5 GB, free: 85.84 MB / 0.7609 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007517/48.83, allocations: 0.8299 MB / 13.5 GB, free: 85.77 MB / 0.7609 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02708/48.86, allocations: 2.493 MB / 13.5 GB, free: 85.5 MB / 0.7609 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03153/48.89, allocations: 5.071 MB / 13.51 GB, free: 85.19 MB / 0.7609 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01056/48.9, allocations: 2.201 MB / 13.51 GB, free: 84.65 MB / 0.7609 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008172/48.91, allocations: 0.5376 MB / 13.51 GB, free: 84.63 MB / 0.7609 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06519/48.98, allocations: 16.31 MB / 13.53 GB, free: 84.25 MB / 0.7609 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003272/48.98, allocations: 3.75 kB / 13.53 GB, free: 84.25 MB / 0.7609 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007337/48.98, allocations: 224.9 kB / 13.53 GB, free: 84.25 MB / 0.7609 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005762/48.98, allocations: 335.8 kB / 13.53 GB, free: 84.24 MB / 0.7609 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07647/49.06, allocations: 23.43 MB / 13.55 GB, free: 84.21 MB / 0.7609 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.2184/49.28, allocations: 80.2 MB / 13.63 GB, free: 36.49 MB / 0.7609 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03091/49.31, allocations: 11.37 MB / 13.64 GB, free: 32.01 MB / 0.7609 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02789/49.34, allocations: 9.925 MB / 13.65 GB, free: 28.09 MB / 0.7609 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/49.35, allocations: 5.878 MB / 13.66 GB, free: 22.63 MB / 0.7609 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/49.35, allocations: 103.4 kB / 13.66 GB, free: 22.55 MB / 0.7609 GB Notification: Performance of pre-optimization done (n=532): time 1.013e-05/49.35, allocations: 0 / 13.66 GB, free: 22.55 MB / 0.7609 GB Notification: Performance of matching and sorting (n=533): time 0.1369/49.49, allocations: 31.61 MB / 13.69 GB, free: 10.26 MB / 0.7609 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/49.49, allocations: 127.3 kB / 13.69 GB, free: 10.16 MB / 0.7609 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/49.49, allocations: 1.658 MB / 13.69 GB, free: 9.543 MB / 0.7609 GB Notification: Performance of collectPreVariables (initialization): time 0.005064/49.5, allocations: 128.6 kB / 13.69 GB, free: 9.441 MB / 0.7609 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/49.5, allocations: 1.59 MB / 13.69 GB, free: 8.246 MB / 0.7609 GB Notification: Performance of collectInitialBindings (initialization): time 0.006857/49.5, allocations: 1.822 MB / 13.69 GB, free: 6.836 MB / 0.7609 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004046/49.51, allocations: 89.44 kB / 13.69 GB, free: 6.766 MB / 0.7609 GB Notification: Performance of setup shared object (initialization): time 0.0005679/49.51, allocations: 0.5075 MB / 13.69 GB, free: 6.367 MB / 0.7609 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02424/49.53, allocations: 8.658 MB / 13.7 GB, free: 3.016 MB / 0.7609 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02709/49.56, allocations: 9.315 MB / 13.71 GB, free: 15.46 MB / 0.7765 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02064/49.58, allocations: 6.512 MB / 13.72 GB, free: 12.98 MB / 0.7765 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-05/49.58, allocations: 5.719 kB / 13.72 GB, free: 12.98 MB / 0.7765 GB Notification: Performance of matching and sorting (n=628) (initialization): time 0.3897/49.97, allocations: 56.39 MB / 13.77 GB, free: 14.85 MB / 0.8078 GB Notification: Performance of prepare postOptimizeDAE: time 0.001563/49.97, allocations: 3.275 MB / 13.77 GB, free: 11.3 MB / 0.8078 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.48e-05/49.97, allocations: 8 kB / 13.77 GB, free: 11.3 MB / 0.8078 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233/51.21, allocations: 65.84 MB / 13.84 GB, free: 147.3 MB / 0.8234 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01466/51.22, allocations: 1.498 MB / 13.84 GB, free: 147.3 MB / 0.8234 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1647/51.38, allocations: 27.59 MB / 13.87 GB, free: 144.9 MB / 0.8234 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03797/51.42, allocations: 3.883 MB / 13.87 GB, free: 144.9 MB / 0.8234 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004973/51.43, allocations: 423.9 kB / 13.87 GB, free: 144.9 MB / 0.8234 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/51.43, allocations: 7.797 kB / 13.87 GB, free: 144.9 MB / 0.8234 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3784/51.81, allocations: 56.94 MB / 13.93 GB, free: 144.6 MB / 0.8234 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-05/51.81, allocations: 7.062 kB / 13.93 GB, free: 144.6 MB / 0.8234 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3583/52.16, allocations: 46.85 MB / 13.97 GB, free: 133.9 MB / 0.8234 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01695/52.18, allocations: 1.688 MB / 13.97 GB, free: 132.7 MB / 0.8234 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09178/52.27, allocations: 21.74 MB / 14 GB, free: 116.4 MB / 0.8234 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03795/52.31, allocations: 3.874 MB / 14 GB, free: 113.6 MB / 0.8234 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005154/52.32, allocations: 418.8 kB / 14 GB, free: 113.4 MB / 0.8234 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 12 (fluid_T_in.fluidState.phase,fluid_T_out.fluidState.phase,fluidFlow.fluidState[1].phase,fluidFlow.fluidState[2].phase,fluidFlow.fluidState[3].phase,fluidFlow.fluidState[4].phase,fluidFlow.fluidState[5].phase,fluidFlow.fluidState[6].phase,fluidFlow.fluidState[7].phase,fluidFlow.fluidState[8].phase,fluidFlow.fluidState[9].phase,fluidFlow.fluidState[10].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (273): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {67 239} Notification: Performance of prepare postOptimizeDAE: time 0.00766/52.32, allocations: 338.2 kB / 14 GB, free: 113.1 MB / 0.8234 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00441/52.33, allocations: 342.8 kB / 14 GB, free: 112.9 MB / 0.8234 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08332/52.41, allocations: 19.73 MB / 14.02 GB, free: 95.9 MB / 0.8234 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08079/52.49, allocations: 17.24 MB / 14.04 GB, free: 78.57 MB / 0.8234 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-05/52.49, allocations: 8.656 kB / 14.04 GB, free: 78.56 MB / 0.8234 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002187/52.49, allocations: 23.91 kB / 14.04 GB, free: 78.54 MB / 0.8234 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2087/52.7, allocations: 45.43 MB / 14.08 GB, free: 32.02 MB / 0.8234 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.894e-05/52.7, allocations: 8.031 kB / 14.08 GB, free: 32.02 MB / 0.8234 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03938/52.74, allocations: 4.548 MB / 14.08 GB, free: 27.51 MB / 0.8234 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009975/52.75, allocations: 2.084 MB / 14.09 GB, free: 25.39 MB / 0.8234 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0053/52.76, allocations: 467.1 kB / 14.09 GB, free: 24.93 MB / 0.8234 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7303/53.49, allocations: 32.28 MB / 14.12 GB, free: 132.2 MB / 0.8234 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/53.49, allocations: 3.188 kB / 14.12 GB, free: 132.2 MB / 0.8234 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08941/53.58, allocations: 25.81 MB / 14.14 GB, free: 131.4 MB / 0.8234 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01263/53.59, allocations: 2.382 MB / 14.15 GB, free: 131.3 MB / 0.8234 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005048/53.59, allocations: 179.5 kB / 14.15 GB, free: 131.3 MB / 0.8234 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03731/53.63, allocations: 3.707 MB / 14.15 GB, free: 131.3 MB / 0.8234 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004686/53.64, allocations: 0.667 MB / 14.15 GB, free: 131.3 MB / 0.8234 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004215/53.64, allocations: 488.9 kB / 14.15 GB, free: 131.3 MB / 0.8234 GB Notification: Performance of sorting global known variables: time 0.003106/53.64, allocations: 1.285 MB / 14.15 GB, free: 131.2 MB / 0.8234 GB Notification: Performance of sort global known variables: time 1.613e-06/53.64, allocations: 1.312 kB / 14.15 GB, free: 131.2 MB / 0.8234 GB Notification: Performance of remove unused functions: time 0.0546/53.7, allocations: 5.239 MB / 14.16 GB, free: 131.2 MB / 0.8234 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 31 (gasFlow.Ttilde[1],gasFlow.Ttilde[2],gasFlow.Ttilde[3],gasFlow.Ttilde[4],gasFlow.Ttilde[5],gasFlow.Ttilde[6],gasFlow.Ttilde[7],gasFlow.Ttilde[8],gasFlow.Ttilde[9],gasFlow.Xtilde[1,1],gasFlow.Xtilde[1,2],gasFlow.Xtilde[1,3],gasFlow.Xtilde[1,4],fluidFlow.htilde[1],fluidFlow.htilde[2],fluidFlow.htilde[3],fluidFlow.htilde[4],fluidFlow.htilde[5],fluidFlow.htilde[6],fluidFlow.htilde[7],fluidFlow.htilde[8],fluidFlow.htilde[9],tubeWall.Tvol[1],tubeWall.Tvol[2],tubeWall.Tvol[3],tubeWall.Tvol[4],tubeWall.Tvol[5],tubeWall.Tvol[6],tubeWall.Tvol[7],tubeWall.Tvol[8],tubeWall.Tvol[9]) * Number of discrete variables: 23 (fluid_T_in.fluidState.phase,fluid_T_out.fluidState.phase,fluidFlow.fluidState[2].phase,fluidFlow.fluidState[3].phase,fluidFlow.fluidState[4].phase,fluidFlow.fluidState[5].phase,fluidFlow.fluidState[6].phase,fluidFlow.fluidState[7].phase,fluidFlow.fluidState[8].phase,fluidFlow.fluidState[9].phase,fluidFlow.fluidState[10].phase,$cse1.phase,$cse2.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse11.phase,$cse12.phase,$cse13.phase,$cse14.phase,$cse15.phase,$cse16.phase,fluidFlow.fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (512): * Single equations (assignments): 479 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3508/54.05, allocations: 53.15 MB / 14.21 GB, free: 117.4 MB / 0.8234 GB Notification: Performance of simCode: created initialization part: time 0.1607/54.21, allocations: 36.95 MB / 14.25 GB, free: 105.9 MB / 0.8234 GB Notification: Performance of simCode: created event and clocks part: time 2.503e-05/54.21, allocations: 10.55 kB / 14.25 GB, free: 105.9 MB / 0.8234 GB Notification: Performance of simCode: created simulation system equations: time 0.0324/54.24, allocations: 11.31 MB / 14.26 GB, free: 100.4 MB / 0.8234 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02194/54.26, allocations: 2.005 MB / 14.26 GB, free: 100 MB / 0.8234 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1022/54.37, allocations: 19.8 MB / 14.28 GB, free: 95.12 MB / 0.8234 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005977/54.37, allocations: 3.262 MB / 14.28 GB, free: 94.04 MB / 0.8234 GB Notification: Performance of simCode: alias equations: time 0.02933/54.4, allocations: 3.339 MB / 14.28 GB, free: 93.84 MB / 0.8234 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01555/54.42, allocations: 2.551 MB / 14.29 GB, free: 92.23 MB / 0.8234 GB Notification: Performance of SimCode: time 1.834e-06/54.42, allocations: 0 / 14.29 GB, free: 92.23 MB / 0.8234 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.569/55.99, allocations: 427.4 MB / 14.7 GB, free: 5.277 MB / 0.8546 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/55.99, allocations: 208.9 kB / 14.7 GB, free: 5.051 MB / 0.8546 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.25/76.23, allocations: 0 / 14.7 GB, free: 5.051 MB / 0.8546 GB