Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.265/4.265, allocations: 464.6 MB / 476.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.535e-05, allocations: 4 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.23, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9226/1.153, allocations: 185.6 MB / 0.8591 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/1.153, allocations: 103.2 kB / 0.8592 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2551/1.408, allocations: 63.75 MB / 0.9214 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.134e-06/1.408, allocations: 0 / 0.9214 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001412/1.408, allocations: 35.98 kB / 0.9214 GB, free: 12.31 MB / 0.7136 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.005971/1.414, allocations: 1.56 MB / 0.923 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/1.414, allocations: 12.03 kB / 0.923 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009741/1.415, allocations: 257.8 kB / 0.9232 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00455/1.42, allocations: 0.4885 MB / 0.9237 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003821/1.424, allocations: 1.145 MB / 0.9248 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/1.424, allocations: 112.5 kB / 0.9249 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006517/1.425, allocations: 160.7 kB / 0.9251 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007591/1.432, allocations: 2.408 MB / 0.9274 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.662e-05/1.432, allocations: 11.84 kB / 0.9274 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/1.433, allocations: 60 kB / 0.9275 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/1.433, allocations: 87.06 kB / 0.9276 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006383/1.439, allocations: 1.954 MB / 0.9295 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02124/1.46, allocations: 10.51 MB / 0.9398 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/1.462, allocations: 0.5607 MB / 0.9403 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009373/1.463, allocations: 372.7 kB / 0.9407 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/1.463, allocations: 93.08 kB / 0.9407 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/1.463, allocations: 42.56 kB / 0.9408 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=36): time 3.166e-06/1.463, allocations: 0 / 0.9408 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.02691/1.49, allocations: 4.782 MB / 0.9455 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/1.49, allocations: 85.48 kB / 0.9455 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/1.492, allocations: 0.8001 MB / 0.9463 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/1.492, allocations: 37.7 kB / 0.9464 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006909/1.493, allocations: 0.7538 MB / 0.9471 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/1.493, allocations: 189.4 kB / 0.9473 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/1.494, allocations: 16 kB / 0.9473 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002229/1.494, allocations: 390.7 kB / 0.9477 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.495, allocations: 0.5993 MB / 0.9482 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/1.497, allocations: 0.9469 MB / 0.9492 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/1.499, allocations: 0.776 MB / 0.9499 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/1.499, allocations: 4 kB / 0.9499 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01197/1.511, allocations: 2.742 MB / 0.9526 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001758/1.513, allocations: 4.531 MB / 0.957 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/1.513, allocations: 12 kB / 0.957 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009665/1.523, allocations: 1.419 MB / 0.9584 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/1.525, allocations: 227.6 kB / 0.9586 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.538, allocations: 6.804 MB / 0.9653 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/1.54, allocations: 167.6 kB / 0.9655 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/1.54, allocations: 44.06 kB / 0.9655 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.54, allocations: 8 kB / 0.9655 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009145/1.55, allocations: 2.216 MB / 0.9677 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.318e-05/1.55, allocations: 15.94 kB / 0.9677 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005882/1.556, allocations: 0.8681 MB / 0.9685 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/1.558, allocations: 259.5 kB / 0.9688 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.569, allocations: 5.356 MB / 0.974 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/1.571, allocations: 139.8 kB / 0.9741 GB, free: 4.957 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/1.571, allocations: 47.98 kB / 0.9742 GB, free: 4.91 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.0003794/1.571, allocations: 160.6 kB / 0.9743 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/1.572, allocations: 83.02 kB / 0.9744 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.582, allocations: 2.321 MB / 0.9767 GB, free: 2.316 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/1.582, allocations: 4 kB / 0.9767 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.583, allocations: 8 kB / 0.9767 GB, free: 2.305 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/1.583, allocations: 0 / 0.9767 GB, free: 2.305 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/1.598, allocations: 4.235 MB / 0.9808 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.598, allocations: 0 / 0.9808 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008566/1.599, allocations: 95.86 kB / 0.9809 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01038/1.609, allocations: 1.373 MB / 0.9823 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002134/1.609, allocations: 16 kB / 0.9823 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02792/1.637, allocations: 9.477 MB / 0.9915 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.637, allocations: 3.938 kB / 0.9915 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/1.652, allocations: 2.369 MB / 0.9939 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.654, allocations: 284.1 kB / 0.9941 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003423/1.654, allocations: 8 kB / 0.9941 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/1.656, allocations: 119.8 kB / 0.9942 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/1.657, allocations: 55.83 kB / 0.9943 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/1.657, allocations: 16 kB / 0.9943 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002136/1.659, allocations: 0.6279 MB / 0.9949 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.32e-07/1.659, allocations: 0 / 0.9949 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005616/1.665, allocations: 0.6132 MB / 0.9955 GB, free: 14.23 MB / 0.7917 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.01759/1.682, allocations: 3.57 MB / 0.999 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01304/1.695, allocations: 2.895 MB / 1.002 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/1.696, allocations: 4 kB / 1.002 GB, free: 7.633 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004661/1.7, allocations: 1.194 MB / 1.003 GB, free: 6.398 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/1.703, allocations: 220.6 kB / 1.003 GB, free: 6.184 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.716, allocations: 2.894 MB / 1.006 GB, free: 3.219 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003883/1.72, allocations: 1.646 MB / 1.008 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004551/1.725, allocations: 0.5918 MB / 1.008 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/1.727, allocations: 483.3 kB / 1.009 GB, free: 488 kB / 0.7917 GB Notification: Performance of SimCode: time 1.673e-06/1.727, allocations: 0 / 1.009 GB, free: 488 kB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1255/1.852, allocations: 34 MB / 1.042 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003737/1.853, allocations: 207.8 kB / 1.042 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.407/5.26, allocations: 7.938 kB / 1.042 GB, free: 14.48 MB / 0.8386 GB