Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.652/4.652, allocations: 404 MB / 410.9 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2697/4.922, allocations: 95.01 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5565/5.478, allocations: 92.69 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/5.847, allocations: 152.5 MB / 0.7335 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004145/5.847, allocations: 91.94 kB / 0.7336 GB, free: 13.02 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 1.353/7.2, allocations: 200.6 MB / 0.9295 GB, free: 98.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/7.2, allocations: 12 kB / 0.9295 GB, free: 98.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/7.212, allocations: 1 MB / 0.9305 GB, free: 97.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/7.226, allocations: 3.411 MB / 0.9338 GB, free: 93.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003767/7.226, allocations: 180 kB / 0.934 GB, free: 93.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002737/7.229, allocations: 331.8 kB / 0.9343 GB, free: 93.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0218/7.251, allocations: 5.634 MB / 0.9398 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03091/7.282, allocations: 7.866 MB / 0.9475 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004644/7.282, allocations: 19.78 kB / 0.9475 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002422/7.285, allocations: 15.98 kB / 0.9475 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004648/7.285, allocations: 326.8 kB / 0.9479 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06619/7.351, allocations: 26.32 MB / 0.9736 GB, free: 51.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007047/7.359, allocations: 2.146 MB / 0.9756 GB, free: 49.69 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005026/7.364, allocations: 1.948 MB / 0.9776 GB, free: 47.74 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/7.364, allocations: 21.98 kB / 0.9776 GB, free: 47.72 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/7.364, allocations: 52.56 kB / 0.9776 GB, free: 47.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=179): time 5.33e-06/7.364, allocations: 3.938 kB / 0.9776 GB, free: 47.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182): time 0.02073/7.385, allocations: 6.076 MB / 0.9836 GB, free: 41.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/7.385, allocations: 69.41 kB / 0.9836 GB, free: 41.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/7.388, allocations: 1.097 MB / 0.9847 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004524/7.389, allocations: 29.7 kB / 0.9847 GB, free: 40.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/7.39, allocations: 1.983 MB / 0.9867 GB, free: 38.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001375/7.391, allocations: 0.5927 MB / 0.9872 GB, free: 37.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004204/7.392, allocations: 0 / 0.9872 GB, free: 37.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003226/7.392, allocations: 398.3 kB / 0.9876 GB, free: 37.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005021/7.397, allocations: 1.18 MB / 0.9888 GB, free: 36.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005996/7.403, allocations: 1.838 MB / 0.9906 GB, free: 34.01 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004814/7.408, allocations: 1.528 MB / 0.9921 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-05/7.408, allocations: 4 kB / 0.9921 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01604/7.424, allocations: 4.419 MB / 0.9964 GB, free: 28.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/7.424, allocations: 4 kB / 0.9964 GB, free: 28.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.222e-05/7.424, allocations: 24 kB / 0.9964 GB, free: 28.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/7.434, allocations: 1.56 MB / 0.9979 GB, free: 26.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003168/7.438, allocations: 335.5 kB / 0.9982 GB, free: 26.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04055/7.478, allocations: 15.55 MB / 1.013 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/7.482, allocations: 51.94 kB / 1.013 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/7.482, allocations: 92 kB / 1.014 GB, free: 9.949 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005895/7.483, allocations: 164.3 kB / 1.014 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007214/7.484, allocations: 209.5 kB / 1.014 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/7.498, allocations: 4.071 MB / 1.018 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.573e-05/7.498, allocations: 20 kB / 1.018 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.619e-05/7.498, allocations: 16 kB / 1.018 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.213e-05/7.498, allocations: 11.95 kB / 1.018 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02785/7.526, allocations: 8.082 MB / 1.026 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/7.526, allocations: 12.12 kB / 1.026 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/7.528, allocations: 155.8 kB / 1.026 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008985/7.537, allocations: 1.527 MB / 1.027 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004205/7.537, allocations: 8 kB / 1.027 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04455/7.582, allocations: 15.54 MB / 1.043 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/7.582, allocations: 11.98 kB / 1.043 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01589/7.598, allocations: 4.481 MB / 1.047 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01643/7.614, allocations: 4.912 MB / 1.052 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/7.617, allocations: 0.5218 MB / 1.052 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009347/7.618, allocations: 11.98 kB / 1.052 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002416/7.62, allocations: 35.95 kB / 1.052 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00045/7.621, allocations: 93.77 kB / 1.052 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002314/7.621, allocations: 48 kB / 1.053 GB, free: 1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.002217/7.623, allocations: 0.81 MB / 1.053 GB, free: 204 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00719/7.631, allocations: 0.8672 MB / 1.054 GB, free: 15.33 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 (77): * Single equations (assignments): 73 * 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%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008265/7.631, allocations: 126.8 kB / 1.054 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01674/7.648, allocations: 4.002 MB / 1.058 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/7.648, allocations: 4.188 kB / 1.058 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01116/7.659, allocations: 2.489 MB / 1.061 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006905/7.666, allocations: 0.604 MB / 1.061 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03164/7.698, allocations: 7.237 MB / 1.068 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01229/7.711, allocations: 3.687 MB / 1.072 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of SimCode: time 2.034e-06/7.711, allocations: 0 / 1.072 GB, free: 12.93 MB / 0.7448 GB