Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.251/4.251, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.821e-05, allocations: 9.719 kB / 0.5732 GB, free: 5.613 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2285, allocations: 107.2 MB / 0.6779 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8877/1.116, allocations: 164.6 MB / 0.8386 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/1.117, allocations: 92.25 kB / 0.8387 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7345/1.851, allocations: 181.5 MB / 1.016 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.964e-06/1.851, allocations: 0 / 1.016 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0004482/1.852, allocations: 128 kB / 1.016 GB, free: 10.57 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01831/1.87, allocations: 4.155 MB / 1.02 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/1.87, allocations: 8.031 kB / 1.02 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003715/1.874, allocations: 0.6943 MB / 1.021 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/1.884, allocations: 1.024 MB / 1.022 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/1.896, allocations: 3.214 MB / 1.025 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005773/1.897, allocations: 353.7 kB / 1.025 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002384/1.899, allocations: 476 kB / 1.026 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02615/1.925, allocations: 7.36 MB / 1.033 GB, free: 8.703 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002504/1.926, allocations: 27.72 kB / 1.033 GB, free: 8.676 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001828/1.928, allocations: 220 kB / 1.033 GB, free: 8.461 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004958/1.928, allocations: 265.2 kB / 1.033 GB, free: 8.199 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/1.947, allocations: 5.215 MB / 1.039 GB, free: 2.977 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06393/2.011, allocations: 36.26 MB / 1.074 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006026/2.017, allocations: 2.087 MB / 1.076 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003502/2.02, allocations: 1.463 MB / 1.077 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/2.021, allocations: 17.31 kB / 1.077 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/2.021, allocations: 51.88 kB / 1.078 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=157): time 5.089e-06/2.021, allocations: 0 / 1.078 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of matching and sorting (n=160): time 0.01524/2.036, allocations: 4.981 MB / 1.082 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/2.036, allocations: 64.72 kB / 1.082 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/2.039, allocations: 1.543 MB / 1.084 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004137/2.04, allocations: 57.7 kB / 1.084 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002172/2.042, allocations: 2.096 MB / 1.086 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/2.043, allocations: 0.5507 MB / 1.087 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/2.043, allocations: 40 kB / 1.087 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002566/2.044, allocations: 390.1 kB / 1.087 GB, free: 14 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/2.046, allocations: 0.9999 MB / 1.088 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003398/2.05, allocations: 1.693 MB / 1.09 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003402/2.053, allocations: 1.297 MB / 1.091 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/2.053, allocations: 7.781 kB / 1.091 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01156/2.065, allocations: 3.706 MB / 1.095 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/2.065, allocations: 12 kB / 1.095 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/2.065, allocations: 24 kB / 1.095 GB, free: 5.875 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004378/2.069, allocations: 0.9158 MB / 1.095 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/2.073, allocations: 411.3 kB / 1.096 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6609/2.734, allocations: 20.98 MB / 1.116 GB, free: 206 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/2.737, allocations: 122.1 kB / 1.116 GB, free: 206 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005511/2.737, allocations: 96.58 kB / 1.117 GB, free: 206 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005833/2.738, allocations: 242.9 kB / 1.117 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007879/2.739, allocations: 257 kB / 1.117 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008638/2.747, allocations: 3.22 MB / 1.12 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/2.748, allocations: 15.56 kB / 1.12 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.897e-05/2.748, allocations: 10.34 kB / 1.12 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.282e-05/2.748, allocations: 11.42 kB / 1.12 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02221/2.77, allocations: 7.474 MB / 1.127 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/2.77, allocations: 7.703 kB / 1.127 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/2.772, allocations: 218.4 kB / 1.128 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004006/2.776, allocations: 0.8744 MB / 1.129 GB, free: 205 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002766/2.776, allocations: 33.25 kB / 1.129 GB, free: 205 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02625/2.802, allocations: 20.94 MB / 1.149 GB, free: 190 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/2.802, allocations: 7.656 kB / 1.149 GB, free: 190 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009962/2.812, allocations: 3.666 MB / 1.153 GB, free: 189.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00214/2.815, allocations: 0.5296 MB / 1.153 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008181/2.816, allocations: 36.42 kB / 1.153 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002441/2.818, allocations: 92.31 kB / 1.153 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006765/2.819, allocations: 143.2 kB / 1.153 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/2.819, allocations: 47.12 kB / 1.153 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002729/2.822, allocations: 1.157 MB / 1.155 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.92e-07/2.822, allocations: 4.125 kB / 1.155 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005485/2.827, allocations: 0.9381 MB / 1.155 GB, free: 188.7 MB / 0.8855 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009269/2.837, allocations: 5.405 MB / 1.161 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009285/2.846, allocations: 4.147 MB / 1.165 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/2.846, allocations: 0 / 1.165 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006266/2.852, allocations: 2.853 MB / 1.168 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005679/2.858, allocations: 0.7226 MB / 1.168 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/2.879, allocations: 7.172 MB / 1.175 GB, free: 181.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005557/2.884, allocations: 3.29 MB / 1.179 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003195/2.887, allocations: 0.5147 MB / 1.179 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003528/2.891, allocations: 1.675 MB / 1.181 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.413e-06/2.891, allocations: 0 / 1.181 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/3.046, allocations: 67.9 MB / 1.247 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/3.047, allocations: 194 kB / 1.247 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.532/7.579, allocations: 0 / 1.247 GB, free: 178.2 MB / 0.8855 GB