Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.391/4.391, allocations: 404 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3085/4.7, allocations: 95.01 MB / 0.4941 GB, free: 7.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5606/5.26, allocations: 92.69 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3114/5.572, allocations: 148.3 MB / 0.7294 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003875/5.572, allocations: 91.92 kB / 0.7295 GB, free: 1.316 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.3047/5.877, allocations: 60.83 MB / 0.7889 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.156e-05/5.877, allocations: 12 kB / 0.7889 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009243/5.886, allocations: 461.4 kB / 0.7894 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006184/5.892, allocations: 1.141 MB / 0.7905 GB, free: 2.086 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/5.893, allocations: 48 kB / 0.7905 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008728/5.893, allocations: 87.91 kB / 0.7906 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01095/5.904, allocations: 2.048 MB / 0.7926 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/5.918, allocations: 2.598 MB / 0.7951 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.753e-05/5.918, allocations: 7.938 kB / 0.7951 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005259/5.918, allocations: 0 / 0.7951 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001435/5.92, allocations: 162.9 kB / 0.7953 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04714/5.967, allocations: 11.31 MB / 0.8063 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3216/6.289, allocations: 1.276 MB / 0.8076 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004284/6.293, allocations: 1.104 MB / 0.8087 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/6.293, allocations: 17.31 kB / 0.8087 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/6.293, allocations: 38.75 kB / 0.8087 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 2.267e-05/6.293, allocations: 0 / 0.8087 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139): time 0.06402/6.357, allocations: 8.977 MB / 0.8175 GB, free: 252.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/6.357, allocations: 69.72 kB / 0.8175 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/6.36, allocations: 0.9009 MB / 0.8184 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004486/6.36, allocations: 25.7 kB / 0.8185 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/6.36, allocations: 0.6391 MB / 0.8191 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006799/6.361, allocations: 460.1 kB / 0.8195 GB, free: 252 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/6.362, allocations: 0 / 0.8195 GB, free: 252 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002192/6.362, allocations: 414.6 kB / 0.8199 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003943/6.366, allocations: 1.495 MB / 0.8214 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004093/6.37, allocations: 1.784 MB / 0.8231 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008756/6.379, allocations: 2.119 MB / 0.8252 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/6.379, allocations: 0 / 0.8252 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.02519/6.404, allocations: 5.778 MB / 0.8308 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/6.404, allocations: 6.5 kB / 0.8308 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/6.404, allocations: 10.78 kB / 0.8308 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01762/6.422, allocations: 2.73 MB / 0.8335 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/6.424, allocations: 217.8 kB / 0.8337 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04164/6.465, allocations: 14.41 MB / 0.8478 GB, free: 245.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003002/6.468, allocations: 49.45 kB / 0.8478 GB, free: 245.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006172/6.469, allocations: 165.8 kB / 0.848 GB, free: 245.1 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_1.terminal_n.phase[2].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[3].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[1].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[3].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[2].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_1.terminal_n.phase[1].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_2.terminal_n.phase[1].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[3].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[1].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[3].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[2].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Rline_2.terminal_n.phase[2].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [3,2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0007633/6.47, allocations: 172.4 kB / 0.8482 GB, free: 245 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005072/6.47, allocations: 104.6 kB / 0.8483 GB, free: 245 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0222/6.493, allocations: 5.247 MB / 0.8534 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.035e-05/6.493, allocations: 14.12 kB / 0.8534 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.692e-05/6.493, allocations: 9.719 kB / 0.8534 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-05/6.493, allocations: 7.594 kB / 0.8534 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03449/6.527, allocations: 8.366 MB / 0.8616 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/6.527, allocations: 6.094 kB / 0.8616 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/6.528, allocations: 118 kB / 0.8617 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01863/6.547, allocations: 2.567 MB / 0.8642 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004896/6.548, allocations: 40.55 kB / 0.8642 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05088/6.599, allocations: 12.38 MB / 0.8763 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.495e-05/6.599, allocations: 7.281 kB / 0.8763 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02516/6.624, allocations: 5.115 MB / 0.8813 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02231/6.646, allocations: 5.499 MB / 0.8867 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/6.649, allocations: 0.6013 MB / 0.8873 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006388/6.649, allocations: 7.562 kB / 0.8873 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002269/6.651, allocations: 44.19 kB / 0.8873 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005272/6.652, allocations: 100.4 kB / 0.8874 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004206/6.652, allocations: 116.2 kB / 0.8875 GB, free: 220.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001581/6.654, allocations: 0.6872 MB / 0.8882 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004752/6.659, allocations: 0.4976 MB / 0.8887 GB, free: 219.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.000842/6.66, allocations: 129.3 kB / 0.8888 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01487/6.675, allocations: 3.93 MB / 0.8927 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/6.675, allocations: 0 / 0.8927 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01108/6.686, allocations: 2.284 MB / 0.8949 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/6.688, allocations: 147.5 kB / 0.895 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/6.702, allocations: 3.508 MB / 0.8985 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003821/6.706, allocations: 1.752 MB / 0.9002 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.924e-06/6.706, allocations: 0 / 0.9002 GB, free: 209.1 MB / 0.6823 GB