Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.214/4.214, allocations: 464.6 MB / 476.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.675e-05/4.683e-05, allocations: 6.109 kB / 0.5732 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.239, allocations: 107.1 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8926/1.132, allocations: 179.8 MB / 0.8534 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/1.132, allocations: 96.42 kB / 0.8535 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.916/3.048, allocations: 319.1 MB / 1.165 GB, free: 190 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.124e-06/3.048, allocations: 0 / 1.165 GB, free: 190 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007022/3.049, allocations: 170.6 kB / 1.165 GB, free: 189.9 MB / 0.8855 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.02579/3.075, allocations: 5.511 MB / 1.171 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/3.075, allocations: 9.812 kB / 1.171 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004821/3.08, allocations: 0.8872 MB / 1.172 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02134/3.101, allocations: 1.759 MB / 1.173 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02106/3.122, allocations: 5.032 MB / 1.178 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005696/3.123, allocations: 456.6 kB / 1.179 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003313/3.126, allocations: 0.5943 MB / 1.179 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03321/3.159, allocations: 9.805 MB / 1.189 GB, free: 185 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000415/3.16, allocations: 32.34 kB / 1.189 GB, free: 185 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002992/3.163, allocations: 268.1 kB / 1.189 GB, free: 185 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006213/3.163, allocations: 379.2 kB / 1.189 GB, free: 185 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02939/3.193, allocations: 7.582 MB / 1.197 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08454/3.277, allocations: 46.38 MB / 1.242 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008867/3.286, allocations: 4.129 MB / 1.246 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008312/3.295, allocations: 3.566 MB / 1.25 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005623/3.295, allocations: 34.66 kB / 1.25 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/3.295, allocations: 67.53 kB / 1.25 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=353): time 6.332e-06/3.295, allocations: 0 / 1.25 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=578): time 0.8637/4.159, allocations: 98.54 MB / 1.346 GB, free: 88.26 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/4.159, allocations: 115.9 kB / 1.346 GB, free: 88.13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004516/4.164, allocations: 2.124 MB / 1.348 GB, free: 86.01 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001494/4.165, allocations: 117.7 kB / 1.348 GB, free: 85.89 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002153/4.168, allocations: 2.692 MB / 1.351 GB, free: 83.18 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003193/4.171, allocations: 1.959 MB / 1.353 GB, free: 81.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/4.172, allocations: 112 kB / 1.353 GB, free: 81.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004405/4.173, allocations: 0.5337 MB / 1.353 GB, free: 80.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009396/4.182, allocations: 3.721 MB / 1.357 GB, free: 76.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0102/4.192, allocations: 4.806 MB / 1.362 GB, free: 71.62 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/4.203, allocations: 4.54 MB / 1.366 GB, free: 67.04 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-05/4.203, allocations: 8 kB / 1.366 GB, free: 67.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06065/4.263, allocations: 15.77 MB / 1.382 GB, free: 51.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/4.263, allocations: 20.25 kB / 1.382 GB, free: 51.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.855e-05/4.264, allocations: 32 kB / 1.382 GB, free: 51.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04261/4.306, allocations: 7.704 MB / 1.389 GB, free: 43.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004587/4.311, allocations: 0.5576 MB / 1.39 GB, free: 42.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9058/5.217, allocations: 67.26 MB / 1.455 GB, free: 179 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01098/5.228, allocations: 239.3 kB / 1.456 GB, free: 179 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002528/5.23, allocations: 202.9 kB / 1.456 GB, free: 179 MB / 0.9011 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,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004472/5.235, allocations: 394.7 kB / 1.456 GB, free: 178.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003429/5.238, allocations: 470 kB / 1.457 GB, free: 178.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09621/5.335, allocations: 15.8 MB / 1.472 GB, free: 178.3 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001309/5.335, allocations: 61.8 kB / 1.472 GB, free: 178.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003959/5.335, allocations: 71.97 kB / 1.472 GB, free: 178.3 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001721/5.335, allocations: 30.33 kB / 1.472 GB, free: 178.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1232/5.459, allocations: 23.87 MB / 1.496 GB, free: 177.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001081/5.459, allocations: 10.12 kB / 1.496 GB, free: 177.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005147/5.464, allocations: 320.8 kB / 1.496 GB, free: 177.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0568/5.521, allocations: 6.828 MB / 1.503 GB, free: 177 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00169/5.523, allocations: 114.6 kB / 1.503 GB, free: 177 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1888/5.711, allocations: 64.14 MB / 1.565 GB, free: 152.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/5.711, allocations: 12.53 kB / 1.565 GB, free: 152.1 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06376/5.775, allocations: 20.79 MB / 1.586 GB, free: 143.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004954/5.78, allocations: 1.257 MB / 1.587 GB, free: 142.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001963/5.782, allocations: 109 kB / 1.587 GB, free: 142.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006711/5.789, allocations: 229.3 kB / 1.587 GB, free: 142.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002992/5.792, allocations: 0.5292 MB / 1.588 GB, free: 142.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001193/5.793, allocations: 140.3 kB / 1.588 GB, free: 142.1 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003667/5.797, allocations: 1.589 MB / 1.589 GB, free: 141.5 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.333e-06/5.797, allocations: 0 / 1.589 GB, free: 141.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01499/5.812, allocations: 2.315 MB / 1.592 GB, free: 141.2 MB / 0.9011 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,(7,71.4%) 71,(14,57.1%) 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,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.08458/5.897, allocations: 23.21 MB / 1.614 GB, free: 130 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.04018/5.937, allocations: 13.25 MB / 1.627 GB, free: 123.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/5.937, allocations: 0 / 1.627 GB, free: 123.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.02746/5.964, allocations: 8.633 MB / 1.636 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01132/5.976, allocations: 1.111 MB / 1.637 GB, free: 116.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05908/6.035, allocations: 14.87 MB / 1.651 GB, free: 104 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01257/6.048, allocations: 5.016 MB / 1.656 GB, free: 100.3 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004647/6.052, allocations: 0.7457 MB / 1.657 GB, free: 99.75 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005065/6.057, allocations: 2.596 MB / 1.659 GB, free: 97.34 MB / 0.9011 GB Notification: Performance of SimCode: time 1.242e-06/6.057, allocations: 0 / 1.659 GB, free: 97.34 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.147/7.205, allocations: 175 MB / 1.83 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/7.205, allocations: 198.1 kB / 1.83 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/15.32, allocations: 2.656 kB / 1.83 GB, free: 179.6 MB / 0.9167 GB