Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.366/4.366, allocations: 404 MB / 410.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2496/4.615, allocations: 95.01 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5695/5.185, allocations: 92.69 MB / 0.5846 GB, free: 3.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3419/5.527, allocations: 152.3 MB / 0.7333 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005848/5.528, allocations: 95.92 kB / 0.7334 GB, free: 13.3 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 1.205/6.733, allocations: 183.2 MB / 0.9123 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/6.733, allocations: 8 kB / 0.9123 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/6.744, allocations: 0.9812 MB / 0.9133 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/6.757, allocations: 3.237 MB / 0.9164 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/6.758, allocations: 156 kB / 0.9166 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002174/6.76, allocations: 283.8 kB / 0.9169 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01954/6.779, allocations: 4.881 MB / 0.9216 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02936/6.809, allocations: 6.852 MB / 0.9283 GB, free: 99.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004389/6.809, allocations: 23.72 kB / 0.9283 GB, free: 99.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002705/6.812, allocations: 12 kB / 0.9283 GB, free: 99.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005495/6.813, allocations: 277.2 kB / 0.9286 GB, free: 99.01 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07362/6.886, allocations: 24.75 MB / 0.9528 GB, free: 73.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006522/6.893, allocations: 2.019 MB / 0.9547 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003856/6.897, allocations: 1.438 MB / 0.9562 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/6.897, allocations: 17.31 kB / 0.9562 GB, free: 70.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/6.897, allocations: 59.78 kB / 0.9562 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 7.163e-06/6.897, allocations: 3.984 kB / 0.9562 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.02316/6.92, allocations: 4.878 MB / 0.961 GB, free: 65.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/6.92, allocations: 72.72 kB / 0.9611 GB, free: 65.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/6.923, allocations: 1.24 MB / 0.9623 GB, free: 63.76 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004674/6.924, allocations: 25.7 kB / 0.9623 GB, free: 63.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/6.925, allocations: 1.809 MB / 0.9641 GB, free: 61.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008442/6.926, allocations: 0.5235 MB / 0.9646 GB, free: 61.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/6.926, allocations: 0 / 0.9646 GB, free: 61.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001793/6.926, allocations: 390.1 kB / 0.9649 GB, free: 60.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/6.929, allocations: 0.992 MB / 0.9659 GB, free: 59.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003435/6.933, allocations: 1.705 MB / 0.9676 GB, free: 57.94 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003716/6.936, allocations: 1.286 MB / 0.9688 GB, free: 56.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-05/6.936, allocations: 8 kB / 0.9688 GB, free: 56.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01192/6.948, allocations: 3.571 MB / 0.9723 GB, free: 53.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/6.948, allocations: 4 kB / 0.9723 GB, free: 53.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-05/6.948, allocations: 24 kB / 0.9724 GB, free: 53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004985/6.953, allocations: 0.9004 MB / 0.9732 GB, free: 52.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003553/6.957, allocations: 399.3 kB / 0.9736 GB, free: 51.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02767/6.985, allocations: 19.68 MB / 0.9928 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/6.988, allocations: 51.95 kB / 0.9929 GB, free: 30.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004296/6.989, allocations: 99.98 kB / 0.993 GB, free: 30.46 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005713/6.989, allocations: 172.3 kB / 0.9932 GB, free: 30.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005947/6.99, allocations: 229.4 kB / 0.9934 GB, free: 30.06 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/7, allocations: 3.164 MB / 0.9965 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/7, allocations: 16 kB / 0.9965 GB, free: 26.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.104e-05/7.001, allocations: 12 kB / 0.9965 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.055e-05/7.001, allocations: 7.969 kB / 0.9965 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02247/7.023, allocations: 6.704 MB / 1.003 GB, free: 19.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/7.023, allocations: 8 kB / 1.003 GB, free: 19.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/7.026, allocations: 196.3 kB / 1.003 GB, free: 19.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005049/7.031, allocations: 0.8809 MB / 1.004 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004747/7.031, allocations: 4 kB / 1.004 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02911/7.06, allocations: 19.66 MB / 1.023 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/7.06, allocations: 4.188 kB / 1.023 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01187/7.072, allocations: 3.604 MB / 1.027 GB, free: 9.914 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01213/7.084, allocations: 4.01 MB / 1.031 GB, free: 5.637 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/7.087, allocations: 0.506 MB / 1.031 GB, free: 5.109 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009348/7.088, allocations: 11.98 kB / 1.031 GB, free: 5.098 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/7.09, allocations: 39.95 kB / 1.031 GB, free: 5.059 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003959/7.091, allocations: 92.97 kB / 1.031 GB, free: 4.965 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002498/7.091, allocations: 44 kB / 1.031 GB, free: 4.922 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.002535/7.094, allocations: 0.9139 MB / 1.032 GB, free: 3.988 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006405/7.1, allocations: 0.7891 MB / 1.033 GB, free: 3.199 MB / 0.698 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006979/7.101, allocations: 145.2 kB / 1.033 GB, free: 3.051 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01231/7.113, allocations: 4.006 MB / 1.037 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/7.113, allocations: 4.688 kB / 1.037 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.008516/7.122, allocations: 2.717 MB / 1.04 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006724/7.128, allocations: 0.6289 MB / 1.04 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02728/7.156, allocations: 6.368 MB / 1.047 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009738/7.166, allocations: 3.375 MB / 1.05 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of SimCode: time 1.512e-06/7.166, allocations: 0 / 1.05 GB, free: 1.562 MB / 0.7136 GB