Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.909/3.909, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.802e-05, allocations: 7.125 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6895/0.6895, allocations: 92.68 MB / 0.5896 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2943/0.9839, allocations: 168.2 MB / 0.7538 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004063/0.9844, allocations: 91.94 kB / 0.7539 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.36/3.344, allocations: 317.1 MB / 1.064 GB, free: 117.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.034e-06/3.344, allocations: 0 / 1.064 GB, free: 117.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0007379/3.345, allocations: 179.9 kB / 1.064 GB, free: 117.7 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02641/3.371, allocations: 5.484 MB / 1.069 GB, free: 115.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/3.371, allocations: 7.375 kB / 1.069 GB, free: 115.6 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004529/3.376, allocations: 0.8838 MB / 1.07 GB, free: 115.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02086/3.397, allocations: 1.739 MB / 1.072 GB, free: 115.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02174/3.419, allocations: 5.032 MB / 1.077 GB, free: 114.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006173/3.419, allocations: 463 kB / 1.077 GB, free: 114.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003535/3.423, allocations: 0.5887 MB / 1.078 GB, free: 114.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03479/3.458, allocations: 9.876 MB / 1.087 GB, free: 112.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004515/3.458, allocations: 27.56 kB / 1.087 GB, free: 112.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003204/3.461, allocations: 267.2 kB / 1.088 GB, free: 112.8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006253/3.462, allocations: 385.2 kB / 1.088 GB, free: 112.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/3.487, allocations: 7.7 MB / 1.095 GB, free: 112.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08302/3.57, allocations: 33.54 MB / 1.128 GB, free: 101.9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009057/3.579, allocations: 4.141 MB / 1.132 GB, free: 101.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009894/3.589, allocations: 3.571 MB / 1.136 GB, free: 101.7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006946/3.59, allocations: 37.31 kB / 1.136 GB, free: 101.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.798e-05/3.59, allocations: 66.72 kB / 1.136 GB, free: 101.7 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=353): time 1.043e-05/3.59, allocations: 0 / 1.136 GB, free: 101.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=578): time 0.8394/4.429, allocations: 98.58 MB / 1.232 GB, free: 63.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/4.43, allocations: 111.9 kB / 1.232 GB, free: 63.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004093/4.434, allocations: 2.118 MB / 1.234 GB, free: 61.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001367/4.435, allocations: 117.7 kB / 1.234 GB, free: 61.08 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001921/4.437, allocations: 2.696 MB / 1.237 GB, free: 58.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.00291/4.44, allocations: 1.941 MB / 1.239 GB, free: 56.92 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008357/4.441, allocations: 116 kB / 1.239 GB, free: 56.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003591/4.441, allocations: 0.5315 MB / 1.24 GB, free: 56.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009081/4.45, allocations: 3.729 MB / 1.243 GB, free: 52.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/4.461, allocations: 4.859 MB / 1.248 GB, free: 48.06 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/4.471, allocations: 4.543 MB / 1.252 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.249e-05/4.472, allocations: 12 kB / 1.252 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06086/4.532, allocations: 15.88 MB / 1.268 GB, free: 31.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/4.532, allocations: 16 kB / 1.268 GB, free: 31.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.131e-05/4.533, allocations: 32 kB / 1.268 GB, free: 31.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04436/4.577, allocations: 8.124 MB / 1.276 GB, free: 24.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004519/4.581, allocations: 0.5576 MB / 1.276 GB, free: 24.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.167/4.749, allocations: 67.82 MB / 1.343 GB, free: 7.957 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008144/4.757, allocations: 235.9 kB / 1.343 GB, free: 7.727 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/4.758, allocations: 204 kB / 1.343 GB, free: 7.527 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,88.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(8,73.4%) 70,(14,51.0%) 72,(24,37.5%) 62,(19,51.2%) 59,(11,57.9%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002405/4.761, allocations: 401.7 kB / 1.343 GB, free: 7.168 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002079/4.763, allocations: 458.5 kB / 1.344 GB, free: 6.715 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7062/5.469, allocations: 15.81 MB / 1.359 GB, free: 145.3 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.938e-05/5.469, allocations: 55.88 kB / 1.359 GB, free: 145.3 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001859/5.47, allocations: 72.38 kB / 1.359 GB, free: 145.3 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001268/5.47, allocations: 28.59 kB / 1.359 GB, free: 145.3 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08163/5.551, allocations: 23.92 MB / 1.383 GB, free: 144.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.427e-05/5.552, allocations: 8.906 kB / 1.383 GB, free: 144.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003429/5.555, allocations: 324.8 kB / 1.383 GB, free: 144.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03992/5.595, allocations: 6.826 MB / 1.39 GB, free: 144 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001447/5.596, allocations: 104.6 kB / 1.39 GB, free: 144 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1412/5.738, allocations: 64.03 MB / 1.452 GB, free: 126.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/5.738, allocations: 11.67 kB / 1.452 GB, free: 126.2 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06646/5.804, allocations: 20.81 MB / 1.473 GB, free: 117.3 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005379/5.81, allocations: 1.257 MB / 1.474 GB, free: 116.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002329/5.812, allocations: 115 kB / 1.474 GB, free: 116.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006792/5.819, allocations: 237 kB / 1.474 GB, free: 116.4 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003216/5.822, allocations: 0.5197 MB / 1.475 GB, free: 116.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001261/5.823, allocations: 136.2 kB / 1.475 GB, free: 116.3 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003581/5.827, allocations: 1.592 MB / 1.477 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.002e-06/5.827, allocations: 0 / 1.477 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01162/5.839, allocations: 2.251 MB / 1.479 GB, free: 115.5 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,79.7%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(7,75.5%) 71,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06795/5.907, allocations: 23.24 MB / 1.501 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.05855/5.965, allocations: 13.97 MB / 1.515 GB, free: 97.77 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/5.965, allocations: 0 / 1.515 GB, free: 97.77 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.03338/5.999, allocations: 8.879 MB / 1.524 GB, free: 90.86 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008963/6.008, allocations: 1.106 MB / 1.525 GB, free: 90.05 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04494/6.053, allocations: 15.49 MB / 1.54 GB, free: 76.56 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01208/6.065, allocations: 5.023 MB / 1.545 GB, free: 72.77 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004764/6.07, allocations: 0.7433 MB / 1.546 GB, free: 72.26 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005181/6.075, allocations: 2.586 MB / 1.548 GB, free: 69.86 MB / 0.7917 GB Notification: Performance of SimCode: time 1.402e-06/6.075, allocations: 7.656 kB / 1.548 GB, free: 69.86 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.12/7.195, allocations: 176.7 MB / 1.721 GB, free: 128 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/7.195, allocations: 201.1 kB / 1.721 GB, free: 127.8 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/15.36, allocations: 5.188 kB / 1.721 GB, free: 127.8 MB / 0.8073 GB