Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.508/4.508, allocations: 403.9 MB / 410.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2523/4.761, allocations: 95.04 MB / 0.4941 GB, free: 7.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.576/5.337, allocations: 92.67 MB / 0.5846 GB, free: 3.34 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.327/5.664, allocations: 152.9 MB / 0.7339 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004383/5.664, allocations: 87.94 kB / 0.734 GB, free: 12.58 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 1.361/7.026, allocations: 203.3 MB / 0.9326 GB, free: 95.21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/7.026, allocations: 8 kB / 0.9326 GB, free: 95.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/7.038, allocations: 1.105 MB / 0.9337 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/7.053, allocations: 3.716 MB / 0.9373 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003732/7.054, allocations: 184 kB / 0.9375 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002705/7.056, allocations: 336 kB / 0.9378 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02186/7.078, allocations: 5.884 MB / 0.9435 GB, free: 83.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03088/7.109, allocations: 8.055 MB / 0.9514 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000311/7.109, allocations: 19.81 kB / 0.9514 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002427/7.112, allocations: 12 kB / 0.9514 GB, free: 75.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003961/7.112, allocations: 315 kB / 0.9517 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07098/7.183, allocations: 27.6 MB / 0.9787 GB, free: 46.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007822/7.191, allocations: 2.857 MB / 0.9815 GB, free: 44.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005526/7.197, allocations: 2.114 MB / 0.9835 GB, free: 41.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002186/7.197, allocations: 22 kB / 0.9836 GB, free: 41.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/7.197, allocations: 64.5 kB / 0.9836 GB, free: 41.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=209): time 6.282e-06/7.197, allocations: 0 / 0.9836 GB, free: 41.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=212): time 0.02058/7.218, allocations: 6.452 MB / 0.9899 GB, free: 35.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/7.218, allocations: 81.41 kB / 0.99 GB, free: 35.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/7.221, allocations: 1.325 MB / 0.9913 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005004/7.221, allocations: 25.7 kB / 0.9913 GB, free: 33.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/7.223, allocations: 2.059 MB / 0.9933 GB, free: 31.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/7.224, allocations: 0.6929 MB / 0.994 GB, free: 31.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/7.224, allocations: 3.938 kB / 0.994 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002059/7.224, allocations: 407.2 kB / 0.9944 GB, free: 30.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00344/7.227, allocations: 1.294 MB / 0.9957 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004334/7.232, allocations: 2.065 MB / 0.9977 GB, free: 26.94 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004682/7.237, allocations: 1.688 MB / 0.9993 GB, free: 25.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.154e-05/7.237, allocations: 4 kB / 0.9993 GB, free: 25.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01587/7.253, allocations: 4.708 MB / 1.004 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/7.253, allocations: 4 kB / 1.004 GB, free: 20.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-05/7.253, allocations: 28 kB / 1.004 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007001/7.26, allocations: 1.429 MB / 1.005 GB, free: 19.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00387/7.264, allocations: 419.3 kB / 1.006 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03559/7.299, allocations: 15.53 MB / 1.021 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/7.304, allocations: 59.94 kB / 1.021 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007936/7.305, allocations: 112 kB / 1.021 GB, free: 2.477 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000689/7.305, allocations: 176.1 kB / 1.021 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008959/7.306, allocations: 261 kB / 1.021 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02072/7.327, allocations: 4.303 MB / 1.026 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.577e-05/7.327, allocations: 23.94 kB / 1.026 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.327e-05/7.327, allocations: 19.94 kB / 1.026 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.383e-05/7.327, allocations: 11.95 kB / 1.026 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03363/7.361, allocations: 8.726 MB / 1.034 GB, free: 4.797 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-05/7.361, allocations: 4 kB / 1.034 GB, free: 4.793 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002898/7.364, allocations: 211.7 kB / 1.034 GB, free: 4.586 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008315/7.372, allocations: 1.393 MB / 1.036 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006122/7.373, allocations: 8 kB / 1.036 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05067/7.424, allocations: 15.5 MB / 1.051 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/7.424, allocations: 11.94 kB / 1.051 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01691/7.441, allocations: 4.739 MB / 1.056 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01828/7.459, allocations: 5.173 MB / 1.061 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003204/7.462, allocations: 0.6072 MB / 1.061 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001377/7.464, allocations: 4.25 kB / 1.061 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004591/7.468, allocations: 47.94 kB / 1.061 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008035/7.469, allocations: 121.7 kB / 1.061 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004134/7.47, allocations: 56.09 kB / 1.061 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.003366/7.473, allocations: 0.9724 MB / 1.062 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008433/7.482, allocations: 0.9726 MB / 1.063 GB, free: 6.016 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008667/7.482, allocations: 134.8 kB / 1.064 GB, free: 5.875 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01675/7.499, allocations: 4.206 MB / 1.068 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/7.499, allocations: 0 / 1.068 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01473/7.514, allocations: 2.563 MB / 1.07 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/7.525, allocations: 0.6677 MB / 1.071 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04831/7.574, allocations: 7.721 MB / 1.078 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01807/7.592, allocations: 3.849 MB / 1.082 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of SimCode: time 2.464e-06/7.592, allocations: 0 / 1.082 GB, free: 2.617 MB / 0.7448 GB