Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.137/4.137, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.664e-05/4.676e-05, allocations: 4.234 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2309, allocations: 98.72 MB / 0.6302 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2913/0.5223, allocations: 146.3 MB / 0.7731 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004916/0.5229, allocations: 95.92 kB / 0.7732 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6376/1.161, allocations: 16.86 MB / 0.7896 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.395e-06/1.161, allocations: 0 / 0.7896 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.011e-05/1.161, allocations: 12.17 kB / 0.7896 GB, free: 142.5 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001632/1.162, allocations: 0.6093 MB / 0.7902 GB, free: 142 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.162, allocations: 9.531 kB / 0.7902 GB, free: 142 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/1.162, allocations: 62.23 kB / 0.7903 GB, free: 142 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/1.164, allocations: 99.91 kB / 0.7904 GB, free: 142 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/1.164, allocations: 282.9 kB / 0.7907 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/1.164, allocations: 16.05 kB / 0.7907 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/1.164, allocations: 17.59 kB / 0.7907 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009191/1.165, allocations: 362.5 kB / 0.791 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/1.165, allocations: 5.219 kB / 0.791 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/1.166, allocations: 14.12 kB / 0.7911 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.608e-05/1.166, allocations: 24.11 kB / 0.7911 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008549/1.166, allocations: 310.9 kB / 0.7914 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/1.17, allocations: 1.646 MB / 0.793 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/1.171, allocations: 400.7 kB / 0.7934 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/1.171, allocations: 160.6 kB / 0.7935 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/1.172, allocations: 95.66 kB / 0.7936 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005344/1.172, allocations: 230.2 kB / 0.7938 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 3.196e-06/1.172, allocations: 1.219 kB / 0.7938 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28): time 0.001489/1.174, allocations: 426.9 kB / 0.7942 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/1.174, allocations: 80.55 kB / 0.7943 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/1.174, allocations: 197.8 kB / 0.7945 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/1.174, allocations: 36.2 kB / 0.7945 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/1.174, allocations: 171.9 kB / 0.7947 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/1.174, allocations: 88.48 kB / 0.7948 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/1.174, allocations: 5.5 kB / 0.7948 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.437e-05/1.175, allocations: 337.1 kB / 0.7951 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/1.175, allocations: 132.6 kB / 0.7952 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/1.175, allocations: 207 kB / 0.7954 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/1.176, allocations: 183.2 kB / 0.7956 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.176, allocations: 5.188 kB / 0.7956 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00137/1.177, allocations: 462.9 kB / 0.7961 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002343/1.178, allocations: 0.9011 MB / 0.7969 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.178, allocations: 6.531 kB / 0.7969 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003598/1.178, allocations: 52.91 kB / 0.797 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008502/1.179, allocations: 85.52 kB / 0.7971 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/1.181, allocations: 1.497 MB / 0.7985 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/1.181, allocations: 54.5 kB / 0.7986 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/1.181, allocations: 18.27 kB / 0.7986 GB, free: 136 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.181, allocations: 10.75 kB / 0.7986 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/1.183, allocations: 409 kB / 0.799 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.183, allocations: 2.469 kB / 0.799 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/1.183, allocations: 44.97 kB / 0.7991 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/1.184, allocations: 84.89 kB / 0.7991 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/1.185, allocations: 1.476 MB / 0.8006 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/1.186, allocations: 45.06 kB / 0.8006 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/1.186, allocations: 17.8 kB / 0.8006 GB, free: 134.3 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.0001963/1.186, allocations: 135.2 kB / 0.8008 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/1.186, allocations: 23.94 kB / 0.8008 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/1.187, allocations: 387.6 kB / 0.8012 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/1.187, allocations: 4.031 kB / 0.8012 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.187, allocations: 5.578 kB / 0.8012 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/1.187, allocations: 0 / 0.8012 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009626/1.188, allocations: 0.5671 MB / 0.8017 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/1.188, allocations: 2.344 kB / 0.8017 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/1.189, allocations: 78.39 kB / 0.8018 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/1.189, allocations: 43.14 kB / 0.8018 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/1.189, allocations: 10.08 kB / 0.8019 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/1.191, allocations: 1.416 MB / 0.8032 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.191, allocations: 1.062 kB / 0.8032 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/1.192, allocations: 0.5043 MB / 0.8037 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/1.192, allocations: 134.7 kB / 0.8039 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/1.192, allocations: 7.188 kB / 0.8039 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/1.193, allocations: 39.92 kB / 0.8039 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.193, allocations: 37.16 kB / 0.8039 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/1.193, allocations: 10.28 kB / 0.8039 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002508/1.193, allocations: 170.2 kB / 0.8041 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.193, allocations: 0 / 0.8041 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009994/1.194, allocations: 144.3 kB / 0.8042 GB, free: 131.3 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.00145/1.196, allocations: 1.276 MB / 0.8055 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00188/1.198, allocations: 0.8496 MB / 0.8063 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.198, allocations: 7.594 kB / 0.8063 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006424/1.198, allocations: 279 kB / 0.8066 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/1.199, allocations: 45.16 kB / 0.8066 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/1.201, allocations: 0.5462 MB / 0.8072 GB, free: 129 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/1.201, allocations: 0.7917 MB / 0.8079 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005779/1.202, allocations: 108.5 kB / 0.8081 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/1.202, allocations: 83.12 kB / 0.8081 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.794e-06/1.202, allocations: 0 / 0.8081 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/1.238, allocations: 6.818 MB / 0.8148 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/1.238, allocations: 198.8 kB / 0.815 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/3.887, allocations: 0 / 0.815 GB, free: 122.9 MB / 0.6511 GB