Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.824/3.824, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.521e-05/3.506e-05, allocations: 4 kB / 0.4992 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6517/0.6517, allocations: 92.67 MB / 0.5897 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2891/0.9409, allocations: 163.9 MB / 0.7498 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/0.9413, allocations: 95.94 kB / 0.7498 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6384/1.58, allocations: 28.45 MB / 0.7776 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.184e-06/1.58, allocations: 0.5938 kB / 0.7776 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.901e-05/1.58, allocations: 7.594 kB / 0.7776 GB, free: 167.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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001575/1.581, allocations: 0.6904 MB / 0.7783 GB, free: 167 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.581, allocations: 9.062 kB / 0.7783 GB, free: 167 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/1.582, allocations: 78.77 kB / 0.7784 GB, free: 167 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004502/1.586, allocations: 0.5696 MB / 0.779 GB, free: 167 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/1.588, allocations: 473.7 kB / 0.7794 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/1.588, allocations: 25.75 kB / 0.7794 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/1.588, allocations: 31.44 kB / 0.7795 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/1.589, allocations: 0.5814 MB / 0.78 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/1.589, allocations: 8.812 kB / 0.78 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.461e-05/1.589, allocations: 11.28 kB / 0.78 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/1.589, allocations: 28.14 kB / 0.7801 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/1.591, allocations: 0.5005 MB / 0.7806 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005905/1.597, allocations: 2.342 MB / 0.7828 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/1.598, allocations: 357 kB / 0.7832 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/1.598, allocations: 162 kB / 0.7833 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/1.599, allocations: 87.27 kB / 0.7834 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/1.599, allocations: 31.94 kB / 0.7835 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.946e-06/1.599, allocations: 3.25 kB / 0.7835 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.01074/1.609, allocations: 2.036 MB / 0.7854 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/1.61, allocations: 83.64 kB / 0.7855 GB, free: 165.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/1.61, allocations: 374.4 kB / 0.7859 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/1.61, allocations: 28.39 kB / 0.7859 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/1.611, allocations: 235.6 kB / 0.7861 GB, free: 165 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/1.611, allocations: 91.86 kB / 0.7862 GB, free: 164.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/1.611, allocations: 3.812 kB / 0.7862 GB, free: 164.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/1.611, allocations: 350.7 kB / 0.7866 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/1.611, allocations: 236.8 kB / 0.7868 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/1.612, allocations: 325.5 kB / 0.7871 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/1.613, allocations: 267.6 kB / 0.7874 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.613, allocations: 3.172 kB / 0.7874 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00483/1.617, allocations: 1.144 MB / 0.7885 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/1.618, allocations: 0.7868 MB / 0.7892 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.618, allocations: 7.562 kB / 0.7892 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00421/1.622, allocations: 0.6296 MB / 0.7899 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.623, allocations: 136 kB / 0.79 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005232/1.628, allocations: 3.118 MB / 0.793 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/1.63, allocations: 110.2 kB / 0.7931 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/1.63, allocations: 17.11 kB / 0.7932 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.63, allocations: 3.844 kB / 0.7932 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003658/1.633, allocations: 0.8795 MB / 0.794 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.634, allocations: 2.969 kB / 0.794 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002555/1.636, allocations: 395.5 kB / 0.7944 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.637, allocations: 149.6 kB / 0.7945 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/1.642, allocations: 2.391 MB / 0.7969 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.643, allocations: 110.7 kB / 0.797 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/1.643, allocations: 11.88 kB / 0.797 GB, free: 159.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001962/1.643, allocations: 129.1 kB / 0.7971 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.643, allocations: 31.09 kB / 0.7971 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004832/1.648, allocations: 1.121 MB / 0.7982 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.648, allocations: 2.906 kB / 0.7982 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.648, allocations: 7.938 kB / 0.7983 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/1.648, allocations: 3.609 kB / 0.7983 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005986/1.654, allocations: 1.79 MB / 0.8 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.654, allocations: 3.703 kB / 0.8 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007088/1.655, allocations: 87.06 kB / 0.8001 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004112/1.659, allocations: 0.6179 MB / 0.8007 GB, free: 158.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.87e-05/1.659, allocations: 7.781 kB / 0.8007 GB, free: 158.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007341/1.667, allocations: 4.396 MB / 0.805 GB, free: 155.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.667, allocations: 0 / 0.805 GB, free: 155.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004553/1.671, allocations: 1.168 MB / 0.8061 GB, free: 154.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/1.672, allocations: 172.3 kB / 0.8063 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/1.672, allocations: 7.406 kB / 0.8063 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009577/1.673, allocations: 88.91 kB / 0.8064 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/1.673, allocations: 33.23 kB / 0.8064 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/1.673, allocations: 6.719 kB / 0.8064 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004769/1.673, allocations: 306.9 kB / 0.8067 GB, free: 154.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/1.673, allocations: 0 / 0.8067 GB, free: 154.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001238/1.675, allocations: 220 kB / 0.8069 GB, free: 154.6 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005111/1.68, allocations: 1.985 MB / 0.8089 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00311/1.683, allocations: 1.183 MB / 0.81 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.683, allocations: 0 / 0.81 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/1.684, allocations: 0.5625 MB / 0.8106 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000957/1.685, allocations: 117.7 kB / 0.8107 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/1.688, allocations: 1.005 MB / 0.8117 GB, free: 151.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/1.689, allocations: 0.923 MB / 0.8126 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001127/1.69, allocations: 223.9 kB / 0.8128 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/1.69, allocations: 134.3 kB / 0.8129 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/1.69, allocations: 0 / 0.8129 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04759/1.738, allocations: 16.18 MB / 0.8287 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/1.738, allocations: 196.3 kB / 0.8289 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/4.563, allocations: 0 / 0.8289 GB, free: 135.3 MB / 0.6511 GB