Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.078/4.078, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.733e-05/3.745e-05, allocations: 3.938 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2334, allocations: 98.72 MB / 0.6302 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9732/1.207, allocations: 178.2 MB / 0.8042 GB, free: 48.51 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/1.207, allocations: 96.97 kB / 0.8043 GB, free: 48.51 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2392/1.446, allocations: 63.73 MB / 0.8666 GB, free: 29.08 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.256e-06/1.446, allocations: 0 / 0.8666 GB, free: 29.08 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001452/1.447, allocations: 39.12 kB / 0.8666 GB, free: 29.07 MB / 0.6511 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.005931/1.452, allocations: 1.558 MB / 0.8681 GB, free: 28.09 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.453, allocations: 7.625 kB / 0.8681 GB, free: 28.09 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009453/1.453, allocations: 252.1 kB / 0.8684 GB, free: 28 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004621/1.458, allocations: 0.4906 MB / 0.8688 GB, free: 27.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003704/1.462, allocations: 1.152 MB / 0.87 GB, free: 27.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/1.462, allocations: 116.8 kB / 0.8701 GB, free: 27.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006595/1.463, allocations: 151.4 kB / 0.8702 GB, free: 27.29 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007394/1.47, allocations: 2.413 MB / 0.8726 GB, free: 26.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.78e-05/1.47, allocations: 11.25 kB / 0.8726 GB, free: 26.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003534/1.471, allocations: 59.09 kB / 0.8726 GB, free: 26.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/1.471, allocations: 83.41 kB / 0.8727 GB, free: 26.69 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006106/1.477, allocations: 1.959 MB / 0.8746 GB, free: 26.46 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02001/1.497, allocations: 10.52 MB / 0.8849 GB, free: 19.31 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/1.499, allocations: 0.5512 MB / 0.8854 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009009/1.5, allocations: 372.2 kB / 0.8858 GB, free: 19.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/1.5, allocations: 96.72 kB / 0.8859 GB, free: 19.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/1.5, allocations: 37.47 kB / 0.8859 GB, free: 19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.797e-06/1.5, allocations: 0 / 0.8859 GB, free: 19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.02546/1.525, allocations: 4.781 MB / 0.8906 GB, free: 17.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/1.525, allocations: 92.62 kB / 0.8907 GB, free: 17.14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/1.527, allocations: 0.8044 MB / 0.8915 GB, free: 16.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/1.527, allocations: 32.89 kB / 0.8915 GB, free: 16.86 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005779/1.528, allocations: 0.7525 MB / 0.8922 GB, free: 16.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/1.528, allocations: 194.5 kB / 0.8924 GB, free: 16.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/1.528, allocations: 17.94 kB / 0.8924 GB, free: 16.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.529, allocations: 388.5 kB / 0.8928 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/1.53, allocations: 0.5932 MB / 0.8934 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/1.532, allocations: 0.9584 MB / 0.8943 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/1.533, allocations: 0.7658 MB / 0.8951 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/1.533, allocations: 4.531 kB / 0.8951 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01099/1.544, allocations: 2.745 MB / 0.8978 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001091/1.546, allocations: 4.53 MB / 0.9022 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.136e-05/1.546, allocations: 12 kB / 0.9022 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009052/1.555, allocations: 1.419 MB / 0.9036 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.556, allocations: 227.5 kB / 0.9038 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/1.568, allocations: 6.808 MB / 0.9104 GB, free: 15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/1.571, allocations: 171.6 kB / 0.9106 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/1.571, allocations: 51.92 kB / 0.9107 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.571, allocations: 4 kB / 0.9107 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009601/1.58, allocations: 2.212 MB / 0.9128 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-05/1.581, allocations: 12 kB / 0.9128 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005893/1.586, allocations: 0.8642 MB / 0.9137 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/1.588, allocations: 251.5 kB / 0.9139 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.6, allocations: 5.368 MB / 0.9192 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/1.602, allocations: 139.7 kB / 0.9193 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/1.603, allocations: 39.98 kB / 0.9193 GB, free: 5.613 MB / 0.6667 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.0004184/1.603, allocations: 168.7 kB / 0.9195 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/1.603, allocations: 75.06 kB / 0.9196 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.615, allocations: 2.317 MB / 0.9218 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/1.615, allocations: 8 kB / 0.9218 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/1.615, allocations: 0 / 0.9218 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/1.615, allocations: 0 / 0.9218 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/1.634, allocations: 4.26 MB / 0.926 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/1.634, allocations: 4.25 kB / 0.926 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/1.636, allocations: 103.9 kB / 0.9261 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01103/1.647, allocations: 1.357 MB / 0.9274 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/1.647, allocations: 15.98 kB / 0.9274 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/1.668, allocations: 9.488 MB / 0.9367 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-05/1.668, allocations: 4.031 kB / 0.9367 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/1.683, allocations: 2.369 MB / 0.939 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.684, allocations: 284.1 kB / 0.9393 GB, free: 372 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003938/1.685, allocations: 15.95 kB / 0.9393 GB, free: 356 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.687, allocations: 119.8 kB / 0.9394 GB, free: 236 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004591/1.688, allocations: 43.88 kB / 0.9395 GB, free: 192 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/1.688, allocations: 20 kB / 0.9395 GB, free: 172 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002324/1.69, allocations: 0.6279 MB / 0.9401 GB, free: 15.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.01e-07/1.69, allocations: 4 kB / 0.9401 GB, free: 15.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005408/1.696, allocations: 0.6093 MB / 0.9407 GB, free: 14.93 MB / 0.698 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.01635/1.712, allocations: 3.58 MB / 0.9442 GB, free: 11.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01309/1.725, allocations: 2.895 MB / 0.947 GB, free: 8.332 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/1.725, allocations: 0 / 0.947 GB, free: 8.332 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004919/1.73, allocations: 1.198 MB / 0.9482 GB, free: 7.094 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.733, allocations: 215.2 kB / 0.9484 GB, free: 6.883 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/1.747, allocations: 2.894 MB / 0.9512 GB, free: 3.918 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004126/1.751, allocations: 1.646 MB / 0.9528 GB, free: 2.242 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004472/1.756, allocations: 0.592 MB / 0.9534 GB, free: 1.645 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001817/1.758, allocations: 483.3 kB / 0.9539 GB, free: 1.176 MB / 0.698 GB Notification: Performance of SimCode: time 2.645e-06/1.758, allocations: 4 kB / 0.9539 GB, free: 1.172 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/1.882, allocations: 34 MB / 0.9871 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/1.882, allocations: 207.9 kB / 0.9873 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.551/5.433, allocations: 0 / 0.9873 GB, free: 15.18 MB / 0.7448 GB