Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.351/4.351, allocations: 460.5 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.108e-05/4.104e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.246, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9588/1.205, allocations: 185.2 MB / 0.8528 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003649/1.205, allocations: 95.44 kB / 0.8529 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2584/1.464, allocations: 63.74 MB / 0.9151 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/1.464, allocations: 0 / 0.9151 GB, free: 5.684 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001312/1.464, allocations: 35.98 kB / 0.9151 GB, free: 5.648 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.0058/1.47, allocations: 1.565 MB / 0.9167 GB, free: 4.125 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/1.47, allocations: 8.031 kB / 0.9167 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009984/1.471, allocations: 250.1 kB / 0.9169 GB, free: 3.957 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004586/1.475, allocations: 0.4924 MB / 0.9174 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/1.479, allocations: 1.142 MB / 0.9185 GB, free: 2.543 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/1.479, allocations: 116.1 kB / 0.9186 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006601/1.48, allocations: 154.9 kB / 0.9188 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00825/1.488, allocations: 2.415 MB / 0.9211 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.176e-05/1.489, allocations: 7.906 kB / 0.9211 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004427/1.489, allocations: 64 kB / 0.9212 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000218/1.489, allocations: 83.06 kB / 0.9213 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008681/1.498, allocations: 1.958 MB / 0.9232 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0309/1.529, allocations: 10.51 MB / 0.9335 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/1.531, allocations: 0.5492 MB / 0.934 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009749/1.532, allocations: 372.7 kB / 0.9343 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/1.533, allocations: 93.08 kB / 0.9344 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.533, allocations: 42.56 kB / 0.9345 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 3.467e-06/1.533, allocations: 0 / 0.9345 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.0265/1.559, allocations: 4.782 MB / 0.9391 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/1.559, allocations: 85.5 kB / 0.9392 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/1.561, allocations: 0.804 MB / 0.94 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001852/1.561, allocations: 33.7 kB / 0.94 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007566/1.562, allocations: 0.7577 MB / 0.9408 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/1.563, allocations: 185.4 kB / 0.941 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/1.563, allocations: 20 kB / 0.941 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002596/1.563, allocations: 394.7 kB / 0.9414 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/1.565, allocations: 0.5915 MB / 0.9419 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/1.566, allocations: 0.9547 MB / 0.9429 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/1.568, allocations: 0.7682 MB / 0.9436 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/1.568, allocations: 4 kB / 0.9436 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01194/1.58, allocations: 2.742 MB / 0.9463 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002024/1.582, allocations: 4.535 MB / 0.9507 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-05/1.582, allocations: 12 kB / 0.9507 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009449/1.592, allocations: 1.431 MB / 0.9521 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.594, allocations: 223.6 kB / 0.9523 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/1.607, allocations: 6.808 MB / 0.959 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/1.61, allocations: 163.7 kB / 0.9592 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/1.61, allocations: 43.98 kB / 0.9592 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.61, allocations: 11.88 kB / 0.9592 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008993/1.619, allocations: 2.212 MB / 0.9614 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.836e-05/1.619, allocations: 12 kB / 0.9614 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005643/1.625, allocations: 0.8603 MB / 0.9622 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/1.627, allocations: 259.5 kB / 0.9625 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/1.638, allocations: 5.372 MB / 0.9677 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.64, allocations: 131.7 kB / 0.9678 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/1.64, allocations: 44 kB / 0.9679 GB, free: 14.59 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003958/1.641, allocations: 168.7 kB / 0.968 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/1.641, allocations: 75.16 kB / 0.9681 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.651, allocations: 2.317 MB / 0.9704 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/1.652, allocations: 4 kB / 0.9704 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/1.652, allocations: 7.984 kB / 0.9704 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/1.652, allocations: 0 / 0.9704 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/1.667, allocations: 4.243 MB / 0.9745 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/1.667, allocations: 4 kB / 0.9745 GB, free: 7.629 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008622/1.668, allocations: 104.1 kB / 0.9746 GB, free: 7.527 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009055/1.677, allocations: 1.365 MB / 0.976 GB, free: 6.148 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/1.677, allocations: 15.94 kB / 0.976 GB, free: 6.133 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/1.696, allocations: 9.481 MB / 0.9852 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/1.696, allocations: 8 kB / 0.9852 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/1.707, allocations: 2.365 MB / 0.9876 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009413/1.708, allocations: 284 kB / 0.9878 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/1.708, allocations: 19.98 kB / 0.9878 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.709, allocations: 119.8 kB / 0.988 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003146/1.71, allocations: 43.88 kB / 0.988 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/1.71, allocations: 16 kB / 0.988 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001483/1.711, allocations: 0.6279 MB / 0.9886 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.72e-07/1.711, allocations: 4 kB / 0.9886 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003582/1.715, allocations: 0.6131 MB / 0.9892 GB, free: 7.91 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01164/1.727, allocations: 3.562 MB / 0.9927 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.009248/1.736, allocations: 2.893 MB / 0.9955 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.736, allocations: 0 / 0.9955 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003309/1.739, allocations: 1.204 MB / 0.9967 GB, free: 72 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/1.741, allocations: 209.4 kB / 0.9969 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009863/1.751, allocations: 2.891 MB / 0.9997 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002672/1.754, allocations: 1.646 MB / 1.001 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003031/1.757, allocations: 0.5998 MB / 1.002 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/1.758, allocations: 483.3 kB / 1.002 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of SimCode: time 1.192e-06/1.758, allocations: 0 / 1.002 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.86, allocations: 34.01 MB / 1.036 GB, free: 8.375 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/1.86, allocations: 204 kB / 1.036 GB, free: 8.156 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.365/5.225, allocations: 1.719 kB / 1.036 GB, free: 8.156 MB / 0.823 GB