Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.742/3.742, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.564e-05/4.58e-05, allocations: 10.91 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6018/0.6019, allocations: 92.68 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2987/0.9007, allocations: 173.8 MB / 0.7593 GB, free: 444 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003842/0.9011, allocations: 99.88 kB / 0.7594 GB, free: 344 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7472/1.648, allocations: 63.17 MB / 0.8211 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.345e-06/1.648, allocations: 3.938 kB / 0.8211 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001219/1.649, allocations: 34.34 kB / 0.8212 GB, free: 146.1 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.005574/1.654, allocations: 1.552 MB / 0.8227 GB, free: 144.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.654, allocations: 11.97 kB / 0.8227 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009335/1.655, allocations: 244.2 kB / 0.8229 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004373/1.66, allocations: 0.491 MB / 0.8234 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/1.663, allocations: 1.148 MB / 0.8245 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/1.663, allocations: 107.1 kB / 0.8246 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005546/1.664, allocations: 155.9 kB / 0.8248 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005933/1.67, allocations: 2.435 MB / 0.8271 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-05/1.67, allocations: 12 kB / 0.8272 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/1.67, allocations: 56 kB / 0.8272 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/1.67, allocations: 94.95 kB / 0.8273 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004972/1.675, allocations: 1.972 MB / 0.8292 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/1.692, allocations: 8.022 MB / 0.8371 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/1.693, allocations: 0.5493 MB / 0.8376 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007695/1.694, allocations: 376.7 kB / 0.838 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/1.694, allocations: 89.09 kB / 0.838 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.694, allocations: 46.52 kB / 0.8381 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 2.865e-06/1.694, allocations: 0 / 0.8381 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.02419/1.718, allocations: 4.793 MB / 0.8428 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/1.718, allocations: 81.55 kB / 0.8428 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/1.72, allocations: 0.804 MB / 0.8436 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/1.72, allocations: 37.7 kB / 0.8437 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/1.721, allocations: 0.7499 MB / 0.8444 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/1.721, allocations: 189.4 kB / 0.8446 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/1.721, allocations: 12 kB / 0.8446 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.721, allocations: 390.8 kB / 0.845 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/1.722, allocations: 0.5915 MB / 0.8455 GB, free: 120.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/1.724, allocations: 0.9644 MB / 0.8465 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/1.725, allocations: 0.7721 MB / 0.8472 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.725, allocations: 0 / 0.8472 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01062/1.736, allocations: 2.773 MB / 0.8499 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009175/1.737, allocations: 4.534 MB / 0.8544 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/1.737, allocations: 15.95 kB / 0.8544 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009023/1.746, allocations: 1.419 MB / 0.8558 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/1.748, allocations: 231.5 kB / 0.856 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/1.759, allocations: 6.824 MB / 0.8627 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/1.761, allocations: 159.8 kB / 0.8628 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/1.761, allocations: 40 kB / 0.8629 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.761, allocations: 8.062 kB / 0.8629 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008246/1.77, allocations: 2.247 MB / 0.8651 GB, free: 99.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.304e-05/1.77, allocations: 12 kB / 0.8651 GB, free: 99.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005343/1.775, allocations: 0.8679 MB / 0.8659 GB, free: 98.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/1.777, allocations: 259.5 kB / 0.8662 GB, free: 98.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009811/1.787, allocations: 5.372 MB / 0.8714 GB, free: 92.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.789, allocations: 135.8 kB / 0.8715 GB, free: 92.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.789, allocations: 43.98 kB / 0.8716 GB, free: 92.7 MB / 0.6511 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.0003444/1.789, allocations: 156.7 kB / 0.8717 GB, free: 92.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/1.789, allocations: 79.06 kB / 0.8718 GB, free: 92.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009838/1.799, allocations: 2.321 MB / 0.8741 GB, free: 90.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.799, allocations: 4 kB / 0.8741 GB, free: 90.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/1.799, allocations: 0 / 0.8741 GB, free: 90.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/1.799, allocations: 7.984 kB / 0.8741 GB, free: 90.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/1.813, allocations: 4.163 MB / 0.8781 GB, free: 85.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.813, allocations: 4 kB / 0.8782 GB, free: 85.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007722/1.814, allocations: 99.84 kB / 0.8782 GB, free: 85.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008552/1.823, allocations: 1.369 MB / 0.8796 GB, free: 84.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/1.823, allocations: 8 kB / 0.8796 GB, free: 84.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/1.839, allocations: 9.493 MB / 0.8889 GB, free: 74.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.839, allocations: 7.984 kB / 0.8889 GB, free: 74.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009483/1.849, allocations: 2.365 MB / 0.8912 GB, free: 71.85 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008759/1.849, allocations: 292 kB / 0.8915 GB, free: 71.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/1.85, allocations: 11.98 kB / 0.8915 GB, free: 71.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.851, allocations: 119.8 kB / 0.8916 GB, free: 71.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/1.851, allocations: 47.88 kB / 0.8916 GB, free: 71.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/1.851, allocations: 16 kB / 0.8916 GB, free: 71.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001171/1.853, allocations: 0.6279 MB / 0.8923 GB, free: 70.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.01e-07/1.853, allocations: 0 / 0.8923 GB, free: 70.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002864/1.856, allocations: 0.5976 MB / 0.8928 GB, free: 70.14 MB / 0.6511 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.01023/1.866, allocations: 3.562 MB / 0.8963 GB, free: 66.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007742/1.874, allocations: 2.955 MB / 0.8992 GB, free: 63.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.874, allocations: 0 / 0.8992 GB, free: 63.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002725/1.876, allocations: 1.233 MB / 0.9004 GB, free: 62.19 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/1.878, allocations: 227.6 kB / 0.9006 GB, free: 61.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009279/1.887, allocations: 3.102 MB / 0.9037 GB, free: 58.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/1.889, allocations: 1.642 MB / 0.9053 GB, free: 57.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00268/1.892, allocations: 0.5918 MB / 0.9058 GB, free: 56.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.893, allocations: 479.3 kB / 0.9063 GB, free: 56.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/1.893, allocations: 0 / 0.9063 GB, free: 56.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09128/1.984, allocations: 34.36 MB / 0.9398 GB, free: 21.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/1.985, allocations: 217.2 kB / 0.9401 GB, free: 21.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.255/5.239, allocations: 64 / 0.9401 GB, free: 21.7 MB / 0.6511 GB