Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.618/4.618, allocations: 404.1 MB / 411.3 MB, free: 424 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.07e-05, allocations: 4 kB / 0.4946 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6829/0.683, allocations: 92.68 MB / 0.5851 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2955/0.9786, allocations: 147.1 MB / 0.7287 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003979/0.979, allocations: 95.88 kB / 0.7288 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.174/2.153, allocations: 126.7 MB / 0.8525 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.524e-06/2.153, allocations: 0 / 0.8525 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003045/2.154, allocations: 83.98 kB / 0.8525 GB, free: 113.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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01207/2.166, allocations: 2.878 MB / 0.8553 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/2.166, allocations: 12.02 kB / 0.8554 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/2.181, allocations: 0.9631 MB / 0.8563 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/2.193, allocations: 2.252 MB / 0.8585 GB, free: 107 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003377/2.193, allocations: 108 kB / 0.8586 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002171/2.196, allocations: 180 kB / 0.8588 GB, free: 106.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01477/2.21, allocations: 3.641 MB / 0.8623 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/2.228, allocations: 5.153 MB / 0.8674 GB, free: 97.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/2.229, allocations: 7.938 kB / 0.8674 GB, free: 97.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001329/2.23, allocations: 15.95 kB / 0.8674 GB, free: 97.58 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00114/2.231, allocations: 330.2 kB / 0.8677 GB, free: 97.25 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.05888/2.29, allocations: 21.38 MB / 0.8886 GB, free: 74.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00513/2.295, allocations: 1.407 MB / 0.89 GB, free: 73.44 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004873/2.3, allocations: 1.465 MB / 0.8914 GB, free: 71.97 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/2.3, allocations: 25.28 kB / 0.8914 GB, free: 71.95 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/2.301, allocations: 39.88 kB / 0.8914 GB, free: 71.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=110): time 7.193e-06/2.301, allocations: 0 / 0.8914 GB, free: 71.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=179): time 0.1191/2.42, allocations: 13.55 MB / 0.9047 GB, free: 58.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/2.42, allocations: 69.41 kB / 0.9047 GB, free: 58.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003658/2.423, allocations: 1.042 MB / 0.9058 GB, free: 57.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0007238/2.424, allocations: 25.7 kB / 0.9058 GB, free: 57.17 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00187/2.426, allocations: 1.523 MB / 0.9073 GB, free: 55.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001551/2.428, allocations: 0.5772 MB / 0.9078 GB, free: 55.04 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005517/2.428, allocations: 0 / 0.9078 GB, free: 55.04 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002772/2.429, allocations: 385.9 kB / 0.9082 GB, free: 54.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007183/2.436, allocations: 1.757 MB / 0.9099 GB, free: 52.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007476/2.443, allocations: 2.237 MB / 0.9121 GB, free: 50.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/2.456, allocations: 2.285 MB / 0.9143 GB, free: 48.17 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.456e-05/2.456, allocations: 4 kB / 0.9143 GB, free: 48.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.03291/2.489, allocations: 7.407 MB / 0.9216 GB, free: 40.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/2.489, allocations: 12 kB / 0.9216 GB, free: 40.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/2.489, allocations: 16 kB / 0.9216 GB, free: 40.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02585/2.515, allocations: 4.055 MB / 0.9256 GB, free: 36.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/2.517, allocations: 295.4 kB / 0.9258 GB, free: 36.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05149/2.569, allocations: 19.71 MB / 0.9451 GB, free: 16.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/2.572, allocations: 99.78 kB / 0.9452 GB, free: 16.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007337/2.573, allocations: 175.9 kB / 0.9454 GB, free: 15.93 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_1.i3[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] Rline_1.i1[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 1" 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[2]: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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_2a.i2[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 2" type: Real [2] Rline_2a.i3[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] Rline_2a.i1[2]: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.i2[2]: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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_3a.i1[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 1" 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_3b.i1[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 1" type: Real [2] Rline_3a.i3[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] sc_load3.load3.i[1]:DUMMY_STATE(unit = "A" ) "Current vector" type: Real [2] Rline_3a.i3[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] Rline_3b.i3[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" 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.i2[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 2" type: Real [2] Rline_3b.i2[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 2" 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 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009407/2.574, allocations: 221.1 kB / 0.9456 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02602/2.6, allocations: 7.055 MB / 0.9525 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009834/2.601, allocations: 189.7 kB / 0.9526 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02664/2.628, allocations: 7.397 MB / 0.9599 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/2.628, allocations: 19.95 kB / 0.9599 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.457e-05/2.628, allocations: 12 kB / 0.9599 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-05/2.628, allocations: 11.95 kB / 0.9599 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04492/2.673, allocations: 11.38 MB / 0.971 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.869e-05/2.673, allocations: 8.844 kB / 0.971 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/2.675, allocations: 175.7 kB / 0.9712 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02716/2.702, allocations: 3.982 MB / 0.9751 GB, free: 1.215 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005451/2.703, allocations: 51.92 kB / 0.9751 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05817/2.761, allocations: 19.3 MB / 0.994 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.92e-05/2.761, allocations: 7.938 kB / 0.994 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0295/2.79, allocations: 7.664 MB / 1.001 GB, free: 5.445 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002788/2.793, allocations: 0.7013 MB / 1.002 GB, free: 4.727 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007796/2.794, allocations: 11.98 kB / 1.002 GB, free: 4.715 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/2.797, allocations: 95.86 kB / 1.002 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/2.798, allocations: 176.9 kB / 1.002 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004797/2.798, allocations: 143.9 kB / 1.003 GB, free: 4.309 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001894/2.8, allocations: 0.7955 MB / 1.003 GB, free: 3.516 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.22e-07/2.8, allocations: 0 / 1.003 GB, free: 3.516 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004953/2.805, allocations: 0.8085 MB / 1.004 GB, free: 2.707 MB / 0.698 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 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.03593/2.841, allocations: 10.92 MB / 1.015 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02172/2.863, allocations: 5.663 MB / 1.02 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/2.863, allocations: 256 / 1.02 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01583/2.879, allocations: 3.558 MB / 1.024 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004377/2.883, allocations: 415.2 kB / 1.024 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/2.906, allocations: 6.866 MB / 1.031 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005887/2.912, allocations: 2.734 MB / 1.034 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002317/2.915, allocations: 379.2 kB / 1.034 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003183/2.918, allocations: 1.214 MB / 1.035 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of SimCode: time 1.924e-06/2.918, allocations: 0 / 1.035 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8798/3.798, allocations: 71.59 MB / 1.105 GB, free: 200.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002911/3.798, allocations: 172.3 kB / 1.105 GB, free: 200.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.12/8.918, allocations: 2.344 kB / 1.105 GB, free: 200.2 MB / 0.7448 GB