Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 5.13/5.13, allocations: 404.1 MB / 411.3 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.347e-05, allocations: 4 kB / 0.4945 GB, free: 1.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7714, allocations: 92.69 MB / 0.585 GB, free: 2.305 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.981/9.752, allocations: 2.495 GB / 3.08 GB, free: 81.51 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/9.753, allocations: 93.7 kB / 3.08 GB, free: 81.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 15.54/25.3, allocations: 2.368 GB / 5.448 GB, free: 38.56 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.845e-06/25.3, allocations: 6.125 kB / 5.448 GB, free: 38.56 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.002215/25.3, allocations: 259.6 kB / 5.448 GB, free: 38.53 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.04479/25.34, allocations: 9.082 MB / 5.457 GB, free: 34.94 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/25.34, allocations: 9.281 kB / 5.457 GB, free: 34.94 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02591/25.37, allocations: 2.195 MB / 5.459 GB, free: 34.32 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08086/25.45, allocations: 19.11 MB / 5.478 GB, free: 32.69 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006486/25.45, allocations: 257.9 kB / 5.478 GB, free: 32.69 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004548/25.46, allocations: 497.8 kB / 5.478 GB, free: 32.68 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03439/25.49, allocations: 9.172 MB / 5.487 GB, free: 32.65 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04163/25.53, allocations: 9.672 MB / 5.497 GB, free: 31.38 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006901/25.53, allocations: 30.03 kB / 5.497 GB, free: 31.37 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003887/25.54, allocations: 18.09 kB / 5.497 GB, free: 31.37 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003925/25.54, allocations: 234.5 kB / 5.497 GB, free: 31.37 MB / 0.823 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.1333/25.67, allocations: 46 MB / 5.542 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/25.69, allocations: 6.843 MB / 5.549 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01145/25.7, allocations: 3.805 MB / 5.552 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05826/25.76, allocations: 15.09 MB / 5.567 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01193/25.77, allocations: 3.699 MB / 5.571 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008106/25.78, allocations: 0.492 MB / 5.571 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=550): time 4.301e-05/25.78, allocations: 0 / 5.571 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=567): time 0.5921/26.37, allocations: 33.75 MB / 5.604 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002971/26.37, allocations: 377.8 kB / 5.604 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8883/27.26, allocations: 6.009 MB / 5.61 GB, free: 71.05 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.002252/27.26, allocations: 32.08 kB / 5.61 GB, free: 71.02 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.009761/27.27, allocations: 4.176 MB / 5.614 GB, free: 70.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.005265/27.28, allocations: 1.874 MB / 5.616 GB, free: 70.02 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002507/27.28, allocations: 1.031 kB / 5.616 GB, free: 70.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.001221/27.28, allocations: 0.5789 MB / 5.617 GB, free: 69.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01699/27.3, allocations: 3.306 MB / 5.62 GB, free: 69.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01348/27.31, allocations: 4.934 MB / 5.625 GB, free: 67.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.442/27.76, allocations: 16.74 MB / 5.641 GB, free: 67.81 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001394/27.76, allocations: 19.34 kB / 5.641 GB, free: 67.81 MB / 0.8542 GB Notification: Performance of matching and sorting (n=885) (initialization): time 0.4682/28.22, allocations: 22.05 MB / 5.663 GB, free: 66.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.004838/28.23, allocations: 22.18 MB / 5.684 GB, free: 43.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002768/28.23, allocations: 44.31 kB / 5.684 GB, free: 43.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004894/28.23, allocations: 0.5879 MB / 5.685 GB, free: 43.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01861/28.25, allocations: 1.717 MB / 5.687 GB, free: 43.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00953/28.26, allocations: 3.865 MB / 5.691 GB, free: 41.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01717/28.28, allocations: 0.5219 MB / 5.691 GB, free: 41.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002729/28.28, allocations: 329.4 kB / 5.691 GB, free: 41.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/28.28, allocations: 2.219 kB / 5.691 GB, free: 41.82 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4562/28.74, allocations: 21.23 MB / 5.712 GB, free: 40.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002383/28.74, allocations: 51.48 kB / 5.712 GB, free: 40.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004709/28.74, allocations: 0.6203 MB / 5.713 GB, free: 40.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01795/28.76, allocations: 1.692 MB / 5.714 GB, free: 40.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009436/28.77, allocations: 3.872 MB / 5.718 GB, free: 38.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01634/28.79, allocations: 0.5014 MB / 5.719 GB, free: 38.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002722/28.79, allocations: 331.4 kB / 5.719 GB, free: 38.88 MB / 0.8542 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (861): * Single equations (assignments): 854 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 17} Notification: Performance of prepare postOptimizeDAE: time 0.004361/28.79, allocations: 280.6 kB / 5.719 GB, free: 38.78 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1783/28.97, allocations: 11.95 MB / 5.731 GB, free: 37.73 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004196/28.98, allocations: 0.7247 MB / 5.732 GB, free: 37.34 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1918/29.17, allocations: 13.76 MB / 5.745 GB, free: 36.44 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001545/29.17, allocations: 65.62 kB / 5.745 GB, free: 36.44 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/29.17, allocations: 7.531 kB / 5.745 GB, free: 36.44 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.18/29.35, allocations: 12.07 MB / 5.757 GB, free: 35.53 MB / 0.8542 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.2227/29.57, allocations: 23.28 MB / 5.78 GB, free: 33.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.366e-05/29.57, allocations: 11.41 kB / 5.78 GB, free: 33.35 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0151/29.59, allocations: 1.192 MB / 5.781 GB, free: 33.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003566/29.59, allocations: 0.8313 MB / 5.782 GB, free: 33.19 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0017/29.59, allocations: 122.2 kB / 5.782 GB, free: 33.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009607/29.6, allocations: 10.78 MB / 5.792 GB, free: 23.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.306e-05/29.6, allocations: 15.94 kB / 5.792 GB, free: 23.83 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1925/29.79, allocations: 19.28 MB / 5.811 GB, free: 19.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008678/29.8, allocations: 1.877 MB / 5.813 GB, free: 19.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003868/29.81, allocations: 40.92 kB / 5.813 GB, free: 19.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01587/29.82, allocations: 0.6951 MB / 5.814 GB, free: 18.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001757/29.83, allocations: 401.5 kB / 5.814 GB, free: 18.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001068/29.83, allocations: 230.9 kB / 5.814 GB, free: 18.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0126/29.84, allocations: 4.571 MB / 5.819 GB, free: 18.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.12e-07/29.84, allocations: 0 / 5.819 GB, free: 18.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.02755/29.87, allocations: 4.07 MB / 5.823 GB, free: 18.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 27 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (574): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 18 {1 3,1 3,1 3,1 3,1 4,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.2056/30.07, allocations: 23.88 MB / 5.846 GB, free: 27.78 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.04224/30.11, allocations: 13.17 MB / 5.859 GB, free: 26.98 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.366e-05/30.11, allocations: 8.312 kB / 5.859 GB, free: 26.97 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01262/30.13, allocations: 3.66 MB / 5.862 GB, free: 26.23 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03937/30.17, allocations: 3.831 MB / 5.866 GB, free: 24.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07303/30.24, allocations: 20.05 MB / 5.886 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0156/30.26, allocations: 6.289 MB / 5.892 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.04588/30.3, allocations: 5.646 MB / 5.897 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01384/30.31, allocations: 4.104 MB / 5.901 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of SimCode: time 1.743e-06/30.32, allocations: 0 / 5.901 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.21/33.52, allocations: 241.4 MB / 6.137 GB, free: 67.58 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004025/33.53, allocations: 192.5 kB / 6.137 GB, free: 67.39 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 18.63/52.16, allocations: 0 / 6.137 GB, free: 67.39 MB / 0.8855 GB