Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",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.493/4.493, allocations: 404 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2844/4.777, allocations: 95.01 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5755/5.353, allocations: 92.69 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.975/11.33, allocations: 2.198 GB / 2.783 GB, free: 18.55 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003993/11.33, allocations: 98.88 kB / 2.783 GB, free: 18.5 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.6335/11.96, allocations: 58.6 MB / 2.84 GB, free: 261 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/11.96, allocations: 11.59 kB / 2.84 GB, free: 261 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005535/11.97, allocations: 437.3 kB / 2.841 GB, free: 261 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/11.97, allocations: 0.7401 MB / 2.841 GB, free: 260.5 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/11.97, allocations: 37.66 kB / 2.841 GB, free: 260.5 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/11.97, allocations: 61.5 kB / 2.841 GB, free: 260.5 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004216/11.97, allocations: 1.367 MB / 2.843 GB, free: 260.1 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004478/11.98, allocations: 1.127 MB / 2.844 GB, free: 259.6 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.964e-05/11.98, allocations: 5.031 kB / 2.844 GB, free: 259.6 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/11.98, allocations: 6.312 kB / 2.844 GB, free: 259.6 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/11.98, allocations: 58.56 kB / 2.844 GB, free: 259.6 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/11.99, allocations: 3.988 MB / 2.848 GB, free: 256.8 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/11.99, allocations: 0.9635 MB / 2.849 GB, free: 256.4 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/12, allocations: 423.5 kB / 2.849 GB, free: 256.2 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/12, allocations: 0.548 MB / 2.85 GB, free: 255.6 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/12, allocations: 0.5609 MB / 2.85 GB, free: 255.2 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=94): time 4.338e-06/12, allocations: 0 / 2.85 GB, free: 255.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=95): time 0.006247/12.01, allocations: 1.443 MB / 2.852 GB, free: 254.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/12.01, allocations: 227.2 kB / 2.852 GB, free: 254.2 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/12.01, allocations: 0.7028 MB / 2.853 GB, free: 253.6 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003058/12.01, allocations: 29.7 kB / 2.853 GB, free: 253.5 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/12.01, allocations: 392 kB / 2.853 GB, free: 253.1 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005527/12.01, allocations: 303.4 kB / 2.853 GB, free: 252.8 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/12.01, allocations: 0 / 2.853 GB, free: 252.8 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000183/12.01, allocations: 398.7 kB / 2.854 GB, free: 252.4 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/12.01, allocations: 361.8 kB / 2.854 GB, free: 252.1 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/12.01, allocations: 0.5129 MB / 2.854 GB, free: 251.5 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/12.01, allocations: 0.5337 MB / 2.855 GB, free: 251 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/12.01, allocations: 0 / 2.855 GB, free: 251 MB / 0.7605 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.005251/12.02, allocations: 1.225 MB / 2.856 GB, free: 249.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002674/12.02, allocations: 1.138 MB / 2.857 GB, free: 248.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/12.02, allocations: 4 kB / 2.857 GB, free: 248.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/12.02, allocations: 100.8 kB / 2.857 GB, free: 248.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/12.02, allocations: 223.7 kB / 2.858 GB, free: 248.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/12.02, allocations: 0.6499 MB / 2.858 GB, free: 247.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/12.03, allocations: 87.42 kB / 2.858 GB, free: 247.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/12.03, allocations: 43.92 kB / 2.858 GB, free: 247.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/12.03, allocations: 8 kB / 2.858 GB, free: 247.4 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003916/12.03, allocations: 0.982 MB / 2.859 GB, free: 246.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/12.03, allocations: 8.031 kB / 2.859 GB, free: 246.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/12.03, allocations: 12 kB / 2.859 GB, free: 246.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/12.03, allocations: 219.6 kB / 2.86 GB, free: 246.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/12.03, allocations: 15.92 kB / 2.86 GB, free: 246.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/12.03, allocations: 71.48 kB / 2.86 GB, free: 246.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/12.03, allocations: 47.97 kB / 2.86 GB, free: 246 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004187/12.04, allocations: 132.6 kB / 2.86 GB, free: 245.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/12.04, allocations: 98.78 kB / 2.86 GB, free: 245.8 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007276/12.04, allocations: 1.455 MB / 2.861 GB, free: 244.3 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/12.04, allocations: 12 kB / 2.861 GB, free: 244.3 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/12.04, allocations: 0 / 2.861 GB, free: 244.3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/12.04, allocations: 7.969 kB / 2.861 GB, free: 244.3 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008495/12.05, allocations: 2.561 MB / 2.864 GB, free: 241.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/12.05, allocations: 4 kB / 2.864 GB, free: 241.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/12.05, allocations: 199.9 kB / 2.864 GB, free: 241.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/12.06, allocations: 192.7 kB / 2.864 GB, free: 241.3 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000208/12.06, allocations: 15.98 kB / 2.864 GB, free: 241.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/12.06, allocations: 1.685 MB / 2.866 GB, free: 239.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/12.06, allocations: 3.984 kB / 2.866 GB, free: 239.5 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006919/12.07, allocations: 1.495 MB / 2.867 GB, free: 237.9 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007165/12.07, allocations: 1.901 MB / 2.869 GB, free: 235.9 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/12.08, allocations: 351.4 kB / 2.87 GB, free: 235.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004313/12.08, allocations: 8 kB / 2.87 GB, free: 235.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/12.08, allocations: 83.81 kB / 2.87 GB, free: 235.5 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/12.08, allocations: 60.69 kB / 2.87 GB, free: 235.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002191/12.08, allocations: 35.98 kB / 2.87 GB, free: 235.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001589/12.08, allocations: 0.5538 MB / 2.87 GB, free: 234.8 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007727/12.09, allocations: 0.605 MB / 2.871 GB, free: 234.2 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003588/12.09, allocations: 0.731 MB / 2.872 GB, free: 233.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00655/12.1, allocations: 1.609 MB / 2.873 GB, free: 232.1 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/12.1, allocations: 0 / 2.873 GB, free: 232.1 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002564/12.1, allocations: 0.6148 MB / 2.874 GB, free: 231.4 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/12.1, allocations: 199.2 kB / 2.874 GB, free: 231.2 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009116/12.11, allocations: 1.767 MB / 2.876 GB, free: 229.4 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002949/12.12, allocations: 1.302 MB / 2.877 GB, free: 228.1 MB / 0.7605 GB Notification: Performance of SimCode: time 1.543e-06/12.12, allocations: 0 / 2.877 GB, free: 228.1 MB / 0.7605 GB