Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.634/4.634, allocations: 404.1 MB / 411.3 MB, free: 344 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.215e-05, allocations: 4 kB / 0.4945 GB, free: 1.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7134/0.7135, allocations: 92.69 MB / 0.5851 GB, free: 2.281 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3161/1.03, allocations: 147.9 MB / 0.7295 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00041/1.03, allocations: 87.94 kB / 0.7296 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.326/2.356, allocations: 136.9 MB / 0.8633 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.106e-06/2.356, allocations: 0 / 0.8633 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003737/2.357, allocations: 95.98 kB / 0.8634 GB, free: 102.5 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01429/2.371, allocations: 3.314 MB / 0.8666 GB, free: 99.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/2.371, allocations: 12.02 kB / 0.8666 GB, free: 99.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/2.382, allocations: 1.017 MB / 0.8676 GB, free: 98.12 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/2.395, allocations: 2.599 MB / 0.8701 GB, free: 95.47 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/2.396, allocations: 116 kB / 0.8703 GB, free: 95.36 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002396/2.398, allocations: 215.9 kB / 0.8705 GB, free: 95.14 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02077/2.419, allocations: 4.412 MB / 0.8748 GB, free: 90.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02506/2.444, allocations: 6.086 MB / 0.8807 GB, free: 84.29 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001931/2.444, allocations: 19.88 kB / 0.8807 GB, free: 84.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001539/2.446, allocations: 11.95 kB / 0.8807 GB, free: 84.26 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001548/2.447, allocations: 387.3 kB / 0.8811 GB, free: 83.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05237/2.5, allocations: 23.25 MB / 0.9038 GB, free: 59.83 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004784/2.505, allocations: 2.108 MB / 0.9059 GB, free: 57.72 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004815/2.509, allocations: 2.169 MB / 0.908 GB, free: 55.54 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/2.51, allocations: 21.28 kB / 0.908 GB, free: 55.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/2.51, allocations: 55.88 kB / 0.9081 GB, free: 55.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=146): time 5.571e-06/2.51, allocations: 0 / 0.9081 GB, free: 55.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=251): time 0.1561/2.666, allocations: 21.95 MB / 0.9295 GB, free: 33.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/2.666, allocations: 81.39 kB / 0.9296 GB, free: 33.37 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/2.67, allocations: 1.245 MB / 0.9308 GB, free: 32.13 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0009961/2.671, allocations: 29.7 kB / 0.9308 GB, free: 32.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001946/2.673, allocations: 1.731 MB / 0.9325 GB, free: 30.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001944/2.675, allocations: 0.812 MB / 0.9333 GB, free: 29.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007435/2.676, allocations: 0 / 0.9333 GB, free: 29.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002725/2.676, allocations: 403.1 kB / 0.9337 GB, free: 29.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01009/2.686, allocations: 2.707 MB / 0.9363 GB, free: 26.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01089/2.697, allocations: 3.228 MB / 0.9395 GB, free: 22.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01636/2.714, allocations: 3.378 MB / 0.9428 GB, free: 19.58 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.153e-05/2.714, allocations: 4 kB / 0.9428 GB, free: 19.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.05092/2.765, allocations: 12 MB / 0.9545 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/2.765, allocations: 12.19 kB / 0.9545 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/2.765, allocations: 20 kB / 0.9545 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05036/2.815, allocations: 7.892 MB / 0.9622 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/2.818, allocations: 283.5 kB / 0.9625 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1028/2.921, allocations: 31.32 MB / 0.9931 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004646/2.926, allocations: 123.6 kB / 0.9932 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/2.927, allocations: 271.8 kB / 0.9935 GB, free: 15.16 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_1.i3[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] Rline_1.i2[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 2" type: Real [2] Rline_1.i2[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 2" type: Real [2] Rline_1.i3[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] Rline_1.i1[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 1" type: Real [2] Rline_1.i1[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 1" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_2a.i1[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 1" type: Real [2] Rline_2a.i2[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 2" type: Real [2] Rline_2a.i2[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 2" type: Real [2] Rline_2a.i1[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 1" type: Real [2] Rline_2a.i3[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] Rline_2a.i3[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_3a.i4[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 4 (neutral)" type: Real [2] Rline_3a.i2[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 2" type: Real [2] sc_load3.load2.i[1]:DUMMY_STATE(unit = "A" ) "Current vector" type: Real [2] Rline_3a.i1[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 1" type: Real [2] Rline_3b.i1[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 1" type: Real [2] Rline_3a.i2[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 2" type: Real [2] Rline_3a.i4[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 4 (neutral)" type: Real [2] sc_load3.load2.i[2]:DUMMY_STATE(unit = "A" ) "Current vector" type: Real [2] Rline_3a.i1[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 1" type: Real [2] Rline_3b.i1[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 1" type: Real [2] Rline_3a.i3[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] sc_load3.load3.i[2]:DUMMY_STATE(unit = "A" ) "Current vector" type: Real [2] Rline_3a.i3[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] Rline_3b.i3[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.001351/2.928, allocations: 217.4 kB / 0.9937 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05251/2.981, allocations: 11.56 MB / 1.005 GB, free: 3.348 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/2.982, allocations: 237.2 kB / 1.005 GB, free: 3.113 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07056/3.053, allocations: 12.16 MB / 1.017 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.678e-05/3.053, allocations: 24 kB / 1.017 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000103/3.053, allocations: 24 kB / 1.017 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.048e-05/3.053, allocations: 11.95 kB / 1.017 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08367/3.137, allocations: 17.58 MB / 1.034 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.919e-05/3.137, allocations: 8 kB / 1.034 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/3.139, allocations: 167.7 kB / 1.034 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05518/3.194, allocations: 7.81 MB / 1.042 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009127/3.195, allocations: 87.8 kB / 1.042 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7874/3.982, allocations: 30.91 MB / 1.072 GB, free: 197.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.24e-05/3.983, allocations: 9.969 kB / 1.072 GB, free: 197.8 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05804/4.041, allocations: 12.28 MB / 1.084 GB, free: 196.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003745/4.044, allocations: 0.9939 MB / 1.085 GB, free: 196.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/4.046, allocations: 7.562 kB / 1.085 GB, free: 196.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00417/4.05, allocations: 118.8 kB / 1.085 GB, free: 196.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001735/4.052, allocations: 256.1 kB / 1.086 GB, free: 196.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008518/4.053, allocations: 241.7 kB / 1.086 GB, free: 196.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002141/4.055, allocations: 0.9389 MB / 1.087 GB, free: 196.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.172e-06/4.055, allocations: 0 / 1.087 GB, free: 196.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006473/4.061, allocations: 1.114 MB / 1.088 GB, free: 196.5 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.05418/4.116, allocations: 16.35 MB / 1.104 GB, free: 193 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.04361/4.159, allocations: 9.035 MB / 1.113 GB, free: 190.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/4.159, allocations: 0 / 1.113 GB, free: 190.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.03646/4.196, allocations: 5.837 MB / 1.118 GB, free: 189 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006173/4.202, allocations: 427 kB / 1.119 GB, free: 188.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0284/4.23, allocations: 8.865 MB / 1.127 GB, free: 185.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007417/4.238, allocations: 3.193 MB / 1.131 GB, free: 183.1 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002253/4.24, allocations: 375.1 kB / 1.131 GB, free: 182.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003243/4.244, allocations: 1.449 MB / 1.132 GB, free: 181.5 MB / 0.7448 GB Notification: Performance of SimCode: time 1.593e-06/4.244, allocations: 0 / 1.132 GB, free: 181.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2465/4.49, allocations: 96.62 MB / 1.227 GB, free: 97.14 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002323/4.49, allocations: 185 kB / 1.227 GB, free: 96.94 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.041/10.53, allocations: 0 / 1.227 GB, free: 96.94 MB / 0.7448 GB