Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_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.292/4.292, allocations: 404 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2475/4.54, allocations: 95.01 MB / 0.4941 GB, free: 7.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/5.024, allocations: 92.69 MB / 0.5846 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3014/5.325, allocations: 145 MB / 0.7262 GB, free: 4.629 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/5.326, allocations: 95.92 kB / 0.7263 GB, free: 4.535 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.1638/5.489, allocations: 37.24 MB / 0.7627 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/5.489, allocations: 12 kB / 0.7627 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/5.492, allocations: 238.6 kB / 0.7629 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/5.494, allocations: 0.551 MB / 0.7634 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/5.494, allocations: 23.94 kB / 0.7635 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/5.494, allocations: 36 kB / 0.7635 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002079/5.496, allocations: 0.6209 MB / 0.7641 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/5.499, allocations: 1.033 MB / 0.7651 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/5.499, allocations: 11.84 kB / 0.7651 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/5.499, allocations: 4 kB / 0.7651 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/5.499, allocations: 61.28 kB / 0.7652 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009004/5.508, allocations: 4.774 MB / 0.7699 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/5.51, allocations: 0.5191 MB / 0.7704 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000847/5.511, allocations: 326.1 kB / 0.7707 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/5.511, allocations: 8.375 kB / 0.7707 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/5.511, allocations: 39 kB / 0.7707 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 3.487e-06/5.511, allocations: 0 / 0.7707 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.004253/5.516, allocations: 1.196 MB / 0.7719 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/5.516, allocations: 55.84 kB / 0.7719 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008833/5.517, allocations: 402.1 kB / 0.7723 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.343e-05/5.517, allocations: 29.7 kB / 0.7723 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/5.517, allocations: 350.8 kB / 0.7727 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/5.517, allocations: 161.7 kB / 0.7728 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/5.517, allocations: 0 / 0.7728 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000202/5.517, allocations: 366.8 kB / 0.7732 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007855/5.518, allocations: 261.2 kB / 0.7734 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009439/5.519, allocations: 445.5 kB / 0.7739 GB, free: 2.793 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009294/5.52, allocations: 329.2 kB / 0.7742 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/5.52, allocations: 4 kB / 0.7742 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004306/5.524, allocations: 0.9791 MB / 0.7751 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/5.524, allocations: 5.094 kB / 0.7751 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/5.525, allocations: 4 kB / 0.7751 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/5.527, allocations: 271.7 kB / 0.7754 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/5.528, allocations: 115.8 kB / 0.7755 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/5.542, allocations: 6.208 MB / 0.7816 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/5.543, allocations: 15.98 kB / 0.7816 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/5.543, allocations: 31.98 kB / 0.7816 GB, free: 10.36 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003042/5.544, allocations: 124.9 kB / 0.7817 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/5.544, allocations: 63.25 kB / 0.7818 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/5.548, allocations: 0.8558 MB / 0.7826 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/5.548, allocations: 8 kB / 0.7826 GB, free: 9.285 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/5.548, allocations: 4 kB / 0.7826 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/5.548, allocations: 0 / 0.7826 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006795/5.555, allocations: 1.593 MB / 0.7842 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/5.555, allocations: 3.938 kB / 0.7842 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/5.556, allocations: 59.91 kB / 0.7843 GB, free: 7.551 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/5.558, allocations: 263.4 kB / 0.7845 GB, free: 7.281 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-05/5.558, allocations: 8 kB / 0.7845 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01413/5.573, allocations: 6.18 MB / 0.7906 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/5.573, allocations: 4 kB / 0.7906 GB, free: 0.6289 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004398/5.577, allocations: 1.016 MB / 0.7916 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004625/5.582, allocations: 1.421 MB / 0.7929 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008892/5.583, allocations: 188.2 kB / 0.7931 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/5.583, allocations: 7.984 kB / 0.7931 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/5.584, allocations: 11.98 kB / 0.7931 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/5.584, allocations: 23.97 kB / 0.7932 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/5.585, allocations: 19.91 kB / 0.7932 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009297/5.585, allocations: 302.9 kB / 0.7935 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00411/5.59, allocations: 188 kB / 0.7937 GB, free: 13.28 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(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.0003633/5.59, allocations: 119 kB / 0.7938 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004964/5.595, allocations: 1.145 MB / 0.7949 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/5.595, allocations: 0 / 0.7949 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003284/5.598, allocations: 0.8078 MB / 0.7957 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/5.601, allocations: 160.6 kB / 0.7958 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/5.605, allocations: 1.111 MB / 0.7969 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/5.607, allocations: 1.047 MB / 0.7979 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/5.607, allocations: 4 kB / 0.7979 GB, free: 8.723 MB / 0.6823 GB