Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.421/4.421, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.089e-05/4.123e-05, allocations: 7.938 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2318, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9818/1.214, allocations: 175.7 MB / 0.8494 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/1.214, allocations: 104.7 kB / 0.8495 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1218/1.336, allocations: 28.65 MB / 0.8775 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.348e-06/1.336, allocations: 0 / 0.8775 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.114e-05/1.336, allocations: 15.94 kB / 0.8775 GB, free: 3.656 MB / 0.6667 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.001942/1.338, allocations: 0.6877 MB / 0.8782 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/1.338, allocations: 12.03 kB / 0.8782 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002226/1.338, allocations: 71.16 kB / 0.8783 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/1.343, allocations: 0.5636 MB / 0.8788 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/1.344, allocations: 481.6 kB / 0.8793 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/1.345, allocations: 20.47 kB / 0.8793 GB, free: 1.867 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/1.345, allocations: 30.59 kB / 0.8793 GB, free: 1.844 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/1.346, allocations: 0.5821 MB / 0.8799 GB, free: 1.391 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/1.346, allocations: 7.938 kB / 0.8799 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/1.346, allocations: 13.88 kB / 0.8799 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/1.346, allocations: 20.77 kB / 0.8799 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/1.348, allocations: 0.5049 MB / 0.8804 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006891/1.355, allocations: 2.86 MB / 0.8832 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/1.356, allocations: 351 kB / 0.8836 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/1.357, allocations: 167.5 kB / 0.8837 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/1.357, allocations: 89.08 kB / 0.8838 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/1.357, allocations: 41.81 kB / 0.8838 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 3.306e-06/1.357, allocations: 0 / 0.8838 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24): time 0.0123/1.369, allocations: 2.029 MB / 0.8858 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/1.37, allocations: 88.92 kB / 0.8859 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/1.37, allocations: 367 kB / 0.8863 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/1.371, allocations: 29.58 kB / 0.8863 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/1.371, allocations: 248 kB / 0.8865 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/1.371, allocations: 73.22 kB / 0.8866 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/1.371, allocations: 11.38 kB / 0.8866 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.371, allocations: 341.6 kB / 0.8869 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/1.372, allocations: 248.5 kB / 0.8872 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006944/1.373, allocations: 320.7 kB / 0.8875 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/1.373, allocations: 275.7 kB / 0.8877 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.373, allocations: 0 / 0.8877 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005361/1.379, allocations: 1.133 MB / 0.8888 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000383/1.379, allocations: 0.7917 MB / 0.8896 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.379, allocations: 3.984 kB / 0.8896 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004661/1.384, allocations: 0.6315 MB / 0.8902 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/1.385, allocations: 135.6 kB / 0.8904 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006243/1.391, allocations: 3.118 MB / 0.8934 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/1.393, allocations: 117.2 kB / 0.8935 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/1.393, allocations: 15.38 kB / 0.8935 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/1.393, allocations: 4 kB / 0.8935 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004077/1.397, allocations: 0.8728 MB / 0.8944 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/1.397, allocations: 7.953 kB / 0.8944 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002833/1.4, allocations: 394.8 kB / 0.8948 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/1.401, allocations: 143.6 kB / 0.8949 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005244/1.406, allocations: 2.396 MB / 0.8972 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.408, allocations: 107 kB / 0.8974 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/1.408, allocations: 11.25 kB / 0.8974 GB, free: 1.609 MB / 0.6823 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.0002246/1.408, allocations: 127 kB / 0.8975 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/1.408, allocations: 47.47 kB / 0.8975 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005323/1.414, allocations: 1.113 MB / 0.8986 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/1.414, allocations: 3.984 kB / 0.8986 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.414, allocations: 4 kB / 0.8986 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.414, allocations: 0 / 0.8986 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006855/1.421, allocations: 1.79 MB / 0.9004 GB, free: 15.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.421, allocations: 0 / 0.9004 GB, free: 15.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007828/1.421, allocations: 87.94 kB / 0.9005 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004493/1.426, allocations: 0.6186 MB / 0.9011 GB, free: 14.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.28e-05/1.426, allocations: 11.31 kB / 0.9011 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008803/1.435, allocations: 4.377 MB / 0.9053 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.435, allocations: 0 / 0.9053 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005134/1.44, allocations: 1.165 MB / 0.9065 GB, free: 9.355 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/1.441, allocations: 180.1 kB / 0.9067 GB, free: 9.184 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.441, allocations: 2.938 kB / 0.9067 GB, free: 9.184 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/1.442, allocations: 95.23 kB / 0.9067 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/1.442, allocations: 19.53 kB / 0.9068 GB, free: 9.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/1.442, allocations: 15.61 kB / 0.9068 GB, free: 9.066 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006012/1.443, allocations: 301 kB / 0.9071 GB, free: 8.844 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.443, allocations: 0 / 0.9071 GB, free: 8.844 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001332/1.444, allocations: 218.8 kB / 0.9073 GB, free: 8.648 MB / 0.698 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.005956/1.45, allocations: 1.996 MB / 0.9092 GB, free: 6.805 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003476/1.454, allocations: 1.174 MB / 0.9104 GB, free: 5.918 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/1.454, allocations: 0 / 0.9104 GB, free: 5.918 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/1.455, allocations: 0.5708 MB / 0.9109 GB, free: 5.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009965/1.456, allocations: 112.2 kB / 0.911 GB, free: 5.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/1.459, allocations: 0.9 MB / 0.9119 GB, free: 4.551 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007483/1.46, allocations: 0.9205 MB / 0.9128 GB, free: 3.637 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001302/1.461, allocations: 223 kB / 0.913 GB, free: 3.418 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/1.462, allocations: 135.2 kB / 0.9132 GB, free: 3.375 MB / 0.698 GB Notification: Performance of SimCode: time 1.362e-06/1.462, allocations: 0 / 0.9132 GB, free: 3.375 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07069/1.532, allocations: 16.1 MB / 0.9289 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/1.533, allocations: 202.7 kB / 0.9291 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.85/4.383, allocations: 0 / 0.9291 GB, free: 3.223 MB / 0.7136 GB