Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.562/4.562, allocations: 404.1 MB / 411.3 MB, free: 356 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.845e-05, allocations: 4 kB / 0.4945 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7223/0.7224, allocations: 92.68 MB / 0.5851 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.931/8.654, allocations: 2.212 GB / 2.797 GB, free: 76.89 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003947/8.654, allocations: 106.3 kB / 2.797 GB, free: 76.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.42/10.07, allocations: 155.8 MB / 2.949 GB, free: 239.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.234e-06/10.07, allocations: 0 / 2.949 GB, free: 239.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003393/10.07, allocations: 99.38 kB / 2.949 GB, free: 239.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: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.01539/10.09, allocations: 3.44 MB / 2.953 GB, free: 236.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/10.09, allocations: 12.02 kB / 2.953 GB, free: 236.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02458/10.11, allocations: 1.832 MB / 2.955 GB, free: 235 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00753/10.12, allocations: 2.12 MB / 2.957 GB, free: 232.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/10.12, allocations: 134.1 kB / 2.957 GB, free: 232.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002045/10.12, allocations: 224.3 kB / 2.957 GB, free: 232.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01737/10.14, allocations: 4.927 MB / 2.962 GB, free: 227.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0204/10.16, allocations: 4.979 MB / 2.967 GB, free: 222.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001947/10.16, allocations: 8.594 kB / 2.967 GB, free: 222.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001474/10.16, allocations: 7.984 kB / 2.967 GB, free: 222.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003001/10.16, allocations: 190.9 kB / 2.967 GB, free: 222.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05482/10.22, allocations: 18.11 MB / 2.985 GB, free: 204.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009687/10.23, allocations: 3.405 MB / 2.988 GB, free: 200.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004366/10.23, allocations: 1.555 MB / 2.989 GB, free: 199.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/10.23, allocations: 0.5146 MB / 2.99 GB, free: 198.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005072/10.24, allocations: 1.745 MB / 2.992 GB, free: 196.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=240): time 7.765e-06/10.24, allocations: 0 / 2.992 GB, free: 196.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=243): time 0.03239/10.27, allocations: 6.245 MB / 2.998 GB, free: 190.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/10.27, allocations: 368.4 kB / 2.998 GB, free: 190 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/10.28, allocations: 1.262 MB / 2.999 GB, free: 188.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/10.28, allocations: 29.7 kB / 2.999 GB, free: 188.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002217/10.28, allocations: 1.554 MB / 3.001 GB, free: 187.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.00174/10.28, allocations: 0.7736 MB / 3.002 GB, free: 186.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005709/10.28, allocations: 0 / 3.002 GB, free: 186.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002616/10.28, allocations: 411.5 kB / 3.002 GB, free: 185.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003983/10.29, allocations: 1.282 MB / 3.003 GB, free: 184.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004627/10.29, allocations: 1.969 MB / 3.005 GB, free: 182.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02195/10.31, allocations: 2.896 MB / 3.008 GB, free: 179.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.499e-05/10.31, allocations: 8 kB / 3.008 GB, free: 179.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.02901/10.34, allocations: 4.846 MB / 3.013 GB, free: 174.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001548/10.34, allocations: 7.089 MB / 3.02 GB, free: 167 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.959e-05/10.34, allocations: 20 kB / 3.02 GB, free: 167 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.902e-05/10.34, allocations: 32 kB / 3.02 GB, free: 166.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009774/10.35, allocations: 0.8112 MB / 3.02 GB, free: 166.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.516e-05/10.35, allocations: 47.86 kB / 3.021 GB, free: 166.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006763/10.36, allocations: 322.2 kB / 3.021 GB, free: 165.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009202/10.36, allocations: 139.8 kB / 3.021 GB, free: 165.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/10.36, allocations: 4 kB / 3.021 GB, free: 165.6 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02727/10.39, allocations: 4.389 MB / 3.025 GB, free: 161.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.944e-05/10.39, allocations: 19.94 kB / 3.025 GB, free: 161.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.609e-05/10.39, allocations: 39.95 kB / 3.025 GB, free: 161.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009193/10.4, allocations: 0.769 MB / 3.026 GB, free: 160.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.159e-05/10.4, allocations: 43.86 kB / 3.026 GB, free: 160.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006447/10.4, allocations: 286.2 kB / 3.026 GB, free: 160 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009965/10.41, allocations: 135.9 kB / 3.026 GB, free: 159.9 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (338): * Single equations (assignments): 336 * 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.001218/10.41, allocations: 179.2 kB / 3.027 GB, free: 159.7 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.027/10.43, allocations: 4.231 MB / 3.031 GB, free: 155.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/10.43, allocations: 213.4 kB / 3.031 GB, free: 155.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.031/10.47, allocations: 4.831 MB / 3.036 GB, free: 150.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/10.47, allocations: 24 kB / 3.036 GB, free: 150.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/10.47, allocations: 0 / 3.036 GB, free: 150.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.735e-05/10.47, allocations: 15.95 kB / 3.036 GB, free: 150.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03818/10.5, allocations: 8.61 MB / 3.044 GB, free: 141.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/10.5, allocations: 0 / 3.044 GB, free: 141.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009394/10.51, allocations: 0.7255 MB / 3.045 GB, free: 141 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.675e-05/10.51, allocations: 12 kB / 3.045 GB, free: 141 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005932/10.51, allocations: 39.94 kB / 3.045 GB, free: 141 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.927e-05/10.51, allocations: 19.94 kB / 3.045 GB, free: 141 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/10.51, allocations: 8 kB / 3.045 GB, free: 140.9 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02679/10.54, allocations: 4.796 MB / 3.05 GB, free: 136 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/10.54, allocations: 0.7588 MB / 3.05 GB, free: 135.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000875/10.54, allocations: 7.938 kB / 3.05 GB, free: 135.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006269/10.55, allocations: 227.7 kB / 3.051 GB, free: 135 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006282/10.55, allocations: 153.7 kB / 3.051 GB, free: 134.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004502/10.55, allocations: 95.94 kB / 3.051 GB, free: 134.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002343/10.55, allocations: 1.004 MB / 3.052 GB, free: 133.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.81e-07/10.55, allocations: 4 kB / 3.052 GB, free: 133.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00737/10.56, allocations: 1.148 MB / 3.053 GB, free: 132.6 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 (258): * Single equations (assignments): 256 * 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.02955/10.59, allocations: 6.472 MB / 3.059 GB, free: 126.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01435/10.61, allocations: 5.087 MB / 3.064 GB, free: 121.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/10.61, allocations: 11.97 kB / 3.064 GB, free: 121.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004402/10.61, allocations: 1.534 MB / 3.066 GB, free: 119.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005086/10.62, allocations: 414.2 kB / 3.066 GB, free: 119.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03235/10.65, allocations: 6.159 MB / 3.072 GB, free: 112.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007382/10.66, allocations: 2.49 MB / 3.075 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.02046/10.68, allocations: 1.377 MB / 3.076 GB, free: 109 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007325/10.68, allocations: 1.409 MB / 3.077 GB, free: 107.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.773e-06/10.68, allocations: 3.938 kB / 3.077 GB, free: 107.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.02/13.7, allocations: 60.82 MB / 3.137 GB, free: 47.09 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002706/13.7, allocations: 204 kB / 3.137 GB, free: 46.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.676/19.38, allocations: 0 / 3.137 GB, free: 46.8 MB / 0.7761 GB