Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.249/4.249, allocations: 404 MB / 410.9 MB, free: 8.926 MB / 338.8 MB Notification: Performance of FrontEnd - loaded program: time 0.4673/4.717, allocations: 95.03 MB / 0.4941 GB, free: 7.105 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/4.949, allocations: 92.67 MB / 0.5846 GB, free: 10.25 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7168/5.666, allocations: 168.4 MB / 0.7491 GB, free: 13.43 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003955/5.667, allocations: 101.9 kB / 0.7492 GB, free: 13.38 MB / 0.6121 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 1.99/7.656, allocations: 320.8 MB / 1.062 GB, free: 133.1 MB / 0.7527 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/7.656, allocations: 12 kB / 1.062 GB, free: 133.1 MB / 0.7527 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03706/7.693, allocations: 1.646 MB / 1.064 GB, free: 131.4 MB / 0.7527 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03501/7.728, allocations: 5.006 MB / 1.069 GB, free: 126.4 MB / 0.7527 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006427/7.729, allocations: 196 kB / 1.069 GB, free: 126.2 MB / 0.7527 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005263/7.734, allocations: 355.8 kB / 1.069 GB, free: 125.9 MB / 0.7527 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03313/7.767, allocations: 7.077 MB / 1.076 GB, free: 118.8 MB / 0.7527 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04358/7.811, allocations: 9.185 MB / 1.085 GB, free: 109.1 MB / 0.7527 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005135/7.812, allocations: 27.78 kB / 1.085 GB, free: 109.1 MB / 0.7527 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004694/7.816, allocations: 16 kB / 1.085 GB, free: 109.1 MB / 0.7527 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001006/7.817, allocations: 407.9 kB / 1.086 GB, free: 108.7 MB / 0.7527 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1055/7.923, allocations: 32.51 MB / 1.118 GB, free: 75.81 MB / 0.7527 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/7.934, allocations: 3.723 MB / 1.121 GB, free: 72.11 MB / 0.7527 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01041/7.944, allocations: 3.501 MB / 1.125 GB, free: 68.6 MB / 0.7527 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006397/7.945, allocations: 41.73 kB / 1.125 GB, free: 68.56 MB / 0.7527 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/7.945, allocations: 69.34 kB / 1.125 GB, free: 68.48 MB / 0.7527 GB Notification: Performance of pre-optimization done (n=353): time 8.846e-06/7.945, allocations: 0 / 1.125 GB, free: 68.48 MB / 0.7527 GB Notification: Performance of matching and sorting (n=578): time 0.236/8.181, allocations: 38.14 MB / 1.162 GB, free: 30.16 MB / 0.7527 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/8.181, allocations: 111.9 kB / 1.162 GB, free: 30.03 MB / 0.7527 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005246/8.186, allocations: 1.836 MB / 1.164 GB, free: 28.2 MB / 0.7527 GB Notification: Performance of collectPreVariables (initialization): time 0.001673/8.188, allocations: 29.69 kB / 1.164 GB, free: 28.16 MB / 0.7527 GB Notification: Performance of collectInitialEqns (initialization): time 0.001705/8.19, allocations: 2.177 MB / 1.166 GB, free: 25.95 MB / 0.7527 GB Notification: Performance of collectInitialBindings (initialization): time 0.004819/8.195, allocations: 1.859 MB / 1.168 GB, free: 24.07 MB / 0.7527 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002247/8.197, allocations: 0 / 1.168 GB, free: 24.07 MB / 0.7527 GB Notification: Performance of setup shared object (initialization): time 0.0008115/8.198, allocations: 0.5298 MB / 1.168 GB, free: 23.53 MB / 0.7527 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01164/8.209, allocations: 3.764 MB / 1.172 GB, free: 19.76 MB / 0.7527 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01516/8.225, allocations: 4.845 MB / 1.177 GB, free: 14.48 MB / 0.7527 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01425/8.239, allocations: 4.598 MB / 1.181 GB, free: 9.848 MB / 0.7527 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-05/8.239, allocations: 8 kB / 1.181 GB, free: 9.84 MB / 0.7527 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.4604/8.7, allocations: 15.5 MB / 1.196 GB, free: 211.7 MB / 0.7527 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/8.7, allocations: 9.719 kB / 1.196 GB, free: 211.7 MB / 0.7527 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.344e-05/8.7, allocations: 29.28 kB / 1.196 GB, free: 211.7 MB / 0.7527 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06227/8.762, allocations: 7.464 MB / 1.204 GB, free: 211.6 MB / 0.7527 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005782/8.768, allocations: 0.5385 MB / 1.204 GB, free: 211.6 MB / 0.7527 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2386/9.006, allocations: 61.1 MB / 1.264 GB, free: 197.9 MB / 0.7527 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0133/9.02, allocations: 80.77 kB / 1.264 GB, free: 197.9 MB / 0.7527 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001933/9.022, allocations: 208.2 kB / 1.264 GB, free: 197.9 MB / 0.7527 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,92.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(8,73.4%) 70,(14,51.0%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00293/9.025, allocations: 184.6 kB / 1.264 GB, free: 197.7 MB / 0.7527 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001865/9.027, allocations: 443.9 kB / 1.265 GB, free: 197.5 MB / 0.7527 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07808/9.105, allocations: 15.5 MB / 1.28 GB, free: 192 MB / 0.7527 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/9.105, allocations: 55.53 kB / 1.28 GB, free: 192 MB / 0.7527 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000175/9.105, allocations: 75.84 kB / 1.28 GB, free: 192 MB / 0.7527 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000131/9.105, allocations: 26.58 kB / 1.28 GB, free: 192 MB / 0.7527 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1035/9.209, allocations: 22.65 MB / 1.302 GB, free: 183.8 MB / 0.7527 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.45e-05/9.209, allocations: 7.094 kB / 1.302 GB, free: 183.8 MB / 0.7527 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004256/9.213, allocations: 306.3 kB / 1.302 GB, free: 183.8 MB / 0.7527 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05012/9.263, allocations: 6.751 MB / 1.309 GB, free: 182.1 MB / 0.7527 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001509/9.265, allocations: 17.61 kB / 1.309 GB, free: 182.1 MB / 0.7527 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.189/9.454, allocations: 58.09 MB / 1.366 GB, free: 146.5 MB / 0.7527 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/9.454, allocations: 9.5 kB / 1.366 GB, free: 146.5 MB / 0.7527 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0911/9.545, allocations: 20.73 MB / 1.386 GB, free: 128.3 MB / 0.7527 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1058/9.651, allocations: 27.19 MB / 1.413 GB, free: 104.3 MB / 0.7527 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006215/9.657, allocations: 1.234 MB / 1.414 GB, free: 103.2 MB / 0.7527 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004339/9.662, allocations: 19.08 kB / 1.414 GB, free: 103.2 MB / 0.7527 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01159/9.673, allocations: 85.56 kB / 1.414 GB, free: 103.1 MB / 0.7527 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002868/9.676, allocations: 285.8 kB / 1.414 GB, free: 103 MB / 0.7527 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002156/9.678, allocations: 136 kB / 1.414 GB, free: 102.8 MB / 0.7527 GB Notification: Performance of sort global known variables: time 0.005425/9.684, allocations: 1.344 MB / 1.416 GB, free: 101.6 MB / 0.7527 GB Notification: Performance of remove unused functions: time 0.01713/9.701, allocations: 1.792 MB / 1.417 GB, free: 99.85 MB / 0.7527 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,79.7%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(7,75.5%) 71,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001896/9.703, allocations: 155.3 kB / 1.418 GB, free: 99.72 MB / 0.7527 GB Notification: Performance of simCode: created initialization part: time 0.0565/9.76, allocations: 12.44 MB / 1.43 GB, free: 88.45 MB / 0.7527 GB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/9.76, allocations: 0 / 1.43 GB, free: 88.45 MB / 0.7527 GB Notification: Performance of simCode: created simulation system equations: time 0.03739/9.797, allocations: 7.727 MB / 1.437 GB, free: 81.54 MB / 0.7527 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01091/9.808, allocations: 0.9444 MB / 1.438 GB, free: 80.82 MB / 0.7527 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05895/9.867, allocations: 13.88 MB / 1.452 GB, free: 68.27 MB / 0.7527 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01873/9.886, allocations: 4.856 MB / 1.456 GB, free: 64.52 MB / 0.7527 GB Notification: Performance of SimCode: time 2.875e-06/9.886, allocations: 0 / 1.456 GB, free: 64.52 MB / 0.7527 GB