Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.448/4.448, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.873e-05, allocations: 4 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2365, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9479/1.184, allocations: 188.8 MB / 0.8622 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/1.185, allocations: 93.59 kB / 0.8623 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5961/1.781, allocations: 145.7 MB / 1.005 GB, free: 6.875 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.104e-06/1.781, allocations: 0 / 1.005 GB, free: 6.875 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003805/1.781, allocations: 103.9 kB / 1.005 GB, free: 6.773 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01338/1.795, allocations: 3.212 MB / 1.008 GB, free: 3.5 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.795, allocations: 12.03 kB / 1.008 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002393/1.797, allocations: 0.5302 MB / 1.008 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008486/1.806, allocations: 0.8186 MB / 1.009 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009585/1.815, allocations: 2.561 MB / 1.012 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/1.816, allocations: 283.1 kB / 1.012 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/1.818, allocations: 383.8 kB / 1.012 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/1.837, allocations: 5.59 MB / 1.018 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002478/1.837, allocations: 23.78 kB / 1.018 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001475/1.839, allocations: 160 kB / 1.018 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004129/1.839, allocations: 218.9 kB / 1.018 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/1.853, allocations: 3.977 MB / 1.022 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04944/1.903, allocations: 27.68 MB / 1.049 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002893/1.906, allocations: 1.063 MB / 1.05 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002356/1.908, allocations: 0.9935 MB / 1.051 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/1.908, allocations: 13 kB / 1.051 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/1.908, allocations: 43.56 kB / 1.051 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 4.018e-06/1.908, allocations: 0 / 1.051 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=131): time 0.04039/1.948, allocations: 7.977 MB / 1.059 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/1.949, allocations: 64.72 kB / 1.059 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/1.953, allocations: 1.262 MB / 1.06 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004161/1.953, allocations: 49.7 kB / 1.06 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002254/1.955, allocations: 1.659 MB / 1.062 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.956, allocations: 481.2 kB / 1.062 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/1.957, allocations: 32 kB / 1.062 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000301/1.957, allocations: 377.9 kB / 1.063 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003276/1.96, allocations: 0.8551 MB / 1.064 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003985/1.964, allocations: 1.436 MB / 1.065 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/1.968, allocations: 1.113 MB / 1.066 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.422e-05/1.969, allocations: 4 kB / 1.066 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01364/1.982, allocations: 3.142 MB / 1.069 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/1.982, allocations: 12 kB / 1.069 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.172e-05/1.982, allocations: 24 kB / 1.069 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00515/1.987, allocations: 0.7101 MB / 1.07 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004456/1.992, allocations: 391.4 kB / 1.07 GB, free: 196 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02812/2.02, allocations: 15.56 MB / 1.085 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/2.023, allocations: 99.91 kB / 1.086 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003395/2.023, allocations: 83.98 kB / 1.086 GB, free: 15.25 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005463/2.024, allocations: 218.7 kB / 1.086 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005755/2.024, allocations: 201.6 kB / 1.086 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008747/2.033, allocations: 2.71 MB / 1.089 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/2.033, allocations: 16 kB / 1.089 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/2.033, allocations: 8 kB / 1.089 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.518e-05/2.033, allocations: 7.969 kB / 1.089 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/2.052, allocations: 6.049 MB / 1.095 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/2.052, allocations: 4 kB / 1.095 GB, free: 5.832 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/2.055, allocations: 236.3 kB / 1.095 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00351/2.059, allocations: 0.6478 MB / 1.095 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003335/2.059, allocations: 35.98 kB / 1.095 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6423/2.701, allocations: 15.27 MB / 1.11 GB, free: 228 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-05/2.701, allocations: 5.75 kB / 1.11 GB, free: 228 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/2.713, allocations: 4.229 MB / 1.115 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/2.715, allocations: 450 kB / 1.115 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007637/2.715, allocations: 37.83 kB / 1.115 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/2.718, allocations: 79.12 kB / 1.115 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006158/2.718, allocations: 116.2 kB / 1.115 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/2.718, allocations: 40.17 kB / 1.115 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002476/2.721, allocations: 0.9543 MB / 1.116 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.02e-07/2.721, allocations: 0 / 1.116 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004173/2.725, allocations: 0.7035 MB / 1.117 GB, free: 226.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01219/2.737, allocations: 6.188 MB / 1.123 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008462/2.746, allocations: 3.28 MB / 1.126 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/2.746, allocations: 1.375 kB / 1.126 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005275/2.751, allocations: 2.151 MB / 1.128 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005094/2.756, allocations: 0.5795 MB / 1.129 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/2.777, allocations: 6.196 MB / 1.135 GB, free: 221 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006303/2.784, allocations: 2.731 MB / 1.137 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003108/2.787, allocations: 475.7 kB / 1.138 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003075/2.79, allocations: 1.281 MB / 1.139 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of SimCode: time 3.988e-06/2.79, allocations: 0 / 1.139 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1503/2.94, allocations: 53.84 MB / 1.192 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/2.941, allocations: 202.7 kB / 1.192 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/6.817, allocations: 0 / 1.192 GB, free: 217.8 MB / 0.8855 GB