Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.465/4.465, allocations: 404 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2831/4.748, allocations: 95.01 MB / 0.4941 GB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6148/5.363, allocations: 92.69 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3446/5.707, allocations: 176.4 MB / 0.7569 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004252/5.708, allocations: 91.94 kB / 0.757 GB, free: 5.074 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 1.048/6.756, allocations: 146.9 MB / 0.9004 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/6.756, allocations: 8 kB / 0.9004 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01541/6.771, allocations: 0.7913 MB / 0.9012 GB, free: 130 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/6.786, allocations: 2.565 MB / 0.9037 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003948/6.787, allocations: 123.9 kB / 0.9038 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/6.79, allocations: 235.8 kB / 0.9041 GB, free: 127 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0187/6.809, allocations: 3.709 MB / 0.9077 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02719/6.836, allocations: 5.22 MB / 0.9128 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003261/6.836, allocations: 23.77 kB / 0.9128 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001902/6.838, allocations: 12 kB / 0.9128 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004761/6.839, allocations: 223 kB / 0.913 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09458/6.933, allocations: 18.75 MB / 0.9313 GB, free: 98.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003855/6.937, allocations: 1.028 MB / 0.9323 GB, free: 97.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003442/6.941, allocations: 0.9799 MB / 0.9333 GB, free: 96.21 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/6.941, allocations: 9 kB / 0.9333 GB, free: 96.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/6.941, allocations: 51.55 kB / 0.9334 GB, free: 96.15 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 6.612e-06/6.941, allocations: 0 / 0.9334 GB, free: 96.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.03685/6.978, allocations: 6.936 MB / 0.9401 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/6.978, allocations: 64.72 kB / 0.9402 GB, free: 89.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003584/6.982, allocations: 1.077 MB / 0.9412 GB, free: 87.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004578/6.982, allocations: 29.7 kB / 0.9413 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00147/6.984, allocations: 1.416 MB / 0.9427 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/6.985, allocations: 453.4 kB / 0.9431 GB, free: 86.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/6.985, allocations: 0 / 0.9431 GB, free: 86.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002267/6.985, allocations: 373.9 kB / 0.9434 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/6.989, allocations: 0.859 MB / 0.9443 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004037/6.993, allocations: 1.436 MB / 0.9457 GB, free: 83.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/6.997, allocations: 1.118 MB / 0.9468 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-05/6.997, allocations: 8 kB / 0.9468 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01512/7.012, allocations: 3.045 MB / 0.9498 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/7.012, allocations: 4.969 kB / 0.9498 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.887e-05/7.012, allocations: 20 kB / 0.9498 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006178/7.018, allocations: 0.7179 MB / 0.9505 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005095/7.024, allocations: 379.3 kB / 0.9508 GB, free: 77.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02755/7.051, allocations: 14.49 MB / 0.965 GB, free: 62.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/7.054, allocations: 43.95 kB / 0.965 GB, free: 62.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004729/7.055, allocations: 84.05 kB / 0.9651 GB, free: 62.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005239/7.055, allocations: 168.1 kB / 0.9653 GB, free: 61.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006633/7.056, allocations: 185.8 kB / 0.9655 GB, free: 61.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009745/7.066, allocations: 2.661 MB / 0.9681 GB, free: 59.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/7.066, allocations: 16 kB / 0.9681 GB, free: 59.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.612e-05/7.066, allocations: 4 kB / 0.9681 GB, free: 59.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.489e-05/7.066, allocations: 7.969 kB / 0.9681 GB, free: 59.01 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01809/7.084, allocations: 5.469 MB / 0.9734 GB, free: 53.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.491e-05/7.084, allocations: 4 kB / 0.9734 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003028/7.087, allocations: 224.4 kB / 0.9736 GB, free: 53.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00406/7.091, allocations: 0.6435 MB / 0.9743 GB, free: 52.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004227/7.092, allocations: 16 kB / 0.9743 GB, free: 52.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02029/7.112, allocations: 14.19 MB / 0.9881 GB, free: 37.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/7.112, allocations: 7.938 kB / 0.9881 GB, free: 37.25 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.012/7.124, allocations: 4.22 MB / 0.9923 GB, free: 32.79 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01491/7.139, allocations: 5.92 MB / 0.998 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001818/7.141, allocations: 438.7 kB / 0.9985 GB, free: 26.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008298/7.142, allocations: 15.89 kB / 0.9985 GB, free: 26.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/7.144, allocations: 35.95 kB / 0.9985 GB, free: 26.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004403/7.145, allocations: 80.8 kB / 0.9986 GB, free: 26.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/7.145, allocations: 36 kB / 0.9986 GB, free: 26.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001882/7.147, allocations: 0.7996 MB / 0.9994 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005071/7.152, allocations: 0.6132 MB / 1 GB, free: 24.61 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006266/7.153, allocations: 138.1 kB / 1 GB, free: 24.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009512/7.162, allocations: 3.209 MB / 1.003 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/7.162, allocations: 1.438 kB / 1.003 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00544/7.168, allocations: 2.07 MB / 1.005 GB, free: 19 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0057/7.174, allocations: 0.5284 MB / 1.006 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/7.192, allocations: 5.429 MB / 1.011 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007156/7.199, allocations: 2.83 MB / 1.014 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of SimCode: time 1.764e-06/7.199, allocations: 0 / 1.014 GB, free: 10.06 MB / 0.6823 GB