Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.142/4.142, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.885e-05/3.889e-05, allocations: 4.875 kB / 0.5338 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2259, allocations: 98.73 MB / 0.6302 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2646/0.4905, allocations: 145.3 MB / 0.7721 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.4909, allocations: 87.89 kB / 0.7721 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6037/1.095, allocations: 16.11 MB / 0.7879 GB, free: 140 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/1.095, allocations: 0 / 0.7879 GB, free: 140 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.791e-05/1.095, allocations: 9.375 kB / 0.7879 GB, free: 140 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001098/1.096, allocations: 0.515 MB / 0.7884 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.096, allocations: 9.5 kB / 0.7884 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.175e-05/1.096, allocations: 61.23 kB / 0.7885 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/1.097, allocations: 92.53 kB / 0.7885 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/1.098, allocations: 260.8 kB / 0.7888 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/1.098, allocations: 15.8 kB / 0.7888 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/1.098, allocations: 15.86 kB / 0.7888 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007513/1.099, allocations: 352.8 kB / 0.7892 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/1.099, allocations: 1.406 kB / 0.7892 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/1.099, allocations: 12.02 kB / 0.7892 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/1.099, allocations: 18.53 kB / 0.7892 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000717/1.099, allocations: 292.3 kB / 0.7895 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/1.102, allocations: 1.729 MB / 0.7912 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009882/1.103, allocations: 315 kB / 0.7915 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/1.103, allocations: 139.4 kB / 0.7916 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001836/1.103, allocations: 87.56 kB / 0.7917 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/1.103, allocations: 43.27 kB / 0.7917 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 3.457e-06/1.103, allocations: 0 / 0.7917 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.001185/1.105, allocations: 362.3 kB / 0.7921 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/1.105, allocations: 87.48 kB / 0.7921 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/1.105, allocations: 180.5 kB / 0.7923 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/1.105, allocations: 30.48 kB / 0.7923 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/1.105, allocations: 159 kB / 0.7925 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/1.105, allocations: 80.19 kB / 0.7926 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/1.105, allocations: 9 kB / 0.7926 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/1.105, allocations: 334.6 kB / 0.7929 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/1.106, allocations: 115.4 kB / 0.793 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/1.106, allocations: 205.7 kB / 0.7932 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/1.106, allocations: 144.3 kB / 0.7933 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.106, allocations: 1.688 kB / 0.7933 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00101/1.107, allocations: 387.6 kB / 0.7937 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/1.108, allocations: 1.052 MB / 0.7947 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.108, allocations: 1.469 kB / 0.7947 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003471/1.108, allocations: 41.72 kB / 0.7948 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/1.109, allocations: 80.39 kB / 0.7949 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/1.11, allocations: 1.493 MB / 0.7963 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/1.111, allocations: 35.56 kB / 0.7964 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/1.111, allocations: 12.25 kB / 0.7964 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/1.111, allocations: 4.344 kB / 0.7964 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008843/1.112, allocations: 319 kB / 0.7967 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.112, allocations: 6.5 kB / 0.7967 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/1.112, allocations: 41.67 kB / 0.7967 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/1.112, allocations: 69.41 kB / 0.7968 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/1.114, allocations: 1.471 MB / 0.7982 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/1.114, allocations: 37.34 kB / 0.7983 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/1.114, allocations: 13.22 kB / 0.7983 GB, free: 132.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 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.0001432/1.114, allocations: 116.6 kB / 0.7984 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/1.115, allocations: 26.34 kB / 0.7984 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008871/1.115, allocations: 333.2 kB / 0.7987 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/1.116, allocations: 3.469 kB / 0.7987 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/1.116, allocations: 1.406 kB / 0.7987 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/1.116, allocations: 7.703 kB / 0.7987 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/1.117, allocations: 0.9297 MB / 0.7996 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.118, allocations: 2.625 kB / 0.7996 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/1.118, allocations: 53.3 kB / 0.7997 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/1.118, allocations: 42.5 kB / 0.7997 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/1.118, allocations: 7.375 kB / 0.7997 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/1.12, allocations: 1.405 MB / 0.8011 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.12, allocations: 3.062 kB / 0.8011 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008831/1.12, allocations: 0.5916 MB / 0.8017 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/1.121, allocations: 126.9 kB / 0.8018 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/1.121, allocations: 10.36 kB / 0.8018 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/1.121, allocations: 26.17 kB / 0.8019 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/1.121, allocations: 19.75 kB / 0.8019 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/1.121, allocations: 6.625 kB / 0.8019 GB, free: 130 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001931/1.121, allocations: 162.2 kB / 0.802 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.121, allocations: 3.938 kB / 0.802 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000954/1.122, allocations: 118.8 kB / 0.8021 GB, free: 129.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 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.00117/1.124, allocations: 1.629 MB / 0.8037 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001576/1.125, allocations: 0.6646 MB / 0.8044 GB, free: 128 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.125, allocations: 4.438 kB / 0.8044 GB, free: 128 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004769/1.126, allocations: 240.4 kB / 0.8046 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/1.126, allocations: 35.12 kB / 0.8047 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/1.128, allocations: 0.4884 MB / 0.8051 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/1.128, allocations: 0.774 MB / 0.8059 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005003/1.129, allocations: 104.2 kB / 0.806 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/1.129, allocations: 66.22 kB / 0.8061 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.363e-06/1.129, allocations: 5 kB / 0.8061 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/1.156, allocations: 5.319 MB / 0.8113 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/1.156, allocations: 185.6 kB / 0.8114 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/3.616, allocations: 4 kB / 0.8114 GB, free: 124.5 MB / 0.6511 GB