Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",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.321/4.321, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2853/4.606, allocations: 95.02 MB / 0.4941 GB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/5.145, allocations: 92.68 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3037/5.449, allocations: 142.6 MB / 0.7239 GB, free: 7.043 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004278/5.449, allocations: 87.94 kB / 0.724 GB, free: 6.957 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.08858/5.538, allocations: 17.7 MB / 0.7412 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/5.538, allocations: 15.98 kB / 0.7413 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/5.54, allocations: 111.5 kB / 0.7414 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/5.541, allocations: 278.2 kB / 0.7416 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/5.541, allocations: 8 kB / 0.7416 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/5.541, allocations: 12 kB / 0.7417 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001396/5.542, allocations: 248.8 kB / 0.7419 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/5.544, allocations: 357.3 kB / 0.7422 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/5.544, allocations: 0 / 0.7422 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/5.544, allocations: 4 kB / 0.7422 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.18e-05/5.544, allocations: 20.36 kB / 0.7423 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005169/5.55, allocations: 1.414 MB / 0.7436 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/5.551, allocations: 329.5 kB / 0.7439 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/5.552, allocations: 161.7 kB / 0.7441 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003377/5.552, allocations: 97.02 kB / 0.7442 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007998/5.553, allocations: 225.8 kB / 0.7444 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 5.67e-06/5.553, allocations: 0 / 0.7444 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.002473/5.555, allocations: 424.9 kB / 0.7448 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/5.556, allocations: 85.09 kB / 0.7449 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/5.556, allocations: 187 kB / 0.7451 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.133e-05/5.556, allocations: 33.8 kB / 0.7451 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/5.556, allocations: 144.1 kB / 0.7452 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/5.557, allocations: 90.72 kB / 0.7453 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/5.557, allocations: 0 / 0.7453 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000221/5.557, allocations: 334.8 kB / 0.7457 GB, free: 260 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005916/5.558, allocations: 136 kB / 0.7458 GB, free: 124 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007185/5.558, allocations: 201.4 kB / 0.746 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008999/5.559, allocations: 164.1 kB / 0.7461 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/5.559, allocations: 8 kB / 0.7461 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002169/5.561, allocations: 426.5 kB / 0.7465 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006372/5.562, allocations: 0.8698 MB / 0.7474 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/5.562, allocations: 0 / 0.7474 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004876/5.563, allocations: 40.83 kB / 0.7474 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/5.564, allocations: 91.86 kB / 0.7475 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/5.567, allocations: 1.421 MB / 0.7489 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/5.568, allocations: 43.92 kB / 0.7489 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.553e-05/5.568, allocations: 15.98 kB / 0.749 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/5.569, allocations: 4 kB / 0.749 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00195/5.57, allocations: 353.2 kB / 0.7493 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/5.571, allocations: 0 / 0.7493 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/5.571, allocations: 44.81 kB / 0.7493 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/5.572, allocations: 92.06 kB / 0.7494 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/5.575, allocations: 1.406 MB / 0.7508 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/5.576, allocations: 47.91 kB / 0.7509 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.063e-05/5.576, allocations: 12 kB / 0.7509 GB, free: 10.55 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003875/5.577, allocations: 112.9 kB / 0.751 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/5.577, allocations: 31.56 kB / 0.751 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/5.579, allocations: 387.9 kB / 0.7514 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/5.579, allocations: 4 kB / 0.7514 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/5.579, allocations: 0 / 0.7514 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/5.579, allocations: 3.984 kB / 0.7514 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/5.581, allocations: 0.5159 MB / 0.7519 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/5.581, allocations: 0 / 0.7519 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/5.582, allocations: 83.97 kB / 0.752 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000341/5.582, allocations: 36.83 kB / 0.752 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/5.582, allocations: 3.984 kB / 0.752 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/5.585, allocations: 1.35 MB / 0.7533 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/5.585, allocations: 0 / 0.7533 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001963/5.587, allocations: 0.4957 MB / 0.7538 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002211/5.589, allocations: 0.8926 MB / 0.7547 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/5.59, allocations: 136.7 kB / 0.7548 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/5.59, allocations: 4 kB / 0.7548 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/5.591, allocations: 35.95 kB / 0.7548 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/5.591, allocations: 31.88 kB / 0.7549 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/5.591, allocations: 11.98 kB / 0.7549 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003537/5.591, allocations: 156.5 kB / 0.755 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004753/5.596, allocations: 128 kB / 0.7552 GB, free: 5.867 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004338/5.597, allocations: 126.9 kB / 0.7553 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003068/5.6, allocations: 0.7698 MB / 0.756 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/5.6, allocations: 0 / 0.756 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/5.601, allocations: 277.5 kB / 0.7563 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008328/5.602, allocations: 37.41 kB / 0.7563 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/5.604, allocations: 478.1 kB / 0.7568 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/5.605, allocations: 0.8236 MB / 0.7576 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of SimCode: time 5.881e-06/5.605, allocations: 4 kB / 0.7576 GB, free: 3.258 MB / 0.6355 GB