Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.622/4.622, allocations: 404 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2834/4.906, allocations: 95.02 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5694/5.475, allocations: 92.69 MB / 0.5846 GB, free: 3.359 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3366/5.812, allocations: 166.4 MB / 0.7471 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000595/5.813, allocations: 95.92 kB / 0.7472 GB, free: 15.1 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 1.657/7.469, allocations: 268.9 MB / 1.01 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/7.469, allocations: 12 kB / 1.01 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02099/7.49, allocations: 1.386 MB / 1.011 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02037/7.511, allocations: 4.192 MB / 1.015 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003792/7.511, allocations: 164 kB / 1.015 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002739/7.514, allocations: 295.9 kB / 1.016 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02448/7.538, allocations: 5.769 MB / 1.021 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03454/7.573, allocations: 7.714 MB / 1.029 GB, free: 11.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004244/7.574, allocations: 31.69 kB / 1.029 GB, free: 11.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002696/7.576, allocations: 16 kB / 1.029 GB, free: 11.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006912/7.577, allocations: 345.9 kB / 1.029 GB, free: 11.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08885/7.666, allocations: 28.5 MB / 1.057 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00819/7.674, allocations: 2.554 MB / 1.06 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008121/7.682, allocations: 2.521 MB / 1.062 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/7.683, allocations: 26.09 kB / 1.062 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.807e-05/7.683, allocations: 60.66 kB / 1.062 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=265): time 6.523e-06/7.683, allocations: 0 / 1.062 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=424): time 0.5829/8.266, allocations: 27.96 MB / 1.089 GB, free: 213 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/8.266, allocations: 99.58 kB / 1.089 GB, free: 212.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004355/8.27, allocations: 1.629 MB / 1.091 GB, free: 212.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001161/8.272, allocations: 25.7 kB / 1.091 GB, free: 212.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/8.273, allocations: 1.897 MB / 1.093 GB, free: 212.6 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002515/8.275, allocations: 1.368 MB / 1.094 GB, free: 211.9 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008529/8.276, allocations: 0 / 1.094 GB, free: 211.9 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004252/8.277, allocations: 483.3 kB / 1.095 GB, free: 211.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008213/8.285, allocations: 2.75 MB / 1.097 GB, free: 211.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008952/8.294, allocations: 3.685 MB / 1.101 GB, free: 210.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009583/8.304, allocations: 3.367 MB / 1.104 GB, free: 210.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.831e-05/8.304, allocations: 11.44 kB / 1.104 GB, free: 210.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.06163/8.365, allocations: 11.38 MB / 1.115 GB, free: 209.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/8.366, allocations: 3.031 kB / 1.115 GB, free: 209.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-05/8.366, allocations: 32 kB / 1.115 GB, free: 209.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04792/8.414, allocations: 4.964 MB / 1.12 GB, free: 209.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00528/8.419, allocations: 0.4927 MB / 1.121 GB, free: 209.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1472/8.566, allocations: 59.64 MB / 1.179 GB, free: 180.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007478/8.574, allocations: 72.28 kB / 1.179 GB, free: 180.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/8.575, allocations: 173.3 kB / 1.179 GB, free: 180.5 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001471/8.576, allocations: 195.4 kB / 1.179 GB, free: 180.4 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/8.578, allocations: 367.5 kB / 1.18 GB, free: 180.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0615/8.639, allocations: 11.25 MB / 1.191 GB, free: 176.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-05/8.639, allocations: 40.59 kB / 1.191 GB, free: 176.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001469/8.64, allocations: 50.81 kB / 1.191 GB, free: 176.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.853e-05/8.64, allocations: 23.45 kB / 1.191 GB, free: 176.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07482/8.715, allocations: 16.76 MB / 1.207 GB, free: 170.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-05/8.715, allocations: 11.28 kB / 1.207 GB, free: 170.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004551/8.719, allocations: 268.6 kB / 1.208 GB, free: 170.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04857/8.768, allocations: 4.452 MB / 1.212 GB, free: 169.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001641/8.77, allocations: 14.94 kB / 1.212 GB, free: 169.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.139/8.909, allocations: 57.22 MB / 1.268 GB, free: 128.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-05/8.909, allocations: 11.5 kB / 1.268 GB, free: 128.2 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06147/8.97, allocations: 15.12 MB / 1.283 GB, free: 119.8 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07387/9.044, allocations: 19.86 MB / 1.302 GB, free: 102.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01372/9.058, allocations: 0.9584 MB / 1.303 GB, free: 101.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002545/9.061, allocations: 12 kB / 1.303 GB, free: 101.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01415/9.075, allocations: 65.73 kB / 1.303 GB, free: 101.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007965/9.083, allocations: 219.8 kB / 1.303 GB, free: 101 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002779/9.086, allocations: 100 kB / 1.303 GB, free: 100.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.004304/9.09, allocations: 1.203 MB / 1.304 GB, free: 99.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0229/9.113, allocations: 1.384 MB / 1.306 GB, free: 98.49 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001642/9.115, allocations: 152.3 kB / 1.306 GB, free: 98.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.04124/9.156, allocations: 10.53 MB / 1.316 GB, free: 88.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/9.156, allocations: 6.625 kB / 1.316 GB, free: 88.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.02685/9.183, allocations: 7.042 MB / 1.323 GB, free: 82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008591/9.191, allocations: 0.8418 MB / 1.324 GB, free: 81.36 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03894/9.23, allocations: 10.65 MB / 1.334 GB, free: 71.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01012/9.241, allocations: 4.099 MB / 1.338 GB, free: 68.55 MB / 0.7448 GB Notification: Performance of SimCode: time 2.094e-06/9.241, allocations: 1.125 kB / 1.338 GB, free: 68.55 MB / 0.7448 GB