Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadModel(Buildings): time 3.603/3.603, allocations: 403.9 MB / 411 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.887e-05, allocations: 4 kB / 0.4942 GB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4723, allocations: 92.69 MB / 0.5847 GB, free: 2.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.7, allocations: 149.7 MB / 0.7309 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.7003, allocations: 95.92 kB / 0.7309 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.6345/1.335, allocations: 61.67 MB / 0.7912 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.763e-06/1.335, allocations: 0 / 0.7912 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001025/1.335, allocations: 38.44 kB / 0.7912 GB, free: 161.2 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003991/1.339, allocations: 1.613 MB / 0.7928 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.339, allocations: 11.78 kB / 0.7928 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/1.343, allocations: 483 kB / 0.7933 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/1.346, allocations: 1.273 MB / 0.7945 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/1.346, allocations: 46.09 kB / 0.7945 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006798/1.347, allocations: 90.34 kB / 0.7946 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004999/1.352, allocations: 2.271 MB / 0.7968 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006825/1.359, allocations: 2.882 MB / 0.7997 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.421e-05/1.359, allocations: 3.656 kB / 0.7997 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002898/1.359, allocations: 7.172 kB / 0.7997 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006859/1.36, allocations: 181 kB / 0.7998 GB, free: 159.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02464/1.385, allocations: 12 MB / 0.8116 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/1.388, allocations: 1.768 MB / 0.8133 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003934/1.392, allocations: 1.48 MB / 0.8147 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.652e-05/1.393, allocations: 21.22 kB / 0.8148 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/1.393, allocations: 47.25 kB / 0.8148 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 6.43e-06/1.393, allocations: 0 / 0.8148 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.07196/1.465, allocations: 14.26 MB / 0.8287 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/1.465, allocations: 76.78 kB / 0.8288 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/1.466, allocations: 0.9848 MB / 0.8298 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.00049/1.467, allocations: 25.7 kB / 0.8298 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/1.467, allocations: 0.7758 MB / 0.8305 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006576/1.468, allocations: 0.594 MB / 0.8311 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/1.468, allocations: 0 / 0.8311 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.468, allocations: 389.8 kB / 0.8315 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/1.472, allocations: 2.05 MB / 0.8335 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003844/1.476, allocations: 2.376 MB / 0.8358 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007405/1.483, allocations: 2.766 MB / 0.8385 GB, free: 127 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/1.483, allocations: 4 kB / 0.8385 GB, free: 127 MB / 0.6511 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.02186/1.505, allocations: 8.477 MB / 0.8468 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/1.505, allocations: 12 kB / 0.8468 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/1.505, allocations: 8 kB / 0.8468 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0187/1.524, allocations: 4.944 MB / 0.8516 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.525, allocations: 243.6 kB / 0.8519 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03977/1.565, allocations: 22.96 MB / 0.8743 GB, free: 90.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/1.568, allocations: 87.77 kB / 0.8744 GB, free: 90 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007687/1.568, allocations: 270.7 kB / 0.8746 GB, free: 89.74 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_1.terminal_n.phase[2].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[3].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[1].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[1].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[3].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[4].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[2].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[4].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_2.terminal_n.phase[3].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[2].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[1].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[4].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[3].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[2].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[1].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[4].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0007588/1.569, allocations: 198.2 kB / 0.8748 GB, free: 89.55 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000535/1.57, allocations: 138.3 kB / 0.875 GB, free: 89.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01947/1.589, allocations: 8.031 MB / 0.8828 GB, free: 81.35 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/1.589, allocations: 20 kB / 0.8828 GB, free: 81.33 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.572e-05/1.589, allocations: 12 kB / 0.8828 GB, free: 81.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.392e-05/1.589, allocations: 19.86 kB / 0.8829 GB, free: 81.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02834/1.618, allocations: 12.31 MB / 0.8949 GB, free: 68.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/1.618, allocations: 4 kB / 0.8949 GB, free: 68.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005891/1.618, allocations: 115.9 kB / 0.895 GB, free: 68.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.018/1.636, allocations: 4.708 MB / 0.8996 GB, free: 64.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005244/1.637, allocations: 75.83 kB / 0.8997 GB, free: 64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03424/1.671, allocations: 19.24 MB / 0.9184 GB, free: 44.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.671, allocations: 7.938 kB / 0.9185 GB, free: 44.47 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01856/1.69, allocations: 7.663 MB / 0.9259 GB, free: 36.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/1.692, allocations: 0.8231 MB / 0.9267 GB, free: 35.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004866/1.692, allocations: 11.98 kB / 0.9268 GB, free: 35.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/1.694, allocations: 59.88 kB / 0.9268 GB, free: 35.72 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006532/1.694, allocations: 193.3 kB / 0.927 GB, free: 35.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004021/1.695, allocations: 179.9 kB / 0.9272 GB, free: 35.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0012/1.696, allocations: 0.7568 MB / 0.9279 GB, free: 34.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.15e-07/1.696, allocations: 0 / 0.9279 GB, free: 34.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003618/1.7, allocations: 0.6797 MB / 0.9286 GB, free: 33.92 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005907/1.7, allocations: 128.7 kB / 0.9287 GB, free: 33.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.711, allocations: 5.68 MB / 0.9342 GB, free: 28.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.29e-06/1.711, allocations: 192 / 0.9342 GB, free: 28.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.008206/1.72, allocations: 3.377 MB / 0.9375 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/1.721, allocations: 166.7 kB / 0.9377 GB, free: 24.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009129/1.73, allocations: 4.318 MB / 0.9419 GB, free: 20.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001914/1.732, allocations: 1.831 MB / 0.9437 GB, free: 18.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001476/1.734, allocations: 410.1 kB / 0.9441 GB, free: 17.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/1.734, allocations: 119.3 kB / 0.9442 GB, free: 17.78 MB / 0.6511 GB Notification: Performance of SimCode: time 1.336e-06/1.734, allocations: 0 / 0.9442 GB, free: 17.78 MB / 0.6511 GB Notification: Performance of Templates: time 0.1227/1.857, allocations: 60.34 MB / 1.003 GB, free: 5.688 MB / 0.698 GB