Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.212/4.212, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.269/4.481, allocations: 95.01 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4932/4.974, allocations: 92.69 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3898/5.364, allocations: 169.4 MB / 0.75 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005342/5.364, allocations: 91.94 kB / 0.7501 GB, free: 12.15 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.1593/5.524, allocations: 32.01 MB / 0.7813 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/5.524, allocations: 15.92 kB / 0.7814 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/5.527, allocations: 194.9 kB / 0.7815 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/5.529, allocations: 0.5013 MB / 0.782 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/5.529, allocations: 16 kB / 0.7821 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/5.529, allocations: 39.98 kB / 0.7821 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001686/5.531, allocations: 478 kB / 0.7825 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/5.533, allocations: 0.791 MB / 0.7833 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/5.533, allocations: 7.938 kB / 0.7833 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.996e-05/5.533, allocations: 4 kB / 0.7833 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/5.533, allocations: 48.97 kB / 0.7834 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007751/5.541, allocations: 3.686 MB / 0.787 GB, free: 5.648 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/5.542, allocations: 274.5 kB / 0.7872 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/5.543, allocations: 224.7 kB / 0.7875 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/5.543, allocations: 4 kB / 0.7875 GB, free: 5.145 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/5.543, allocations: 38.56 kB / 0.7875 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 3.697e-06/5.543, allocations: 0 / 0.7875 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.008932/5.552, allocations: 2.022 MB / 0.7895 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/5.552, allocations: 55.41 kB / 0.7895 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/5.553, allocations: 333 kB / 0.7898 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/5.553, allocations: 25.7 kB / 0.7899 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/5.553, allocations: 291.5 kB / 0.7901 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/5.553, allocations: 138 kB / 0.7903 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/5.553, allocations: 0 / 0.7903 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002157/5.553, allocations: 366.7 kB / 0.7906 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007197/5.554, allocations: 229.2 kB / 0.7908 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008646/5.555, allocations: 368.1 kB / 0.7912 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009237/5.556, allocations: 285.3 kB / 0.7915 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/5.556, allocations: 4 kB / 0.7915 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003605/5.56, allocations: 0.8436 MB / 0.7923 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/5.56, allocations: 4 kB / 0.7923 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/5.56, allocations: 8 kB / 0.7923 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001764/5.561, allocations: 222.9 kB / 0.7925 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/5.563, allocations: 107.8 kB / 0.7926 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008866/5.572, allocations: 4.615 MB / 0.7971 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009768/5.573, allocations: 19.95 kB / 0.7971 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/5.573, allocations: 24.12 kB / 0.7972 GB, free: 10.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002179/5.573, allocations: 124.5 kB / 0.7973 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/5.573, allocations: 51.44 kB / 0.7973 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/5.576, allocations: 0.7459 MB / 0.7981 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/5.576, allocations: 4 kB / 0.7981 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/5.576, allocations: 0 / 0.7981 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/5.576, allocations: 4 kB / 0.7981 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004849/5.581, allocations: 1.377 MB / 0.7994 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/5.581, allocations: 8 kB / 0.7994 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009932/5.582, allocations: 63.91 kB / 0.7995 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/5.584, allocations: 206.5 kB / 0.7997 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-05/5.584, allocations: 4 kB / 0.7997 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008774/5.593, allocations: 4.533 MB / 0.8041 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/5.593, allocations: 4 kB / 0.8041 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004037/5.597, allocations: 1.198 MB / 0.8053 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2731/5.87, allocations: 1.895 MB / 0.8071 GB, free: 268.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/5.871, allocations: 164.2 kB / 0.8073 GB, free: 268.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/5.871, allocations: 3.656 kB / 0.8073 GB, free: 268.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/5.872, allocations: 14.92 kB / 0.8073 GB, free: 268.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/5.872, allocations: 32.31 kB / 0.8073 GB, free: 268.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/5.872, allocations: 11.38 kB / 0.8074 GB, free: 268.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000391/5.872, allocations: 254 kB / 0.8076 GB, free: 268.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002151/5.874, allocations: 152.4 kB / 0.8077 GB, free: 268.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003195/5.875, allocations: 118.6 kB / 0.8079 GB, free: 268.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002516/5.877, allocations: 0.9237 MB / 0.8088 GB, free: 267.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/5.877, allocations: 0 / 0.8088 GB, free: 267.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/5.879, allocations: 0.6161 MB / 0.8094 GB, free: 267.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/5.88, allocations: 143.5 kB / 0.8095 GB, free: 267.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/5.883, allocations: 1.005 MB / 0.8105 GB, free: 267.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008922/5.884, allocations: 0.9927 MB / 0.8114 GB, free: 266.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.674e-06/5.884, allocations: 2.75 kB / 0.8114 GB, free: 266.6 MB / 0.6823 GB