Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.503/4.503, allocations: 464.6 MB / 476.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.465e-05, allocations: 4 kB / 0.5732 GB, free: 5.656 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2402, allocations: 107.1 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8862/1.126, allocations: 152.6 MB / 0.8269 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/1.127, allocations: 88.88 kB / 0.827 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06131/1.188, allocations: 16.19 MB / 0.8428 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.945e-06/1.188, allocations: 0 / 0.8428 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.736e-05/1.188, allocations: 11.38 kB / 0.8428 GB, free: 4.188 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001057/1.189, allocations: 0.519 MB / 0.8433 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.189, allocations: 8.031 kB / 0.8433 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.701e-05/1.189, allocations: 58.78 kB / 0.8434 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/1.191, allocations: 99.14 kB / 0.8435 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/1.191, allocations: 252.8 kB / 0.8437 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/1.191, allocations: 15.89 kB / 0.8437 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.716e-05/1.191, allocations: 19.19 kB / 0.8437 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009954/1.192, allocations: 351.3 kB / 0.8441 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/1.192, allocations: 2.625 kB / 0.8441 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/1.192, allocations: 7.438 kB / 0.8441 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/1.193, allocations: 23.12 kB / 0.8441 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/1.194, allocations: 294.7 kB / 0.8444 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/1.197, allocations: 1.72 MB / 0.8461 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009489/1.198, allocations: 309.2 kB / 0.8464 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/1.198, allocations: 139 kB / 0.8465 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/1.198, allocations: 96.53 kB / 0.8466 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/1.198, allocations: 30.56 kB / 0.8466 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 3.456e-06/1.198, allocations: 0 / 0.8466 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.001142/1.199, allocations: 374.1 kB / 0.847 GB, free: 244 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/1.199, allocations: 85.09 kB / 0.847 GB, free: 140 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/1.2, allocations: 185.7 kB / 0.8472 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/1.2, allocations: 29.64 kB / 0.8472 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/1.2, allocations: 155.2 kB / 0.8474 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.79e-05/1.2, allocations: 80.95 kB / 0.8475 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/1.2, allocations: 7.562 kB / 0.8475 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.2, allocations: 337.4 kB / 0.8478 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/1.2, allocations: 107.9 kB / 0.8479 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/1.201, allocations: 197.8 kB / 0.8481 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/1.201, allocations: 146.8 kB / 0.8482 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.201, allocations: 0 / 0.8482 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00111/1.202, allocations: 400.6 kB / 0.8486 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004682/1.203, allocations: 1.039 MB / 0.8496 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.203, allocations: 4 kB / 0.8496 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/1.203, allocations: 46.92 kB / 0.8497 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/1.204, allocations: 75.06 kB / 0.8498 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/1.206, allocations: 1.496 MB / 0.8512 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/1.207, allocations: 31.86 kB / 0.8512 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/1.207, allocations: 8 kB / 0.8513 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.207, allocations: 7.938 kB / 0.8513 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00101/1.208, allocations: 327.8 kB / 0.8516 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.208, allocations: 4 kB / 0.8516 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002416/1.208, allocations: 36.27 kB / 0.8516 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/1.209, allocations: 70.89 kB / 0.8517 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/1.21, allocations: 1.48 MB / 0.8531 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/1.211, allocations: 27.25 kB / 0.8531 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/1.211, allocations: 15.38 kB / 0.8532 GB, free: 10.05 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.0001895/1.211, allocations: 131.4 kB / 0.8533 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/1.211, allocations: 19.72 kB / 0.8533 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/1.212, allocations: 325.9 kB / 0.8536 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.212, allocations: 0 / 0.8536 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/1.212, allocations: 12.12 kB / 0.8536 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.212, allocations: 3.984 kB / 0.8536 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/1.215, allocations: 0.9407 MB / 0.8546 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.215, allocations: 0 / 0.8546 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/1.215, allocations: 59.7 kB / 0.8546 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002151/1.215, allocations: 32.2 kB / 0.8546 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/1.215, allocations: 7.438 kB / 0.8546 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/1.217, allocations: 1.4 MB / 0.856 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/1.217, allocations: 8.016 kB / 0.856 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/1.218, allocations: 0.5836 MB / 0.8566 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/1.218, allocations: 127.4 kB / 0.8567 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/1.218, allocations: 7.5 kB / 0.8567 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/1.219, allocations: 19.97 kB / 0.8567 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/1.219, allocations: 27.75 kB / 0.8568 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/1.219, allocations: 11.42 kB / 0.8568 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002184/1.219, allocations: 156.3 kB / 0.8569 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.7e-07/1.219, allocations: 0 / 0.8569 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009269/1.22, allocations: 125.5 kB / 0.857 GB, free: 6.23 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.001645/1.222, allocations: 1.626 MB / 0.8586 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001763/1.224, allocations: 0.659 MB / 0.8593 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.224, allocations: 0 / 0.8593 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005503/1.224, allocations: 247.9 kB / 0.8595 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/1.225, allocations: 32.22 kB / 0.8595 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/1.226, allocations: 0.49 MB / 0.86 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/1.227, allocations: 0.7825 MB / 0.8608 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005015/1.227, allocations: 85.98 kB / 0.8609 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/1.228, allocations: 72.34 kB / 0.8609 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of SimCode: time 1.412e-06/1.228, allocations: 0 / 0.8609 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/1.265, allocations: 5.32 MB / 0.8661 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/1.266, allocations: 192.3 kB / 0.8663 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.731, allocations: 0 / 0.8663 GB, free: 12.98 MB / 0.6667 GB