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={"static"}) Notification: Performance of loadModel(Buildings): time 3.756/3.756, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.866e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5954/0.5954, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.72/7.315, allocations: 2.213 GB / 2.802 GB, free: 49.31 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/7.316, allocations: 97.44 kB / 2.802 GB, free: 49.26 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.135/8.451, allocations: 157.1 MB / 2.956 GB, free: 212.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.974e-06/8.451, allocations: 3.938 kB / 2.956 GB, free: 212.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003056/8.452, allocations: 91.94 kB / 2.956 GB, free: 212.2 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.01378/8.465, allocations: 3.444 MB / 2.959 GB, free: 208.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/8.466, allocations: 12.03 kB / 2.959 GB, free: 208.7 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002445/8.468, allocations: 0.5513 MB / 2.96 GB, free: 208.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02136/8.489, allocations: 1.826 MB / 2.962 GB, free: 206.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007003/8.496, allocations: 2.132 MB / 2.964 GB, free: 204.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/8.497, allocations: 299.9 kB / 2.964 GB, free: 203.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002105/8.499, allocations: 388 kB / 2.964 GB, free: 203.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/8.518, allocations: 5.528 MB / 2.97 GB, free: 197.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/8.518, allocations: 11.84 kB / 2.97 GB, free: 197.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001556/8.52, allocations: 168 kB / 2.97 GB, free: 197.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002658/8.52, allocations: 194.9 kB / 2.97 GB, free: 197.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01694/8.537, allocations: 5.35 MB / 2.975 GB, free: 192 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05258/8.59, allocations: 19.03 MB / 2.994 GB, free: 172.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009928/8.6, allocations: 3.525 MB / 2.997 GB, free: 169 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004309/8.604, allocations: 1.625 MB / 2.999 GB, free: 167.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/8.605, allocations: 0.5112 MB / 2.999 GB, free: 166.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005084/8.61, allocations: 1.827 MB / 3.001 GB, free: 164.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=240): time 6.993e-06/8.61, allocations: 0 / 3.001 GB, free: 164.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=243): time 0.01393/8.624, allocations: 5.06 MB / 3.006 GB, free: 159.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/8.624, allocations: 364.4 kB / 3.006 GB, free: 159.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003038/8.628, allocations: 1.419 MB / 3.008 GB, free: 158 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0008549/8.628, allocations: 69.7 kB / 3.008 GB, free: 157.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/8.63, allocations: 1.551 MB / 3.009 GB, free: 156.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.00143/8.632, allocations: 0.8009 MB / 3.01 GB, free: 155.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004228/8.632, allocations: 52 kB / 3.01 GB, free: 155.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001936/8.632, allocations: 411.4 kB / 3.011 GB, free: 155 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00375/8.636, allocations: 1.333 MB / 3.012 GB, free: 153.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004714/8.641, allocations: 2.037 MB / 3.014 GB, free: 151.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004757/8.646, allocations: 1.661 MB / 3.016 GB, free: 149.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.082e-05/8.646, allocations: 4 kB / 3.016 GB, free: 149.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01158/8.657, allocations: 3.798 MB / 3.019 GB, free: 145.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.00146/8.659, allocations: 7.129 MB / 3.026 GB, free: 138.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-05/8.659, allocations: 23.98 kB / 3.026 GB, free: 138.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.653e-05/8.659, allocations: 35.95 kB / 3.026 GB, free: 138.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008658/8.668, allocations: 0.8112 MB / 3.027 GB, free: 137.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.632e-05/8.668, allocations: 39.86 kB / 3.027 GB, free: 137.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006259/8.674, allocations: 390 kB / 3.028 GB, free: 136.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009605/8.675, allocations: 139.9 kB / 3.028 GB, free: 136.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/8.675, allocations: 4 kB / 3.028 GB, free: 136.8 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01036/8.685, allocations: 3.382 MB / 3.031 GB, free: 133.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.498e-05/8.685, allocations: 23.94 kB / 3.031 GB, free: 133.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.588e-05/8.685, allocations: 32 kB / 3.031 GB, free: 133.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008103/8.694, allocations: 0.7765 MB / 3.032 GB, free: 132.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.187e-05/8.694, allocations: 39.86 kB / 3.032 GB, free: 132.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00586/8.7, allocations: 334.3 kB / 3.032 GB, free: 132.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000943/8.701, allocations: 143.9 kB / 3.032 GB, free: 132 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.001075/8.702, allocations: 268.1 kB / 3.033 GB, free: 131.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009762/8.703, allocations: 217.3 kB / 3.033 GB, free: 131.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/8.717, allocations: 3.682 MB / 3.036 GB, free: 127.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/8.718, allocations: 32 kB / 3.036 GB, free: 127.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/8.718, allocations: 0 / 3.036 GB, free: 127.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.466e-05/8.718, allocations: 11.95 kB / 3.036 GB, free: 127.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/8.738, allocations: 8.159 MB / 3.044 GB, free: 119.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/8.738, allocations: 0 / 3.044 GB, free: 119.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007829/8.746, allocations: 0.7257 MB / 3.045 GB, free: 118.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.19e-05/8.746, allocations: 12 kB / 3.045 GB, free: 118.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006737/8.747, allocations: 67.94 kB / 3.045 GB, free: 118.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.861e-05/8.747, allocations: 12 kB / 3.045 GB, free: 118.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/8.747, allocations: 7.938 kB / 3.045 GB, free: 118.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0086/8.756, allocations: 3.611 MB / 3.049 GB, free: 114.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/8.758, allocations: 0.7667 MB / 3.049 GB, free: 114.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007409/8.759, allocations: 44 kB / 3.049 GB, free: 114.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006097/8.765, allocations: 271.7 kB / 3.05 GB, free: 113.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006297/8.766, allocations: 157.8 kB / 3.05 GB, free: 113.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004002/8.766, allocations: 87.94 kB / 3.05 GB, free: 113.6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002407/8.768, allocations: 1.159 MB / 3.051 GB, free: 112.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.71e-07/8.768, allocations: 0 / 3.051 GB, free: 112.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.006582/8.775, allocations: 1.304 MB / 3.052 GB, free: 111.1 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.01087/8.786, allocations: 5.325 MB / 3.058 GB, free: 105.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01319/8.799, allocations: 5.306 MB / 3.063 GB, free: 100.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/8.799, allocations: 8.062 kB / 3.063 GB, free: 100.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003899/8.803, allocations: 1.592 MB / 3.064 GB, free: 98.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/8.807, allocations: 455.9 kB / 3.065 GB, free: 98.34 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.01912/8.826, allocations: 6.403 MB / 3.071 GB, free: 91.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003047/8.83, allocations: 2.49 MB / 3.073 GB, free: 89.35 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01067/8.84, allocations: 1.395 MB / 3.075 GB, free: 87.95 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004111/8.844, allocations: 1.413 MB / 3.076 GB, free: 86.54 MB / 0.7761 GB Notification: Performance of SimCode: time 1.753e-06/8.844, allocations: 0 / 3.076 GB, free: 86.54 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4956/9.34, allocations: 63.67 MB / 3.138 GB, free: 23.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/9.34, allocations: 220.3 kB / 3.139 GB, free: 22.98 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.247/14.59, allocations: 0 / 3.139 GB, free: 22.98 MB / 0.7761 GB