Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.2/4.2, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.694e-05, allocations: 8.328 kB / 0.5338 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2332, allocations: 98.73 MB / 0.6302 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.1/8.333, allocations: 2.522 GB / 3.152 GB, free: 87.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/8.333, allocations: 99.81 kB / 3.152 GB, free: 87.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 13.51/21.84, allocations: 2.438 GB / 5.59 GB, free: 52.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.326e-06/21.84, allocations: 0 / 5.59 GB, free: 52.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.002065/21.84, allocations: 263.3 kB / 5.59 GB, free: 52 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2033 * Number of variables: 2033 Notification: Performance of Generate backend data structure: time 0.03955/21.88, allocations: 8.921 MB / 5.599 GB, free: 48.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/21.88, allocations: 10.56 kB / 5.599 GB, free: 48.43 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005778/21.89, allocations: 1.056 MB / 5.6 GB, free: 48.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02228/21.91, allocations: 2.19 MB / 5.602 GB, free: 47.76 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04631/21.96, allocations: 11.63 MB / 5.613 GB, free: 46.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009636/21.96, allocations: 0.5954 MB / 5.614 GB, free: 46.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004358/21.96, allocations: 0.8062 MB / 5.615 GB, free: 46.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03966/22, allocations: 10.57 MB / 5.625 GB, free: 45.46 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006218/22, allocations: 29.44 kB / 5.625 GB, free: 45.46 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003714/22.01, allocations: 334.9 kB / 5.625 GB, free: 45.46 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004194/22.01, allocations: 333 kB / 5.626 GB, free: 45.45 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03261/22.04, allocations: 9.569 MB / 5.635 GB, free: 45.41 MB / 0.8855 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.1168/22.16, allocations: 45.15 MB / 5.679 GB, free: 28.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0218/22.18, allocations: 7.42 MB / 5.686 GB, free: 28.11 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01032/22.19, allocations: 3.736 MB / 5.69 GB, free: 28.06 MB / 0.8855 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 evalFunc (simulation): time 0.06225/22.25, allocations: 18.36 MB / 5.708 GB, free: 23.37 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01032/22.26, allocations: 3.232 MB / 5.711 GB, free: 23.26 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008221/22.27, allocations: 0.7644 MB / 5.712 GB, free: 22.98 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=507): time 4.752e-05/22.27, allocations: 3.281 kB / 5.712 GB, free: 22.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=507): time 0.02478/22.29, allocations: 6.19 MB / 5.718 GB, free: 22.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001934/22.29, allocations: 342.4 kB / 5.718 GB, free: 22.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02665/22.32, allocations: 7.005 MB / 5.725 GB, free: 21.62 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.002104/22.32, allocations: 133.7 kB / 5.725 GB, free: 21.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.008925/22.33, allocations: 4.325 MB / 5.729 GB, free: 20.07 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.004348/22.34, allocations: 1.755 MB / 5.731 GB, free: 18.95 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001511/22.34, allocations: 129.5 kB / 5.731 GB, free: 18.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0007859/22.34, allocations: 0.5617 MB / 5.732 GB, free: 18.64 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009402/22.35, allocations: 3.108 MB / 5.735 GB, free: 18.62 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01123/22.36, allocations: 4.792 MB / 5.739 GB, free: 16.73 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/22.37, allocations: 4.037 MB / 5.743 GB, free: 16.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.09e-05/22.37, allocations: 15 kB / 5.743 GB, free: 16.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.03179/22.4, allocations: 9.012 MB / 5.752 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.009608/22.41, allocations: 23.69 MB / 5.775 GB, free: 21.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002229/22.41, allocations: 52.28 kB / 5.775 GB, free: 21.92 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007253/22.41, allocations: 158.7 kB / 5.776 GB, free: 21.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01561/22.43, allocations: 1.698 MB / 5.777 GB, free: 21.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009951/22.43, allocations: 0.7186 MB / 5.778 GB, free: 21.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01537/22.45, allocations: 0.7162 MB / 5.779 GB, free: 21.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002276/22.45, allocations: 311.8 kB / 5.779 GB, free: 21.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/22.45, allocations: 4.469 kB / 5.779 GB, free: 21.02 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02788/22.48, allocations: 8.338 MB / 5.787 GB, free: 18.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/22.48, allocations: 48.47 kB / 5.787 GB, free: 18.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/22.48, allocations: 156.1 kB / 5.787 GB, free: 18.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01555/22.49, allocations: 1.697 MB / 5.789 GB, free: 18.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009643/22.49, allocations: 0.7141 MB / 5.79 GB, free: 17.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01491/22.51, allocations: 0.6814 MB / 5.79 GB, free: 17.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002416/22.51, allocations: 313.5 kB / 5.791 GB, free: 17.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (821): * Single equations (assignments): 815 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003996/22.52, allocations: 495.9 kB / 5.791 GB, free: 16.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003822/22.52, allocations: 0.7614 MB / 5.792 GB, free: 16.38 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02924/22.55, allocations: 7.587 MB / 5.799 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.904e-05/22.55, allocations: 53.41 kB / 5.799 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/22.55, allocations: 4 kB / 5.799 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02071/22.57, allocations: 5.754 MB / 5.805 GB, free: 9.34 MB / 0.9167 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.07047/22.64, allocations: 16.89 MB / 5.821 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.76e-05/22.64, allocations: 4.062 kB / 5.821 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01702/22.66, allocations: 1.159 MB / 5.823 GB, free: 12.08 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005263/22.66, allocations: 87.39 kB / 5.823 GB, free: 12 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001667/22.66, allocations: 160.2 kB / 5.823 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007928/22.66, allocations: 0.6061 MB / 5.823 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/22.66, allocations: 7.281 kB / 5.823 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03666/22.7, allocations: 10.69 MB / 5.834 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009553/22.71, allocations: 1.886 MB / 5.836 GB, free: 0 / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005041/22.71, allocations: 144.8 kB / 5.836 GB, free: 0 / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.7995/23.51, allocations: 0.5948 MB / 5.836 GB, free: 95.09 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001861/23.51, allocations: 304.4 kB / 5.837 GB, free: 95.08 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001082/23.51, allocations: 182.9 kB / 5.837 GB, free: 95.08 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01945/23.53, allocations: 5.514 MB / 5.842 GB, free: 94.79 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.122e-06/23.53, allocations: 0 / 5.842 GB, free: 94.79 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.03292/23.57, allocations: 5.262 MB / 5.847 GB, free: 94.79 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (526): * Single equations (assignments): 516 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.04345/23.61, allocations: 13.76 MB / 5.861 GB, free: 93.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.03457/23.64, allocations: 11.84 MB / 5.872 GB, free: 92.71 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/23.64, allocations: 6 kB / 5.872 GB, free: 92.71 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.009372/23.65, allocations: 3.129 MB / 5.875 GB, free: 92.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03353/23.69, allocations: 4.064 MB / 5.879 GB, free: 92.62 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06356/23.75, allocations: 19.64 MB / 5.899 GB, free: 89.34 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01222/23.76, allocations: 6.157 MB / 5.905 GB, free: 88.41 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.03868/23.8, allocations: 5.819 MB / 5.91 GB, free: 88.31 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01182/23.81, allocations: 3.992 MB / 5.914 GB, free: 88.31 MB / 0.9323 GB Notification: Performance of SimCode: time 1.643e-06/23.81, allocations: 0 / 5.914 GB, free: 88.31 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.612/24.43, allocations: 253.4 MB / 6.162 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004111/24.43, allocations: 251.6 kB / 6.162 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.94/42.37, allocations: 0 / 6.162 GB, free: 9.555 MB / 0.9636 GB