Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.582/4.582, allocations: 404.1 MB / 411.3 MB, free: 444 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.276e-05, allocations: 4 kB / 0.4946 GB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7311/0.7311, allocations: 92.69 MB / 0.5851 GB, free: 2.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2955/1.027, allocations: 149.7 MB / 0.7312 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004013/1.027, allocations: 91.94 kB / 0.7313 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.8696/1.897, allocations: 61.68 MB / 0.7915 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.505e-06/1.897, allocations: 0 / 0.7915 GB, free: 161.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000152/1.897, allocations: 38.41 kB / 0.7916 GB, free: 161.4 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.007164/1.904, allocations: 1.616 MB / 0.7932 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/1.904, allocations: 13.42 kB / 0.7932 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005415/1.91, allocations: 481.3 kB / 0.7936 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/1.914, allocations: 1.28 MB / 0.7949 GB, free: 160 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/1.914, allocations: 48.78 kB / 0.7949 GB, free: 160 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008721/1.915, allocations: 91.55 kB / 0.795 GB, free: 160 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006664/1.922, allocations: 2.272 MB / 0.7972 GB, free: 160 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009058/1.931, allocations: 2.872 MB / 0.8 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-05/1.931, allocations: 7.906 kB / 0.8 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003428/1.931, allocations: 7.891 kB / 0.8001 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/1.933, allocations: 180.2 kB / 0.8002 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03847/1.971, allocations: 12 MB / 0.8119 GB, free: 153.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004812/1.976, allocations: 1.755 MB / 0.8137 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003794/1.98, allocations: 1.492 MB / 0.8151 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/1.98, allocations: 20.83 kB / 0.8151 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/1.98, allocations: 47.81 kB / 0.8152 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 4.609e-06/1.98, allocations: 4 kB / 0.8152 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.08292/2.063, allocations: 14.26 MB / 0.8291 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/2.063, allocations: 73.34 kB / 0.8292 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/2.065, allocations: 0.9848 MB / 0.8301 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0005783/2.066, allocations: 29.69 kB / 0.8302 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005527/2.066, allocations: 0.7719 MB / 0.8309 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008173/2.067, allocations: 0.5888 MB / 0.8315 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/2.068, allocations: 0 / 0.8315 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001619/2.068, allocations: 389.8 kB / 0.8319 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0048/2.073, allocations: 2.056 MB / 0.8339 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005073/2.078, allocations: 2.372 MB / 0.8362 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/2.088, allocations: 2.767 MB / 0.8389 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/2.088, allocations: 4 kB / 0.8389 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.03525/2.124, allocations: 8.481 MB / 0.8472 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/2.124, allocations: 8.562 kB / 0.8472 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/2.124, allocations: 12 kB / 0.8472 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03145/2.155, allocations: 4.944 MB / 0.852 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/2.157, allocations: 251.6 kB / 0.8523 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08181/2.239, allocations: 22.95 MB / 0.8747 GB, free: 90.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/2.244, allocations: 91.75 kB / 0.8748 GB, free: 90.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/2.245, allocations: 263.8 kB / 0.875 GB, free: 89.8 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.0013/2.246, allocations: 189.2 kB / 0.8752 GB, free: 89.63 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03087/2.277, allocations: 7.628 MB / 0.8827 GB, free: 81.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/2.278, allocations: 134.3 kB / 0.8828 GB, free: 81.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03116/2.31, allocations: 8.043 MB / 0.8906 GB, free: 73.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-05/2.31, allocations: 16 kB / 0.8907 GB, free: 73.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.089e-05/2.31, allocations: 19.94 kB / 0.8907 GB, free: 73.74 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.534e-05/2.31, allocations: 7.969 kB / 0.8907 GB, free: 73.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04372/2.354, allocations: 12.3 MB / 0.9027 GB, free: 61.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.792e-05/2.354, allocations: 15.98 kB / 0.9027 GB, free: 61.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/2.355, allocations: 111.9 kB / 0.9028 GB, free: 61.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02994/2.385, allocations: 4.716 MB / 0.9074 GB, free: 56.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007065/2.385, allocations: 59.89 kB / 0.9075 GB, free: 56.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05594/2.441, allocations: 19.25 MB / 0.9263 GB, free: 36.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/2.441, allocations: 7.938 kB / 0.9263 GB, free: 36.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0305/2.472, allocations: 7.659 MB / 0.9338 GB, free: 29.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003269/2.475, allocations: 0.8232 MB / 0.9346 GB, free: 28.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/2.477, allocations: 4 kB / 0.9346 GB, free: 28.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003329/2.48, allocations: 73.42 kB / 0.9346 GB, free: 28.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/2.481, allocations: 193.4 kB / 0.9348 GB, free: 27.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000683/2.482, allocations: 183.4 kB / 0.935 GB, free: 27.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00174/2.484, allocations: 0.7646 MB / 0.9357 GB, free: 27.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.11e-07/2.484, allocations: 0 / 0.9357 GB, free: 27.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004936/2.489, allocations: 0.6759 MB / 0.9364 GB, free: 26.34 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.03113/2.52, allocations: 9.419 MB / 0.9456 GB, free: 16.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01791/2.538, allocations: 5.672 MB / 0.9511 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/2.538, allocations: 4 kB / 0.9511 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.01421/2.552, allocations: 3.364 MB / 0.9544 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/2.555, allocations: 166.7 kB / 0.9546 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/2.571, allocations: 4.827 MB / 0.9593 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/2.574, allocations: 1.822 MB / 0.9611 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002334/2.577, allocations: 410.2 kB / 0.9615 GB, free: 380 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/2.579, allocations: 0.6661 MB / 0.9621 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of SimCode: time 1.814e-06/2.579, allocations: 0 / 0.9621 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3394/2.919, allocations: 75.52 MB / 1.036 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002939/2.919, allocations: 171.9 kB / 1.036 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.918/7.837, allocations: 4 kB / 1.036 GB, free: 4.266 MB / 0.7292 GB