Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.741/3.741, allocations: 403.3 MB / 415.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.729e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6037/0.6038, allocations: 92.69 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3158/0.9196, allocations: 178.5 MB / 0.764 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/0.92, allocations: 91.94 kB / 0.7641 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9016/1.822, allocations: 112.2 MB / 0.8736 GB, free: 92.33 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.954e-06/1.822, allocations: 4 kB / 0.8736 GB, free: 92.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002468/1.822, allocations: 75.92 kB / 0.8737 GB, free: 92.25 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01023/1.832, allocations: 2.661 MB / 0.8763 GB, free: 89.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.832, allocations: 8.031 kB / 0.8763 GB, free: 89.52 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001808/1.834, allocations: 462.3 kB / 0.8767 GB, free: 89.06 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006541/1.841, allocations: 0.6555 MB / 0.8774 GB, free: 88.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007137/1.848, allocations: 2.063 MB / 0.8794 GB, free: 86.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/1.848, allocations: 222 kB / 0.8796 GB, free: 86.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/1.85, allocations: 299.9 kB / 0.8799 GB, free: 85.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/1.863, allocations: 4.56 MB / 0.8843 GB, free: 80.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001815/1.864, allocations: 11.94 kB / 0.8843 GB, free: 80.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001162/1.865, allocations: 136 kB / 0.8845 GB, free: 80.81 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000277/1.865, allocations: 169.8 kB / 0.8846 GB, free: 80.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/1.877, allocations: 3.349 MB / 0.8879 GB, free: 77.28 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0406/1.917, allocations: 14.77 MB / 0.9023 GB, free: 62.17 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/1.921, allocations: 1.273 MB / 0.9036 GB, free: 60.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003039/1.924, allocations: 1.034 MB / 0.9046 GB, free: 59.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/1.924, allocations: 13 kB / 0.9046 GB, free: 59.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/1.924, allocations: 51.52 kB / 0.9046 GB, free: 59.78 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=107): time 5.66e-06/1.924, allocations: 0 / 0.9046 GB, free: 59.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=138): time 0.03805/1.962, allocations: 6.644 MB / 0.9111 GB, free: 53.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/1.963, allocations: 76.66 kB / 0.9112 GB, free: 53.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/1.964, allocations: 0.942 MB / 0.9121 GB, free: 52.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002813/1.965, allocations: 53.7 kB / 0.9122 GB, free: 52.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008451/1.966, allocations: 1.307 MB / 0.9134 GB, free: 50.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005675/1.966, allocations: 473.2 kB / 0.9139 GB, free: 50.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/1.966, allocations: 32 kB / 0.9139 GB, free: 50.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.966, allocations: 369.9 kB / 0.9143 GB, free: 49.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/1.968, allocations: 0.8668 MB / 0.9151 GB, free: 48.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/1.97, allocations: 1.311 MB / 0.9164 GB, free: 47.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/1.973, allocations: 1.121 MB / 0.9175 GB, free: 46.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/1.973, allocations: 4 kB / 0.9175 GB, free: 46.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.009024/1.982, allocations: 3.37 MB / 0.9208 GB, free: 42.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/1.982, allocations: 8 kB / 0.9208 GB, free: 42.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/1.982, allocations: 16 kB / 0.9208 GB, free: 42.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004979/1.987, allocations: 1.115 MB / 0.9219 GB, free: 41.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/1.989, allocations: 267.5 kB / 0.9222 GB, free: 41.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02233/2.011, allocations: 12.44 MB / 0.9343 GB, free: 28.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/2.013, allocations: 96.23 kB / 0.9344 GB, free: 28.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/2.013, allocations: 64 kB / 0.9345 GB, free: 28.55 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003868/2.014, allocations: 205.5 kB / 0.9347 GB, free: 28.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/2.014, allocations: 154.1 kB / 0.9348 GB, free: 28.19 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008268/2.022, allocations: 3.095 MB / 0.9378 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/2.022, allocations: 12 kB / 0.9378 GB, free: 25.05 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/2.022, allocations: 12 kB / 0.9379 GB, free: 25.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/2.022, allocations: 3.984 kB / 0.9379 GB, free: 25.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/2.038, allocations: 6.108 MB / 0.9438 GB, free: 18.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/2.038, allocations: 7.938 kB / 0.9438 GB, free: 18.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/2.039, allocations: 147.8 kB / 0.944 GB, free: 18.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004997/2.044, allocations: 1.025 MB / 0.945 GB, free: 17.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000274/2.045, allocations: 28 kB / 0.945 GB, free: 17.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02148/2.066, allocations: 12.15 MB / 0.9569 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/2.066, allocations: 4 kB / 0.9569 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007914/2.074, allocations: 3.317 MB / 0.9601 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/2.075, allocations: 419.1 kB / 0.9605 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003992/2.076, allocations: 28 kB / 0.9605 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/2.077, allocations: 75.91 kB / 0.9606 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004326/2.078, allocations: 128.7 kB / 0.9607 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/2.078, allocations: 36 kB / 0.9608 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001354/2.079, allocations: 0.7339 MB / 0.9615 GB, free: 56 kB / 0.6511 GB Notification: Performance of sort global known variables: time 6.91e-07/2.079, allocations: 0 / 0.9615 GB, free: 56 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003305/2.083, allocations: 0.6563 MB / 0.9621 GB, free: 15.39 MB / 0.6667 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01005/2.093, allocations: 5.105 MB / 0.9671 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008953/2.102, allocations: 3.015 MB / 0.97 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/2.102, allocations: 0 / 0.97 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005745/2.108, allocations: 1.9 MB / 0.9719 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/2.111, allocations: 441 kB / 0.9723 GB, free: 4.711 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/2.128, allocations: 5.226 MB / 0.9774 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003879/2.131, allocations: 2.387 MB / 0.9798 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001931/2.133, allocations: 350.1 kB / 0.9801 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002076/2.136, allocations: 0.9952 MB / 0.9811 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/2.136, allocations: 0 / 0.9811 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1322/2.268, allocations: 48.92 MB / 1.029 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/2.268, allocations: 210 kB / 1.029 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.623/5.891, allocations: 0 / 1.029 GB, free: 10.84 MB / 0.7292 GB