Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.511/4.511, allocations: 404 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.244/4.755, allocations: 95.01 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5264/5.281, allocations: 92.69 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3196/5.601, allocations: 147.8 MB / 0.729 GB, free: 1.82 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004126/5.602, allocations: 91.94 kB / 0.7291 GB, free: 1.73 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 1.171/6.773, allocations: 140 MB / 0.8658 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/6.773, allocations: 8 kB / 0.8658 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/6.786, allocations: 1.025 MB / 0.8668 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/6.797, allocations: 2.617 MB / 0.8694 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/6.797, allocations: 120 kB / 0.8695 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002074/6.799, allocations: 212 kB / 0.8697 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01885/6.818, allocations: 4.588 MB / 0.8742 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03253/6.851, allocations: 6.256 MB / 0.8803 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002526/6.851, allocations: 15.88 kB / 0.8803 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002402/6.854, allocations: 8 kB / 0.8803 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002121/6.856, allocations: 403.2 kB / 0.8807 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08475/6.941, allocations: 23.57 MB / 0.9037 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007373/6.948, allocations: 2.091 MB / 0.9058 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007898/6.956, allocations: 2.247 MB / 0.908 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/6.956, allocations: 28.98 kB / 0.908 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/6.956, allocations: 47.88 kB / 0.908 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 7.975e-06/6.956, allocations: 4 kB / 0.908 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.1579/7.114, allocations: 21.59 MB / 0.9291 GB, free: 98.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/7.114, allocations: 81.41 kB / 0.9292 GB, free: 97.97 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004788/7.119, allocations: 1.26 MB / 0.9304 GB, free: 96.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001264/7.121, allocations: 27.67 kB / 0.9304 GB, free: 96.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001711/7.122, allocations: 1.462 MB / 0.9319 GB, free: 95.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00231/7.125, allocations: 0.8042 MB / 0.9327 GB, free: 94.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/7.126, allocations: 0 / 0.9327 GB, free: 94.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003465/7.126, allocations: 407.1 kB / 0.933 GB, free: 93.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01087/7.137, allocations: 2.871 MB / 0.9359 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01145/7.149, allocations: 3.393 MB / 0.9392 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01673/7.165, allocations: 3.609 MB / 0.9427 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.732e-05/7.165, allocations: 4 kB / 0.9427 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.06588/7.231, allocations: 12.41 MB / 0.9548 GB, free: 71.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/7.231, allocations: 10.81 kB / 0.9548 GB, free: 71.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/7.231, allocations: 19.94 kB / 0.9548 GB, free: 71.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05319/7.285, allocations: 7.958 MB / 0.9626 GB, free: 63.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/7.287, allocations: 275.5 kB / 0.9629 GB, free: 63.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1048/7.392, allocations: 30.9 MB / 0.9931 GB, free: 31.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005464/7.398, allocations: 91.67 kB / 0.9931 GB, free: 31.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/7.399, allocations: 267.8 kB / 0.9934 GB, free: 31.57 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_1.i3[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" 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[1]: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] Rline_1.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_2a.i1[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 1" type: Real [2] Rline_2a.i2[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 2" type: Real [2] Rline_2a.i2[1]: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] Rline_2a.i3[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] Rline_2a.i3[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_3a.i4[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 4 (neutral)" 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.i1[1]: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.i2[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 2" type: Real [2] Rline_3a.i4[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 4 (neutral)" type: Real [2] sc_load3.load2.i[2]:DUMMY_STATE(unit = "A" ) "Current vector" 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_3a.i3[2]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] sc_load3.load3.i[2]:DUMMY_STATE(unit = "A" ) "Current vector" type: Real [2] Rline_3a.i3[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" type: Real [2] Rline_3b.i3[1]:DUMMY_STATE(unit = "A" stateSelect=StateSelect.prefer ) "Current in line 3" 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 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.001404/7.4, allocations: 218.3 kB / 0.9936 GB, free: 31.37 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/7.402, allocations: 229.2 kB / 0.9938 GB, free: 31.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06188/7.463, allocations: 12.65 MB / 1.006 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.962e-05/7.464, allocations: 24 kB / 1.006 GB, free: 18.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.341e-05/7.464, allocations: 24 kB / 1.006 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.542e-05/7.464, allocations: 11.95 kB / 1.006 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08287/7.547, allocations: 18.11 MB / 1.024 GB, free: 168 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-05/7.547, allocations: 4 kB / 1.024 GB, free: 164 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/7.548, allocations: 163.7 kB / 1.024 GB, free: 0 / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06408/7.613, allocations: 7.881 MB / 1.032 GB, free: 8.094 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/7.614, allocations: 87.8 kB / 1.032 GB, free: 8.008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1196/7.733, allocations: 30.44 MB / 1.062 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.609e-05/7.733, allocations: 8 kB / 1.062 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06606/7.799, allocations: 12.68 MB / 1.074 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.4118/8.211, allocations: 13.1 MB / 1.087 GB, free: 278.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006048/8.217, allocations: 0.9915 MB / 1.088 GB, free: 278.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002252/8.22, allocations: 17.33 kB / 1.088 GB, free: 278.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007217/8.227, allocations: 76.84 kB / 1.088 GB, free: 278.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001933/8.229, allocations: 203.8 kB / 1.088 GB, free: 278.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001302/8.23, allocations: 242.4 kB / 1.088 GB, free: 278.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.00386/8.234, allocations: 0.952 MB / 1.089 GB, free: 278 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0111/8.245, allocations: 1.073 MB / 1.09 GB, free: 278 MB / 0.7448 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 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.001352/8.247, allocations: 155.5 kB / 1.09 GB, free: 278 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.04067/8.288, allocations: 9.373 MB / 1.1 GB, free: 277.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/8.288, allocations: 0 / 1.1 GB, free: 277.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.03031/8.318, allocations: 5.966 MB / 1.105 GB, free: 277.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/8.323, allocations: 414.1 kB / 1.106 GB, free: 277.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03272/8.356, allocations: 8.013 MB / 1.114 GB, free: 275.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008776/8.365, allocations: 3.212 MB / 1.117 GB, free: 274.9 MB / 0.7448 GB Notification: Performance of SimCode: time 2.004e-06/8.365, allocations: 0 / 1.117 GB, free: 274.9 MB / 0.7448 GB