Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.019/4.019, allocations: 403.3 MB / 415.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.903e-05/3.914e-05, allocations: 4 kB / 0.4991 GB, free: 13.28 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6148/0.6148, allocations: 92.68 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2869/0.9018, allocations: 140.9 MB / 0.7272 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/0.9023, allocations: 87.92 kB / 0.7273 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.08247/0.9848, allocations: 16.07 MB / 0.743 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9848, allocations: 0 / 0.743 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.206e-05/0.9849, allocations: 11.94 kB / 0.743 GB, free: 1.027 MB / 0.6198 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.001474/0.9864, allocations: 0.5099 MB / 0.7435 GB, free: 480 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.9865, allocations: 8.031 kB / 0.7435 GB, free: 472 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.9866, allocations: 58.53 kB / 0.7436 GB, free: 404 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.9884, allocations: 103.5 kB / 0.7437 GB, free: 300 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006784/0.9891, allocations: 250.6 kB / 0.7439 GB, free: 8 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.9892, allocations: 24.36 kB / 0.7439 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.9894, allocations: 16 kB / 0.744 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.9906, allocations: 353.5 kB / 0.7443 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.9906, allocations: 4 kB / 0.7443 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-05/0.9907, allocations: 11.98 kB / 0.7443 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.948e-05/0.9908, allocations: 20.33 kB / 0.7443 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.992, allocations: 296.7 kB / 0.7446 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.9959, allocations: 1.532 MB / 0.7461 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.9974, allocations: 322.8 kB / 0.7464 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/0.9979, allocations: 137.7 kB / 0.7465 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.9982, allocations: 89.09 kB / 0.7466 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.9983, allocations: 30.56 kB / 0.7467 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 4.388e-06/0.9983, allocations: 7.938 kB / 0.7467 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.001764/1, allocations: 369.5 kB / 0.747 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/1, allocations: 89.03 kB / 0.7471 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/1.001, allocations: 183.3 kB / 0.7473 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/1.001, allocations: 29.7 kB / 0.7473 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/1.001, allocations: 152.1 kB / 0.7475 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/1.001, allocations: 82.84 kB / 0.7475 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/1.001, allocations: 4 kB / 0.7475 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.001, allocations: 338.8 kB / 0.7479 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/1.002, allocations: 112 kB / 0.748 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/1.002, allocations: 198.4 kB / 0.7482 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/1.003, allocations: 142.7 kB / 0.7483 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.003, allocations: 0 / 0.7483 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001625/1.005, allocations: 400.7 kB / 0.7487 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006102/1.005, allocations: 1.043 MB / 0.7497 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/1.005, allocations: 8 kB / 0.7497 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004233/1.006, allocations: 48.77 kB / 0.7497 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/1.007, allocations: 67.89 kB / 0.7498 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/1.009, allocations: 1.489 MB / 0.7513 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/1.01, allocations: 35.81 kB / 0.7513 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/1.01, allocations: 16 kB / 0.7513 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.01, allocations: 5.406 kB / 0.7513 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001309/1.012, allocations: 330.3 kB / 0.7516 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.012, allocations: 4 kB / 0.7516 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003055/1.012, allocations: 40.81 kB / 0.7517 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/1.013, allocations: 76.23 kB / 0.7518 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/1.015, allocations: 1.473 MB / 0.7532 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/1.016, allocations: 39.88 kB / 0.7532 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/1.016, allocations: 15.94 kB / 0.7532 GB, free: 5.816 MB / 0.6355 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.0002321/1.016, allocations: 118.6 kB / 0.7534 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/1.016, allocations: 19.81 kB / 0.7534 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/1.017, allocations: 335.7 kB / 0.7537 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/1.018, allocations: 7.953 kB / 0.7537 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.018, allocations: 144 / 0.7537 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.018, allocations: 7.969 kB / 0.7537 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/1.021, allocations: 0.9248 MB / 0.7546 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.021, allocations: 4 kB / 0.7546 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/1.021, allocations: 51.89 kB / 0.7547 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003096/1.022, allocations: 40.83 kB / 0.7547 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/1.022, allocations: 4 kB / 0.7547 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/1.024, allocations: 1.402 MB / 0.7561 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.024, allocations: 4.031 kB / 0.7561 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/1.025, allocations: 0.5962 MB / 0.7567 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/1.025, allocations: 120.8 kB / 0.7568 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/1.025, allocations: 8 kB / 0.7568 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/1.026, allocations: 27.97 kB / 0.7568 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.026, allocations: 27.91 kB / 0.7568 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/1.026, allocations: 8 kB / 0.7568 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002245/1.026, allocations: 151 kB / 0.757 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.026, allocations: 0 / 0.757 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008607/1.027, allocations: 115.9 kB / 0.7571 GB, free: 1.535 MB / 0.6355 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.001678/1.029, allocations: 1.639 MB / 0.7587 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001767/1.03, allocations: 0.6727 MB / 0.7594 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.03, allocations: 0 / 0.7594 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005895/1.031, allocations: 258.7 kB / 0.7596 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/1.031, allocations: 35.92 kB / 0.7596 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/1.033, allocations: 0.5049 MB / 0.7601 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/1.034, allocations: 0.7756 MB / 0.7609 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005017/1.034, allocations: 102.1 kB / 0.761 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/1.034, allocations: 71.41 kB / 0.7611 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/1.034, allocations: 0 / 0.7611 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/1.066, allocations: 5.319 MB / 0.7663 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/1.067, allocations: 189.9 kB / 0.7664 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.556, allocations: 0 / 0.7664 GB, free: 7.84 MB / 0.6511 GB