Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.611/4.611, allocations: 404.1 MB / 411.3 MB, free: 400 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.018e-05/3.058e-05, allocations: 4 kB / 0.4945 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6674/0.6674, allocations: 92.69 MB / 0.5851 GB, free: 2.34 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2954/0.9629, allocations: 148.3 MB / 0.7299 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004198/0.9634, allocations: 91.94 kB / 0.73 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.8998/1.863, allocations: 59.58 MB / 0.7882 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.705e-06/1.863, allocations: 0 / 0.7882 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001116/1.863, allocations: 36.97 kB / 0.7882 GB, free: 160.6 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005672/1.869, allocations: 1.499 MB / 0.7897 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/1.869, allocations: 11.3 kB / 0.7897 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00522/1.874, allocations: 473.6 kB / 0.7902 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003804/1.878, allocations: 1.133 MB / 0.7913 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.639e-05/1.878, allocations: 45.62 kB / 0.7913 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006351/1.879, allocations: 81.72 kB / 0.7914 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005771/1.885, allocations: 1.967 MB / 0.7933 GB, free: 159.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007895/1.893, allocations: 2.537 MB / 0.7958 GB, free: 159 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.252e-05/1.893, allocations: 10.84 kB / 0.7958 GB, free: 159 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/1.893, allocations: 7.578 kB / 0.7958 GB, free: 159 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008544/1.894, allocations: 150.5 kB / 0.796 GB, free: 159 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09025/1.984, allocations: 11.12 MB / 0.8068 GB, free: 153.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/1.989, allocations: 1.29 MB / 0.8081 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003221/1.992, allocations: 1.075 MB / 0.8091 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/1.992, allocations: 18.56 kB / 0.8091 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.992, allocations: 39.34 kB / 0.8092 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=82): time 5.35e-06/1.992, allocations: 0 / 0.8092 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=139): time 0.08446/2.077, allocations: 9.002 MB / 0.818 GB, free: 147 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/2.077, allocations: 68.72 kB / 0.818 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002843/2.08, allocations: 0.875 MB / 0.8189 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006042/2.08, allocations: 25.7 kB / 0.8189 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007593/2.081, allocations: 0.726 MB / 0.8196 GB, free: 145.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009723/2.082, allocations: 463.2 kB / 0.8201 GB, free: 145 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004808/2.083, allocations: 0 / 0.8201 GB, free: 145 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002976/2.083, allocations: 416.9 kB / 0.8205 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005358/2.088, allocations: 1.432 MB / 0.8219 GB, free: 143.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006042/2.095, allocations: 1.711 MB / 0.8235 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/2.107, allocations: 1.991 MB / 0.8255 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.963e-05/2.107, allocations: 4 kB / 0.8255 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.03525/2.142, allocations: 5.571 MB / 0.8309 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/2.143, allocations: 8 kB / 0.8309 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/2.143, allocations: 8 kB / 0.8309 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01931/2.162, allocations: 2.699 MB / 0.8336 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/2.164, allocations: 211.6 kB / 0.8338 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03922/2.203, allocations: 15.2 MB / 0.8486 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/2.206, allocations: 71.77 kB / 0.8487 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006312/2.207, allocations: 164 kB / 0.8488 GB, free: 116 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_1.terminal_n.phase[2].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[3].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[1].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[3].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[2].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[1].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_2.terminal_n.phase[1].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[3].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[1].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[3].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[2].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[2].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0007706/2.208, allocations: 175.5 kB / 0.849 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01859/2.226, allocations: 4.791 MB / 0.8537 GB, free: 111 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008509/2.227, allocations: 106.8 kB / 0.8538 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01901/2.246, allocations: 5.05 MB / 0.8587 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.365e-05/2.246, allocations: 16 kB / 0.8587 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-05/2.246, allocations: 8 kB / 0.8587 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.519e-05/2.247, allocations: 3.984 kB / 0.8587 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02773/2.274, allocations: 8.158 MB / 0.8667 GB, free: 97.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/2.274, allocations: 4 kB / 0.8667 GB, free: 97.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/2.275, allocations: 119.8 kB / 0.8668 GB, free: 97.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01493/2.29, allocations: 2.528 MB / 0.8693 GB, free: 94.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004592/2.291, allocations: 43.94 kB / 0.8693 GB, free: 94.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0337/2.325, allocations: 12.81 MB / 0.8819 GB, free: 81.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/2.325, allocations: 4 kB / 0.8819 GB, free: 81.78 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/2.343, allocations: 4.95 MB / 0.8867 GB, free: 76.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002045/2.345, allocations: 0.5932 MB / 0.8873 GB, free: 76.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006441/2.345, allocations: 14.45 kB / 0.8873 GB, free: 76.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/2.347, allocations: 51.88 kB / 0.8873 GB, free: 75.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006862/2.348, allocations: 141 kB / 0.8875 GB, free: 75.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003607/2.348, allocations: 111.9 kB / 0.8876 GB, free: 75.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001346/2.35, allocations: 0.667 MB / 0.8882 GB, free: 75.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.01e-07/2.35, allocations: 0 / 0.8882 GB, free: 75.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003271/2.353, allocations: 0.5078 MB / 0.8887 GB, free: 74.57 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 (62): * Single equations (assignments): 58 * 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 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.01874/2.372, allocations: 6.679 MB / 0.8952 GB, free: 67.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01231/2.384, allocations: 3.9 MB / 0.8991 GB, free: 63.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/2.384, allocations: 0 / 0.8991 GB, free: 63.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.009359/2.394, allocations: 2.285 MB / 0.9013 GB, free: 61.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/2.396, allocations: 168 kB / 0.9014 GB, free: 61.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/2.408, allocations: 3.85 MB / 0.9052 GB, free: 57.43 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/2.411, allocations: 1.704 MB / 0.9069 GB, free: 55.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002153/2.413, allocations: 399.2 kB / 0.9072 GB, free: 55.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/2.415, allocations: 0.55 MB / 0.9078 GB, free: 54.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.422e-06/2.415, allocations: 0 / 0.9078 GB, free: 54.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1576/2.572, allocations: 50.51 MB / 0.9571 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002945/2.573, allocations: 181.1 kB / 0.9573 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.193/6.766, allocations: 0 / 0.9573 GB, free: 4.395 MB / 0.6511 GB