Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.18/4.18, allocations: 464.6 MB / 476.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.949e-05, allocations: 4 kB / 0.5732 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2325, allocations: 107.1 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8887/1.121, allocations: 165.3 MB / 0.8393 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.122, allocations: 95.94 kB / 0.8394 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.8058/1.927, allocations: 201.3 MB / 1.036 GB, free: 6.039 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.354e-06/1.927, allocations: 0 / 1.036 GB, free: 6.039 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0005147/1.928, allocations: 144 kB / 1.036 GB, free: 5.898 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02148/1.949, allocations: 4.875 MB / 1.041 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.95, allocations: 8.031 kB / 1.041 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003918/1.953, allocations: 0.8214 MB / 1.042 GB, free: 124 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/1.964, allocations: 1.14 MB / 1.043 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/1.978, allocations: 3.693 MB / 1.046 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007175/1.979, allocations: 431.6 kB / 1.047 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002978/1.982, allocations: 0.5507 MB / 1.047 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02954/2.012, allocations: 8.642 MB / 1.056 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002217/2.012, allocations: 23.8 kB / 1.056 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001834/2.014, allocations: 256 kB / 1.056 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005012/2.014, allocations: 303 kB / 1.056 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0218/2.036, allocations: 6.218 MB / 1.062 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7747/2.811, allocations: 41.46 MB / 1.103 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008771/2.82, allocations: 3.047 MB / 1.106 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004994/2.825, allocations: 2.12 MB / 1.108 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000264/2.825, allocations: 30.98 kB / 1.108 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/2.825, allocations: 58.22 kB / 1.108 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=209): time 5.27e-06/2.825, allocations: 0 / 1.108 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=212): time 0.02031/2.845, allocations: 6.591 MB / 1.114 GB, free: 192.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/2.846, allocations: 74.31 kB / 1.115 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004617/2.85, allocations: 1.648 MB / 1.116 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005524/2.851, allocations: 64.91 kB / 1.116 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002286/2.853, allocations: 2.37 MB / 1.118 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/2.854, allocations: 0.7303 MB / 1.119 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/2.855, allocations: 52.91 kB / 1.119 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002307/2.855, allocations: 409.9 kB / 1.12 GB, free: 190.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003544/2.858, allocations: 1.292 MB / 1.121 GB, free: 190.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004492/2.863, allocations: 2.068 MB / 1.123 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004626/2.868, allocations: 1.67 MB / 1.125 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-05/2.868, allocations: 7.188 kB / 1.125 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01539/2.883, allocations: 4.855 MB / 1.129 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/2.883, allocations: 18.67 kB / 1.129 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-05/2.883, allocations: 26.3 kB / 1.129 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006592/2.89, allocations: 1.525 MB / 1.131 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003434/2.893, allocations: 443 kB / 1.131 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03191/2.925, allocations: 16.97 MB / 1.148 GB, free: 184.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003734/2.929, allocations: 145.6 kB / 1.148 GB, free: 184.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006282/2.93, allocations: 110.7 kB / 1.148 GB, free: 184.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 {(6,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007032/2.931, allocations: 266.9 kB / 1.148 GB, free: 184 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/2.932, allocations: 288.4 kB / 1.149 GB, free: 183.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/2.944, allocations: 4.397 MB / 1.153 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/2.944, allocations: 20.62 kB / 1.153 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.269e-05/2.944, allocations: 17.5 kB / 1.153 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.374e-05/2.944, allocations: 11.25 kB / 1.153 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02735/2.971, allocations: 9.594 MB / 1.162 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/2.971, allocations: 6.844 kB / 1.162 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/2.973, allocations: 233.5 kB / 1.163 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00559/2.979, allocations: 1.398 MB / 1.164 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004846/2.98, allocations: 39.25 kB / 1.164 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03069/3.01, allocations: 16.99 MB / 1.181 GB, free: 177.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/3.01, allocations: 8.969 kB / 1.181 GB, free: 177.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/3.022, allocations: 4.833 MB / 1.185 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/3.025, allocations: 0.6312 MB / 1.186 GB, free: 175 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001218/3.026, allocations: 45.14 kB / 1.186 GB, free: 175 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003266/3.029, allocations: 114.6 kB / 1.186 GB, free: 175 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000936/3.03, allocations: 179.2 kB / 1.186 GB, free: 175 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/3.031, allocations: 58.83 kB / 1.186 GB, free: 175 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002704/3.033, allocations: 1.242 MB / 1.187 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.022e-06/3.033, allocations: 0 / 1.187 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006315/3.04, allocations: 1.178 MB / 1.189 GB, free: 174.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01282/3.053, allocations: 6.556 MB / 1.195 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01157/3.064, allocations: 4.427 MB / 1.199 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/3.064, allocations: 6.5 kB / 1.199 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008128/3.072, allocations: 2.783 MB / 1.202 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006276/3.079, allocations: 0.757 MB / 1.203 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02798/3.107, allocations: 8.867 MB / 1.211 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008251/3.115, allocations: 3.787 MB / 1.215 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003349/3.119, allocations: 0.5429 MB / 1.216 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003848/3.122, allocations: 1.947 MB / 1.218 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.934e-06/3.122, allocations: 2.156 kB / 1.218 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1815/3.304, allocations: 81.32 MB / 1.297 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/3.304, allocations: 204 kB / 1.297 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.067/8.372, allocations: 3.906 kB / 1.297 GB, free: 127.9 MB / 0.8855 GB