Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.492/4.492, allocations: 464.6 MB / 476.8 MB, free: 2.098 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.101e-05/4.112e-05, allocations: 4 kB / 0.5732 GB, free: 5.57 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2476, allocations: 107.2 MB / 0.6778 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9271/1.175, allocations: 155.2 MB / 0.8294 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/1.175, allocations: 100.7 kB / 0.8295 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06852/1.244, allocations: 17.62 MB / 0.8467 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/1.244, allocations: 0 / 0.8467 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.483e-05/1.244, allocations: 8 kB / 0.8467 GB, free: 0.5039 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001494/1.245, allocations: 0.6086 MB / 0.8473 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.245, allocations: 12.03 kB / 0.8473 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/1.246, allocations: 57.52 kB / 0.8474 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/1.247, allocations: 99.61 kB / 0.8475 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/1.247, allocations: 287.6 kB / 0.8477 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/1.247, allocations: 12.38 kB / 0.8478 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.334e-05/1.248, allocations: 19.81 kB / 0.8478 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009147/1.248, allocations: 380.6 kB / 0.8481 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/1.248, allocations: 0 / 0.8481 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/1.249, allocations: 11.62 kB / 0.8482 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.926e-05/1.249, allocations: 20.36 kB / 0.8482 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008517/1.249, allocations: 312.2 kB / 0.8485 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003301/1.253, allocations: 1.655 MB / 0.8501 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/1.254, allocations: 383.2 kB / 0.8505 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/1.255, allocations: 157.9 kB / 0.8506 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002676/1.255, allocations: 93.09 kB / 0.8507 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006052/1.256, allocations: 231.6 kB / 0.8509 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 4.97e-06/1.256, allocations: 0 / 0.8509 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28): time 0.002255/1.258, allocations: 434.2 kB / 0.8513 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/1.258, allocations: 85.2 kB / 0.8514 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/1.258, allocations: 199.4 kB / 0.8516 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/1.258, allocations: 32.83 kB / 0.8516 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/1.259, allocations: 173.5 kB / 0.8518 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/1.259, allocations: 87.81 kB / 0.8519 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/1.259, allocations: 7.5 kB / 0.8519 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.259, allocations: 331.6 kB / 0.8522 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/1.259, allocations: 134 kB / 0.8523 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/1.26, allocations: 206 kB / 0.8525 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/1.26, allocations: 184.5 kB / 0.8527 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.26, allocations: 4 kB / 0.8527 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001328/1.262, allocations: 467.7 kB / 0.8532 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004411/1.262, allocations: 0.9035 MB / 0.854 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/1.262, allocations: 4 kB / 0.854 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003411/1.262, allocations: 36.27 kB / 0.8541 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008368/1.263, allocations: 91.67 kB / 0.8542 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/1.265, allocations: 1.506 MB / 0.8556 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/1.266, allocations: 50.92 kB / 0.8557 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/1.266, allocations: 15.67 kB / 0.8557 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.266, allocations: 4 kB / 0.8557 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001208/1.267, allocations: 408.5 kB / 0.8561 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.267, allocations: 4.031 kB / 0.8561 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/1.268, allocations: 43.56 kB / 0.8561 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/1.268, allocations: 91.25 kB / 0.8562 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/1.27, allocations: 1.478 MB / 0.8577 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/1.271, allocations: 50.55 kB / 0.8577 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/1.271, allocations: 12.06 kB / 0.8577 GB, free: 5.914 MB / 0.6511 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.0002094/1.271, allocations: 131.3 kB / 0.8578 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/1.271, allocations: 27.67 kB / 0.8579 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/1.272, allocations: 402.7 kB / 0.8583 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/1.272, allocations: 4 kB / 0.8583 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.272, allocations: 0 / 0.8583 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.273, allocations: 3.984 kB / 0.8583 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/1.274, allocations: 0.5653 MB / 0.8588 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.274, allocations: 0 / 0.8588 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007678/1.274, allocations: 83.58 kB / 0.8589 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002469/1.275, allocations: 34.89 kB / 0.8589 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/1.275, allocations: 8.562 kB / 0.8589 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/1.276, allocations: 1.403 MB / 0.8603 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.276, allocations: 0 / 0.8603 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/1.278, allocations: 0.5109 MB / 0.8608 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/1.278, allocations: 131.3 kB / 0.8609 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-05/1.278, allocations: 3.875 kB / 0.8609 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/1.279, allocations: 46.52 kB / 0.861 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/1.279, allocations: 35.31 kB / 0.861 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/1.279, allocations: 7.438 kB / 0.861 GB, free: 2.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002769/1.279, allocations: 171.9 kB / 0.8612 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.279, allocations: 0 / 0.8612 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000939/1.28, allocations: 144.6 kB / 0.8613 GB, free: 2.414 MB / 0.6511 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.001682/1.282, allocations: 1.288 MB / 0.8626 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002133/1.284, allocations: 0.8401 MB / 0.8634 GB, free: 468 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.284, allocations: 0 / 0.8634 GB, free: 468 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007261/1.285, allocations: 283.1 kB / 0.8637 GB, free: 228 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/1.285, allocations: 43.22 kB / 0.8637 GB, free: 196 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/1.287, allocations: 0.543 MB / 0.8642 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/1.288, allocations: 0.7943 MB / 0.865 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006397/1.289, allocations: 106 kB / 0.8651 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/1.289, allocations: 81.78 kB / 0.8652 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of SimCode: time 1.262e-06/1.289, allocations: 0 / 0.8652 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/1.323, allocations: 6.832 MB / 0.8719 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/1.323, allocations: 222.6 kB / 0.8721 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.906, allocations: 0 / 0.8721 GB, free: 7.797 MB / 0.6667 GB