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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.428/4.428, allocations: 403.9 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2754/4.703, allocations: 95.03 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.622/5.325, allocations: 92.67 MB / 0.5846 GB, free: 3.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2993/5.625, allocations: 147 MB / 0.7281 GB, free: 2.695 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005436/5.625, allocations: 91.94 kB / 0.7282 GB, free: 2.605 MB / 0.6042 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 1.092/6.717, allocations: 129.4 MB / 0.8546 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/6.717, allocations: 15.78 kB / 0.8546 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/6.73, allocations: 0.9586 MB / 0.8555 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/6.74, allocations: 2.275 MB / 0.8577 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003618/6.741, allocations: 108.2 kB / 0.8578 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001939/6.743, allocations: 188.8 kB / 0.858 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01491/6.758, allocations: 3.779 MB / 0.8617 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/6.776, allocations: 5.28 MB / 0.8669 GB, free: 162 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/6.776, allocations: 15.86 kB / 0.8669 GB, free: 162 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007628/6.777, allocations: 15.28 kB / 0.8669 GB, free: 162 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009801/6.778, allocations: 338.2 kB / 0.8672 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04858/6.826, allocations: 21.75 MB / 0.8884 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/6.83, allocations: 1.429 MB / 0.8898 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003541/6.833, allocations: 1.514 MB / 0.8913 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/6.834, allocations: 16.83 kB / 0.8913 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/6.834, allocations: 47.47 kB / 0.8914 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 5.681e-06/6.834, allocations: 0 / 0.8914 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=179): time 0.07757/6.911, allocations: 13.39 MB / 0.9045 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/6.911, allocations: 69.41 kB / 0.9045 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/6.914, allocations: 1.054 MB / 0.9056 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005649/6.914, allocations: 25.7 kB / 0.9056 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000755/6.915, allocations: 1.304 MB / 0.9069 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009616/6.916, allocations: 0.5734 MB / 0.9074 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003697/6.917, allocations: 4 kB / 0.9074 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001887/6.917, allocations: 389.8 kB / 0.9078 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004686/6.921, allocations: 1.854 MB / 0.9096 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004859/6.926, allocations: 2.342 MB / 0.9119 GB, free: 115 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007935/6.934, allocations: 2.43 MB / 0.9143 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.995e-05/6.934, allocations: 4 kB / 0.9143 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.03434/6.969, allocations: 7.679 MB / 0.9218 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/6.969, allocations: 4 kB / 0.9218 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/6.969, allocations: 16 kB / 0.9218 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02976/6.999, allocations: 4.122 MB / 0.9258 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/7.001, allocations: 283 kB / 0.9261 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06106/7.062, allocations: 19.34 MB / 0.945 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/7.066, allocations: 71.83 kB / 0.945 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006263/7.067, allocations: 179.8 kB / 0.9452 GB, free: 80.43 MB / 0.6823 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.001009/7.068, allocations: 217.4 kB / 0.9454 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007132/7.069, allocations: 185.8 kB / 0.9456 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.034/7.103, allocations: 7.721 MB / 0.9531 GB, free: 72.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.644e-05/7.103, allocations: 23.38 kB / 0.9532 GB, free: 72.28 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.461e-05/7.103, allocations: 12 kB / 0.9532 GB, free: 72.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.015e-05/7.103, allocations: 11.88 kB / 0.9532 GB, free: 72.26 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04643/7.15, allocations: 11.72 MB / 0.9646 GB, free: 60.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-05/7.15, allocations: 12.03 kB / 0.9646 GB, free: 60.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/7.151, allocations: 155.8 kB / 0.9648 GB, free: 60.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02877/7.18, allocations: 4.027 MB / 0.9687 GB, free: 56.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006466/7.181, allocations: 59.86 kB / 0.9688 GB, free: 56.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06346/7.244, allocations: 18.92 MB / 0.9872 GB, free: 36.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.338e-05/7.244, allocations: 14.75 kB / 0.9873 GB, free: 36.84 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03572/7.28, allocations: 7.924 MB / 0.995 GB, free: 28.63 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03309/7.313, allocations: 8.342 MB / 1.003 GB, free: 19.99 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002768/7.316, allocations: 0.6938 MB / 1.004 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001164/7.317, allocations: 11.98 kB / 1.004 GB, free: 19.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003173/7.321, allocations: 71.77 kB / 1.004 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006306/7.321, allocations: 141 kB / 1.004 GB, free: 19.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004752/7.322, allocations: 151.9 kB / 1.004 GB, free: 18.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001759/7.323, allocations: 0.7982 MB / 1.005 GB, free: 18.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005942/7.329, allocations: 0.789 MB / 1.006 GB, free: 17.32 MB / 0.6823 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.0006871/7.33, allocations: 158.4 kB / 1.006 GB, free: 17.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02084/7.351, allocations: 5.815 MB / 1.012 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/7.351, allocations: 0 / 1.012 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01585/7.367, allocations: 3.6 MB / 1.015 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00657/7.374, allocations: 405.8 kB / 1.015 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03026/7.404, allocations: 6.077 MB / 1.021 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009185/7.413, allocations: 2.789 MB / 1.024 GB, free: 14.29 MB / 0.698 GB Notification: Performance of SimCode: time 2.304e-06/7.413, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.698 GB