Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.423/4.423, allocations: 404 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2719/4.695, allocations: 95.02 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6429/5.338, allocations: 92.69 MB / 0.5846 GB, free: 3.453 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3362/5.674, allocations: 149.6 MB / 0.7307 GB, free: 76 kB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005543/5.675, allocations: 91.94 kB / 0.7308 GB, free: 15.98 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.3466/6.022, allocations: 63.05 MB / 0.7924 GB, free: 212 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/6.022, allocations: 12 kB / 0.7924 GB, free: 200 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02121/6.043, allocations: 473.1 kB / 0.7928 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/6.053, allocations: 1.29 MB / 0.7941 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/6.054, allocations: 52 kB / 0.7941 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008955/6.055, allocations: 84 kB / 0.7942 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01398/6.069, allocations: 2.353 MB / 0.7965 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/6.081, allocations: 2.955 MB / 0.7994 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-05/6.081, allocations: 11.84 kB / 0.7994 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005615/6.082, allocations: 4 kB / 0.7994 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001544/6.083, allocations: 183 kB / 0.7996 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3552/6.439, allocations: 12.21 MB / 0.8115 GB, free: 247.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004628/6.443, allocations: 1.742 MB / 0.8132 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003928/6.447, allocations: 1.543 MB / 0.8147 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.179e-05/6.447, allocations: 25.39 kB / 0.8147 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/6.448, allocations: 41.5 kB / 0.8148 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 6.132e-06/6.448, allocations: 0 / 0.8148 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=183): time 0.1013/6.549, allocations: 14.15 MB / 0.8286 GB, free: 247.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/6.549, allocations: 68.84 kB / 0.8287 GB, free: 247.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003525/6.553, allocations: 1.008 MB / 0.8296 GB, free: 247 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007911/6.553, allocations: 25.7 kB / 0.8297 GB, free: 247 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005721/6.554, allocations: 0.6609 MB / 0.8303 GB, free: 246.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001303/6.555, allocations: 0.5914 MB / 0.8309 GB, free: 246.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000669/6.556, allocations: 0 / 0.8309 GB, free: 246.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002308/6.556, allocations: 385 kB / 0.8313 GB, free: 246 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007661/6.564, allocations: 2.148 MB / 0.8334 GB, free: 246 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008718/6.573, allocations: 2.471 MB / 0.8358 GB, free: 245.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01589/6.589, allocations: 2.93 MB / 0.8386 GB, free: 245.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.621e-05/6.589, allocations: 3.281 kB / 0.8386 GB, free: 245.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.05725/6.646, allocations: 8.774 MB / 0.8472 GB, free: 243.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/6.646, allocations: 3.938 kB / 0.8472 GB, free: 243.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/6.646, allocations: 7.625 kB / 0.8472 GB, free: 243.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03902/6.685, allocations: 4.991 MB / 0.8521 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/6.688, allocations: 243.5 kB / 0.8523 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07498/6.763, allocations: 21.57 MB / 0.8734 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/6.768, allocations: 73.98 kB / 0.8735 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/6.769, allocations: 261.8 kB / 0.8737 GB, free: 231.9 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_1.terminal_n.phase[2].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[3].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[1].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[1].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[3].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[4].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[2].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_1.terminal_n.phase[4].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Rline_2.terminal_n.phase[3].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[2].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[1].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[4].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[3].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[2].i[2]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[1].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Rline_2.terminal_n.phase[4].i[1]:DUMMY_STATE(flow=true unit = "A" ) "Current vector" type: Real [4,2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.001266/6.77, allocations: 197.2 kB / 0.8739 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008083/6.771, allocations: 130.4 kB / 0.874 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03905/6.81, allocations: 8.348 MB / 0.8822 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.462e-05/6.81, allocations: 20 kB / 0.8822 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.079e-05/6.81, allocations: 12 kB / 0.8822 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.513e-05/6.81, allocations: 9.281 kB / 0.8822 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05589/6.866, allocations: 12.66 MB / 0.8946 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/6.866, allocations: 4 kB / 0.8946 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/6.868, allocations: 115.4 kB / 0.8947 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03365/6.901, allocations: 4.764 MB / 0.8993 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007486/6.902, allocations: 63.89 kB / 0.8994 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07304/6.975, allocations: 18.5 MB / 0.9175 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/6.975, allocations: 4 kB / 0.9175 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04683/7.022, allocations: 7.903 MB / 0.9252 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03689/7.059, allocations: 8.302 MB / 0.9333 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005527/7.065, allocations: 0.8154 MB / 0.9341 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002191/7.067, allocations: 11.98 kB / 0.9341 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005602/7.073, allocations: 43.88 kB / 0.9341 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001621/7.074, allocations: 161.3 kB / 0.9343 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001418/7.076, allocations: 175.9 kB / 0.9345 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.003011/7.079, allocations: 0.7763 MB / 0.9352 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009634/7.088, allocations: 0.6523 MB / 0.9359 GB, free: 172.3 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 (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.001336/7.09, allocations: 130.3 kB / 0.936 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02588/7.116, allocations: 5.728 MB / 0.9416 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/7.116, allocations: 0 / 0.9416 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01694/7.133, allocations: 3.391 MB / 0.9449 GB, free: 163 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/7.135, allocations: 155 kB / 0.945 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/7.159, allocations: 4.473 MB / 0.9494 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005834/7.165, allocations: 1.908 MB / 0.9513 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.053e-06/7.165, allocations: 0 / 0.9513 GB, free: 156.4 MB / 0.6823 GB