Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.763/3.763, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.631e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5966/0.5967, allocations: 92.67 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.633/7.23, allocations: 2.212 GB / 2.802 GB, free: 49.88 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/7.231, allocations: 107.2 kB / 2.802 GB, free: 49.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.208/8.439, allocations: 179.7 MB / 2.977 GB, free: 190 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.154e-06/8.439, allocations: 3.938 kB / 2.977 GB, free: 190 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003338/8.439, allocations: 99.92 kB / 2.977 GB, free: 189.9 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1121 * Number of variables: 1121 Notification: Performance of Generate backend data structure: time 0.01486/8.454, allocations: 3.655 MB / 2.981 GB, free: 186.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/8.454, allocations: 12.03 kB / 2.981 GB, free: 186.1 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002921/8.457, allocations: 0.5886 MB / 2.982 GB, free: 185.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0221/8.479, allocations: 1.899 MB / 2.983 GB, free: 183.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007609/8.487, allocations: 2.32 MB / 2.986 GB, free: 181.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004207/8.487, allocations: 324.5 kB / 2.986 GB, free: 180.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002266/8.49, allocations: 416 kB / 2.986 GB, free: 180.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02073/8.51, allocations: 6.02 MB / 2.992 GB, free: 174.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000193/8.511, allocations: 11.94 kB / 2.992 GB, free: 174.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001528/8.512, allocations: 176 kB / 2.993 GB, free: 174.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003025/8.513, allocations: 227.3 kB / 2.993 GB, free: 173.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/8.531, allocations: 5.694 MB / 2.998 GB, free: 168.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05703/8.588, allocations: 21.39 MB / 3.019 GB, free: 146.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/8.598, allocations: 3.828 MB / 3.023 GB, free: 142.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004803/8.603, allocations: 1.856 MB / 3.025 GB, free: 140.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/8.605, allocations: 0.519 MB / 3.025 GB, free: 140 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005638/8.61, allocations: 2.018 MB / 3.027 GB, free: 137.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=254): time 7.313e-06/8.61, allocations: 0 / 3.027 GB, free: 137.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=257): time 0.01542/8.626, allocations: 5.595 MB / 3.033 GB, free: 132.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/8.626, allocations: 368.1 kB / 3.033 GB, free: 131.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003313/8.629, allocations: 1.48 MB / 3.034 GB, free: 130.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0009709/8.63, allocations: 73.7 kB / 3.035 GB, free: 130.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001855/8.632, allocations: 1.672 MB / 3.036 GB, free: 128.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001591/8.634, allocations: 0.8432 MB / 3.037 GB, free: 127.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004508/8.634, allocations: 56 kB / 3.037 GB, free: 127.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002209/8.634, allocations: 415.5 kB / 3.037 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004268/8.639, allocations: 1.446 MB / 3.039 GB, free: 125.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005095/8.644, allocations: 2.142 MB / 3.041 GB, free: 123.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005079/8.649, allocations: 1.779 MB / 3.043 GB, free: 121.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/8.649, allocations: 4 kB / 3.043 GB, free: 121.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01265/8.662, allocations: 4.036 MB / 3.047 GB, free: 117.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001389/8.663, allocations: 6.834 MB / 3.053 GB, free: 110.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.003e-05/8.663, allocations: 19.94 kB / 3.053 GB, free: 110.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.29e-05/8.663, allocations: 32 kB / 3.053 GB, free: 110.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00883/8.672, allocations: 0.8541 MB / 3.054 GB, free: 109.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.914e-05/8.672, allocations: 43.86 kB / 3.054 GB, free: 109.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006579/8.679, allocations: 402.1 kB / 3.055 GB, free: 108.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/8.68, allocations: 143.9 kB / 3.055 GB, free: 108.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/8.68, allocations: 4 kB / 3.055 GB, free: 108.8 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01058/8.691, allocations: 3.521 MB / 3.058 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.524e-05/8.691, allocations: 16 kB / 3.058 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.694e-05/8.691, allocations: 36 kB / 3.058 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008163/8.699, allocations: 0.792 MB / 3.059 GB, free: 104.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.687e-05/8.699, allocations: 47.86 kB / 3.059 GB, free: 104.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006034/8.705, allocations: 346.2 kB / 3.059 GB, free: 104 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009637/8.706, allocations: 143.9 kB / 3.06 GB, free: 103.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (348): * Single equations (assignments): 346 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001138/8.707, allocations: 274.8 kB / 3.06 GB, free: 103.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008847/8.708, allocations: 229.2 kB / 3.06 GB, free: 103.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/8.722, allocations: 4.082 MB / 3.064 GB, free: 99.19 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/8.722, allocations: 28 kB / 3.064 GB, free: 99.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/8.722, allocations: 8 kB / 3.064 GB, free: 99.15 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.628e-05/8.722, allocations: 11.95 kB / 3.064 GB, free: 99.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02342/8.745, allocations: 9.021 MB / 3.073 GB, free: 89.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/8.745, allocations: 4 kB / 3.073 GB, free: 89.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008358/8.754, allocations: 0.7842 MB / 3.074 GB, free: 89.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.963e-05/8.754, allocations: 16 kB / 3.074 GB, free: 89.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007461/8.755, allocations: 71.94 kB / 3.074 GB, free: 89.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.937e-05/8.755, allocations: 15.94 kB / 3.074 GB, free: 89.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/8.755, allocations: 4 kB / 3.074 GB, free: 89.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/8.765, allocations: 3.985 MB / 3.078 GB, free: 84.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002932/8.768, allocations: 0.8172 MB / 3.078 GB, free: 84.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001172/8.769, allocations: 51.95 kB / 3.078 GB, free: 84.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00603/8.775, allocations: 299.6 kB / 3.079 GB, free: 83.71 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007963/8.776, allocations: 149.9 kB / 3.079 GB, free: 83.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004948/8.776, allocations: 99.94 kB / 3.079 GB, free: 83.47 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002802/8.779, allocations: 1.218 MB / 3.08 GB, free: 82.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.31e-07/8.779, allocations: 0 / 3.08 GB, free: 82.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008395/8.788, allocations: 1.386 MB / 3.082 GB, free: 80.84 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01247/8.8, allocations: 5.703 MB / 3.087 GB, free: 75.12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01551/8.816, allocations: 5.695 MB / 3.093 GB, free: 69.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/8.816, allocations: 4 kB / 3.093 GB, free: 69.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004963/8.821, allocations: 1.781 MB / 3.094 GB, free: 67.55 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005052/8.826, allocations: 0.5185 MB / 3.095 GB, free: 67.04 MB / 0.7761 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/8.848, allocations: 7.039 MB / 3.102 GB, free: 59.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004031/8.852, allocations: 2.679 MB / 3.104 GB, free: 57.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0125/8.865, allocations: 1.412 MB / 3.106 GB, free: 55.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004655/8.87, allocations: 1.542 MB / 3.107 GB, free: 54.25 MB / 0.7761 GB Notification: Performance of SimCode: time 1.162e-06/8.87, allocations: 0 / 3.107 GB, free: 54.25 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.118/9.988, allocations: 68.87 MB / 3.175 GB, free: 216.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/9.988, allocations: 222.1 kB / 3.175 GB, free: 216.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.084/15.07, allocations: 0 / 3.175 GB, free: 216.1 MB / 0.7761 GB