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 4.266/4.266, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.07e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5979/0.598, allocations: 92.68 MB / 0.5897 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2939/0.892, allocations: 168.2 MB / 0.7539 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/0.8924, allocations: 99.92 kB / 0.754 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.434/3.326, allocations: 317.1 MB / 1.064 GB, free: 118 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.034e-06/3.326, allocations: 3.719 kB / 1.064 GB, free: 118 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0007274/3.327, allocations: 167.7 kB / 1.064 GB, free: 118 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.02678/3.354, allocations: 5.497 MB / 1.069 GB, free: 115.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/3.354, allocations: 11.03 kB / 1.069 GB, free: 115.8 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004759/3.359, allocations: 0.882 MB / 1.07 GB, free: 115.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02131/3.38, allocations: 1.726 MB / 1.072 GB, free: 115.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02114/3.401, allocations: 5.033 MB / 1.077 GB, free: 114.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007216/3.402, allocations: 457.1 kB / 1.077 GB, free: 114.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003792/3.406, allocations: 0.5954 MB / 1.078 GB, free: 114.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03469/3.441, allocations: 9.806 MB / 1.087 GB, free: 113.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000492/3.441, allocations: 21.59 kB / 1.087 GB, free: 113.1 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003258/3.444, allocations: 270.6 kB / 1.088 GB, free: 113.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006517/3.445, allocations: 381.7 kB / 1.088 GB, free: 113.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02506/3.47, allocations: 7.589 MB / 1.095 GB, free: 113.1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09667/3.567, allocations: 33.54 MB / 1.128 GB, free: 102.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/3.579, allocations: 4.12 MB / 1.132 GB, free: 102.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00995/3.589, allocations: 3.566 MB / 1.136 GB, free: 102.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/3.59, allocations: 39.3 kB / 1.136 GB, free: 102.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/3.59, allocations: 72.22 kB / 1.136 GB, free: 102 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=353): time 7.234e-06/3.59, allocations: 0 / 1.136 GB, free: 102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=578): time 0.8437/4.434, allocations: 98.56 MB / 1.232 GB, free: 63.85 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/4.434, allocations: 111.9 kB / 1.232 GB, free: 63.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004433/4.438, allocations: 2.12 MB / 1.234 GB, free: 61.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001498/4.44, allocations: 117.7 kB / 1.234 GB, free: 61.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002097/4.442, allocations: 2.702 MB / 1.237 GB, free: 59.29 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002998/4.445, allocations: 1.937 MB / 1.239 GB, free: 57.53 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009862/4.446, allocations: 112 kB / 1.239 GB, free: 57.42 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003992/4.446, allocations: 0.5346 MB / 1.239 GB, free: 56.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009267/4.456, allocations: 3.733 MB / 1.243 GB, free: 53.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/4.466, allocations: 4.822 MB / 1.248 GB, free: 48.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/4.477, allocations: 4.539 MB / 1.252 GB, free: 44.76 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.829e-05/4.478, allocations: 13.03 kB / 1.252 GB, free: 44.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06053/4.538, allocations: 15.8 MB / 1.268 GB, free: 31.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.107e-05/4.538, allocations: 20 kB / 1.268 GB, free: 31.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.184e-05/4.538, allocations: 28 kB / 1.268 GB, free: 31.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04486/4.583, allocations: 8.128 MB / 1.276 GB, free: 25.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004559/4.588, allocations: 0.5528 MB / 1.276 GB, free: 24.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2297/4.818, allocations: 67.92 MB / 1.342 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/4.828, allocations: 239.9 kB / 1.343 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002506/4.831, allocations: 204 kB / 1.343 GB, free: 8.25 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.00473/4.836, allocations: 398.7 kB / 1.343 GB, free: 7.891 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003505/4.839, allocations: 462.5 kB / 1.344 GB, free: 7.434 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7272/5.567, allocations: 15.81 MB / 1.359 GB, free: 145 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-05/5.567, allocations: 57.56 kB / 1.359 GB, free: 145 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001983/5.567, allocations: 73.16 kB / 1.359 GB, free: 145 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001333/5.567, allocations: 30.23 kB / 1.359 GB, free: 145 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08549/5.653, allocations: 23.89 MB / 1.383 GB, free: 143.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001145/5.653, allocations: 9.062 kB / 1.383 GB, free: 143.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003564/5.656, allocations: 330.8 kB / 1.383 GB, free: 143.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04275/5.699, allocations: 6.818 MB / 1.39 GB, free: 143.7 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001396/5.701, allocations: 110.2 kB / 1.39 GB, free: 143.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.132/5.833, allocations: 64.06 MB / 1.452 GB, free: 126.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/5.833, allocations: 15.62 kB / 1.452 GB, free: 126.3 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06366/5.896, allocations: 20.81 MB / 1.473 GB, free: 117.3 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004884/5.901, allocations: 1.261 MB / 1.474 GB, free: 116.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001723/5.903, allocations: 111.8 kB / 1.474 GB, free: 116.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006039/5.909, allocations: 231.9 kB / 1.474 GB, free: 116.4 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002724/5.912, allocations: 0.5206 MB / 1.475 GB, free: 116.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007499/5.913, allocations: 142.5 kB / 1.475 GB, free: 116.3 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003354/5.916, allocations: 1.592 MB / 1.476 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.31e-07/5.916, allocations: 0 / 1.476 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01171/5.928, allocations: 2.246 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.06303/5.991, allocations: 23.22 MB / 1.501 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.04201/6.033, allocations: 13.67 MB / 1.515 GB, free: 97.95 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/6.033, allocations: 3.656 kB / 1.515 GB, free: 97.95 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.02792/6.061, allocations: 8.633 MB / 1.523 GB, free: 92.16 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009302/6.07, allocations: 1.098 MB / 1.524 GB, free: 91.34 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05288/6.123, allocations: 15.46 MB / 1.539 GB, free: 77.89 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/6.134, allocations: 5.021 MB / 1.544 GB, free: 74.11 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.005194/6.139, allocations: 0.745 MB / 1.545 GB, free: 73.6 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00486/6.144, allocations: 2.59 MB / 1.547 GB, free: 71.2 MB / 0.7917 GB Notification: Performance of SimCode: time 1.883e-06/6.144, allocations: 0 / 1.547 GB, free: 71.2 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.066/7.21, allocations: 175.3 MB / 1.718 GB, free: 127.4 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/7.21, allocations: 200.9 kB / 1.719 GB, free: 127.1 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.501/15.71, allocations: 0 / 1.719 GB, free: 127.1 MB / 0.8073 GB