Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.193/4.193, allocations: 460.4 MB / 472.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.568e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2266, allocations: 106.2 MB / 0.6719 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.886/1.113, allocations: 175.3 MB / 0.8431 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/1.113, allocations: 96.91 kB / 0.8432 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1199/1.233, allocations: 28.67 MB / 0.8712 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.724e-06/1.233, allocations: 0 / 0.8712 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.737e-05/1.233, allocations: 12 kB / 0.8712 GB, free: 13.33 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.001724/1.235, allocations: 0.6897 MB / 0.8719 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/1.235, allocations: 8.031 kB / 0.8719 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/1.235, allocations: 72.72 kB / 0.872 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004627/1.24, allocations: 0.5709 MB / 0.8725 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/1.241, allocations: 475.7 kB / 0.873 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/1.241, allocations: 21.16 kB / 0.873 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/1.241, allocations: 29.38 kB / 0.873 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/1.243, allocations: 0.583 MB / 0.8736 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/1.243, allocations: 4 kB / 0.8736 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.706e-05/1.243, allocations: 11.36 kB / 0.8736 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/1.243, allocations: 28.64 kB / 0.8736 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/1.244, allocations: 0.5 MB / 0.8741 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00673/1.251, allocations: 2.862 MB / 0.8769 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/1.253, allocations: 350.7 kB / 0.8773 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/1.253, allocations: 166.5 kB / 0.8774 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/1.253, allocations: 81.11 kB / 0.8775 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/1.253, allocations: 54.17 kB / 0.8775 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=16): time 3.587e-06/1.253, allocations: 0 / 0.8775 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24): time 0.01145/1.265, allocations: 2.022 MB / 0.8795 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/1.265, allocations: 85.09 kB / 0.8796 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007559/1.266, allocations: 373.3 kB / 0.88 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.996e-05/1.266, allocations: 28.89 kB / 0.88 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/1.266, allocations: 243.1 kB / 0.8802 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/1.266, allocations: 79.5 kB / 0.8803 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/1.266, allocations: 7.25 kB / 0.8803 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.266, allocations: 341 kB / 0.8806 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006049/1.267, allocations: 247.4 kB / 0.8809 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006638/1.268, allocations: 321.9 kB / 0.8812 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/1.268, allocations: 268.5 kB / 0.8814 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/1.268, allocations: 0 / 0.8814 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005316/1.274, allocations: 1.146 MB / 0.8825 GB, free: 3.215 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003509/1.274, allocations: 0.786 MB / 0.8833 GB, free: 2.387 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.274, allocations: 4 kB / 0.8833 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004669/1.279, allocations: 0.6366 MB / 0.8839 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/1.28, allocations: 127.8 kB / 0.8841 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006217/1.286, allocations: 3.124 MB / 0.8871 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/1.288, allocations: 114 kB / 0.8872 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.249e-05/1.288, allocations: 22.59 kB / 0.8872 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.288, allocations: 4 kB / 0.8872 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004204/1.292, allocations: 0.879 MB / 0.8881 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.292, allocations: 4.188 kB / 0.8881 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002772/1.295, allocations: 398.9 kB / 0.8885 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/1.296, allocations: 139.8 kB / 0.8886 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004936/1.301, allocations: 2.389 MB / 0.891 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/1.302, allocations: 103.8 kB / 0.8911 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.747e-05/1.303, allocations: 19.73 kB / 0.8911 GB, free: 11.28 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.0002237/1.303, allocations: 127.3 kB / 0.8912 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/1.303, allocations: 35.62 kB / 0.8912 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005328/1.308, allocations: 1.12 MB / 0.8923 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/1.308, allocations: 4 kB / 0.8923 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.308, allocations: 0 / 0.8923 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/1.308, allocations: 7.984 kB / 0.8923 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006687/1.315, allocations: 1.783 MB / 0.8941 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.315, allocations: 0 / 0.8941 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/1.316, allocations: 87.98 kB / 0.8942 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004443/1.32, allocations: 0.627 MB / 0.8948 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.33e-05/1.321, allocations: 6.188 kB / 0.8948 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008559/1.329, allocations: 4.383 MB / 0.8991 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.329, allocations: 7.875 kB / 0.8991 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005037/1.334, allocations: 1.161 MB / 0.9002 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/1.335, allocations: 176.7 kB / 0.9004 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/1.335, allocations: 2.812 kB / 0.9004 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.336, allocations: 91.23 kB / 0.9005 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/1.336, allocations: 27.34 kB / 0.9005 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/1.336, allocations: 8 kB / 0.9005 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005671/1.337, allocations: 305.2 kB / 0.9008 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/1.337, allocations: 8 kB / 0.9008 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001272/1.338, allocations: 212.9 kB / 0.901 GB, free: 2.312 MB / 0.6823 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.005813/1.344, allocations: 1.994 MB / 0.9029 GB, free: 480 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003415/1.347, allocations: 1.174 MB / 0.9041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/1.347, allocations: 0 / 0.9041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/1.349, allocations: 0.5623 MB / 0.9046 GB, free: 15.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009726/1.35, allocations: 104.8 kB / 0.9047 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/1.353, allocations: 0.9081 MB / 0.9056 GB, free: 14.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/1.353, allocations: 0.9213 MB / 0.9065 GB, free: 13.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001253/1.355, allocations: 219.1 kB / 0.9067 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/1.355, allocations: 138.3 kB / 0.9069 GB, free: 13.05 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.355, allocations: 0 / 0.9069 GB, free: 13.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05807/1.413, allocations: 16.1 MB / 0.9226 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/1.413, allocations: 189.7 kB / 0.9228 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/4.296, allocations: 11.94 kB / 0.9228 GB, free: 12.88 MB / 0.7136 GB