Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.945/3.945, allocations: 403.3 MB / 415.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.784e-05/3.786e-05, allocations: 4 kB / 0.4991 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6153/0.6153, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3146/0.93, allocations: 141.9 MB / 0.7282 GB, free: 360 kB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/0.9305, allocations: 91.94 kB / 0.7283 GB, free: 268 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.07067/1.001, allocations: 16.82 MB / 0.7448 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/1.001, allocations: 0 / 0.7448 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.698e-05/1.001, allocations: 8 kB / 0.7448 GB, free: 15.26 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.001582/1.003, allocations: 0.6093 MB / 0.7454 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.003, allocations: 16.03 kB / 0.7454 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/1.003, allocations: 58.53 kB / 0.7454 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/1.004, allocations: 99.56 kB / 0.7455 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/1.005, allocations: 274.5 kB / 0.7458 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/1.005, allocations: 16.44 kB / 0.7458 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/1.005, allocations: 20 kB / 0.7458 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/1.006, allocations: 371 kB / 0.7462 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/1.006, allocations: 8 kB / 0.7462 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/1.006, allocations: 8 kB / 0.7462 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-05/1.006, allocations: 24.34 kB / 0.7462 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008843/1.007, allocations: 320.9 kB / 0.7465 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/1.01, allocations: 1.457 MB / 0.7479 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/1.011, allocations: 393.4 kB / 0.7483 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/1.012, allocations: 161.7 kB / 0.7485 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/1.012, allocations: 85.11 kB / 0.7486 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005666/1.013, allocations: 226.6 kB / 0.7488 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 2.815e-06/1.013, allocations: 0 / 0.7488 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28): time 0.001454/1.014, allocations: 436.8 kB / 0.7492 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/1.014, allocations: 81.11 kB / 0.7493 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/1.015, allocations: 204.8 kB / 0.7495 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/1.015, allocations: 29.7 kB / 0.7495 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/1.015, allocations: 164.1 kB / 0.7496 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/1.015, allocations: 94.67 kB / 0.7497 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/1.015, allocations: 8 kB / 0.7497 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.015, allocations: 338.8 kB / 0.7501 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/1.016, allocations: 140 kB / 0.7502 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/1.016, allocations: 205.4 kB / 0.7504 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/1.016, allocations: 185.8 kB / 0.7506 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.016, allocations: 0 / 0.7506 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001327/1.018, allocations: 473.3 kB / 0.751 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004457/1.018, allocations: 0.9021 MB / 0.7519 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/1.018, allocations: 0 / 0.7519 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/1.019, allocations: 36.83 kB / 0.7519 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007984/1.019, allocations: 95.86 kB / 0.752 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/1.022, allocations: 1.493 MB / 0.7535 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/1.022, allocations: 63.81 kB / 0.7536 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/1.022, allocations: 11.98 kB / 0.7536 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/1.022, allocations: 5.719 kB / 0.7536 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001196/1.023, allocations: 414.3 kB / 0.754 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.023, allocations: 4 kB / 0.754 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/1.024, allocations: 44.81 kB / 0.754 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/1.024, allocations: 83.86 kB / 0.7541 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/1.026, allocations: 1.489 MB / 0.7555 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/1.027, allocations: 55.86 kB / 0.7556 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/1.027, allocations: 12 kB / 0.7556 GB, free: 3.402 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.0002139/1.027, allocations: 128.9 kB / 0.7557 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/1.027, allocations: 23.72 kB / 0.7558 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/1.029, allocations: 399.1 kB / 0.7561 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.029, allocations: 0 / 0.7561 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.029, allocations: 4 kB / 0.7561 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.029, allocations: 3.953 kB / 0.7561 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/1.03, allocations: 0.5545 MB / 0.7567 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.03, allocations: 4 kB / 0.7567 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008251/1.031, allocations: 95.88 kB / 0.7568 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002548/1.031, allocations: 36.77 kB / 0.7568 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/1.031, allocations: 11.95 kB / 0.7568 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/1.033, allocations: 1.413 MB / 0.7582 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.033, allocations: 4.031 kB / 0.7582 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/1.034, allocations: 0.4921 MB / 0.7587 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/1.035, allocations: 140.6 kB / 0.7588 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/1.035, allocations: 8 kB / 0.7588 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/1.035, allocations: 43.95 kB / 0.7589 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.036, allocations: 35.91 kB / 0.7589 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/1.036, allocations: 8 kB / 0.7589 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002809/1.036, allocations: 173.4 kB / 0.7591 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.036, allocations: 0 / 0.7591 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009004/1.037, allocations: 139.9 kB / 0.7592 GB, free: 15.43 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.001784/1.039, allocations: 1.282 MB / 0.7605 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002269/1.041, allocations: 0.8645 MB / 0.7613 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.041, allocations: 4.25 kB / 0.7613 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007473/1.042, allocations: 294.5 kB / 0.7616 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/1.042, allocations: 37.61 kB / 0.7616 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/1.044, allocations: 0.5451 MB / 0.7622 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/1.045, allocations: 0.7885 MB / 0.7629 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006439/1.046, allocations: 102 kB / 0.763 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/1.046, allocations: 87.41 kB / 0.7631 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/1.046, allocations: 0 / 0.7631 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/1.083, allocations: 6.841 MB / 0.7698 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000352/1.084, allocations: 197.8 kB / 0.77 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/3.696, allocations: 5.25 kB / 0.77 GB, free: 4.297 MB / 0.6511 GB