Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.578/4.578, allocations: 404.1 MB / 411.3 MB, free: 444 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.021e-05/4.035e-05, allocations: 4 kB / 0.4945 GB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.6751, allocations: 92.69 MB / 0.5851 GB, free: 2.324 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3964/1.071, allocations: 169.2 MB / 0.7503 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004365/1.072, allocations: 99.94 kB / 0.7504 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.071/2.143, allocations: 100.9 MB / 0.8489 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.006e-06/2.143, allocations: 0 / 0.8489 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001758/2.143, allocations: 60 kB / 0.849 GB, free: 119.3 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.01059/2.154, allocations: 2.333 MB / 0.8512 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/2.154, allocations: 8.031 kB / 0.8512 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02318/2.177, allocations: 1.877 MB / 0.8531 GB, free: 115 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006172/2.183, allocations: 1.658 MB / 0.8547 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/2.183, allocations: 96 kB / 0.8548 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001405/2.185, allocations: 160 kB / 0.8549 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01246/2.197, allocations: 3.951 MB / 0.8588 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/2.211, allocations: 4.312 MB / 0.863 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.421e-05/2.212, allocations: 7.984 kB / 0.863 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005864/2.212, allocations: 0 / 0.863 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000558/2.213, allocations: 200.7 kB / 0.8632 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0391/2.252, allocations: 15.75 MB / 0.8786 GB, free: 88.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005582/2.257, allocations: 2.49 MB / 0.881 GB, free: 85.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/2.261, allocations: 1.325 MB / 0.8823 GB, free: 84.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003255/2.261, allocations: 130.3 kB / 0.8824 GB, free: 84.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/2.261, allocations: 43.88 kB / 0.8825 GB, free: 84.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=132): time 5.059e-06/2.261, allocations: 0 / 0.8825 GB, free: 84.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=174): time 0.02728/2.289, allocations: 7.708 MB / 0.89 GB, free: 76.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/2.289, allocations: 227 kB / 0.8902 GB, free: 76 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/2.291, allocations: 0.8117 MB / 0.891 GB, free: 75.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0005241/2.291, allocations: 25.7 kB / 0.891 GB, free: 75.14 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007714/2.292, allocations: 1.142 MB / 0.8922 GB, free: 73.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000885/2.293, allocations: 0.5658 MB / 0.8927 GB, free: 73.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/2.293, allocations: 0 / 0.8927 GB, free: 73.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002286/2.293, allocations: 431.2 kB / 0.8931 GB, free: 72.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/2.297, allocations: 1.328 MB / 0.8944 GB, free: 71.65 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003786/2.301, allocations: 1.892 MB / 0.8963 GB, free: 69.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006745/2.307, allocations: 1.973 MB / 0.8982 GB, free: 67.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.377e-05/2.307, allocations: 7.938 kB / 0.8982 GB, free: 67.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01561/2.323, allocations: 4.491 MB / 0.9026 GB, free: 63.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001467/2.325, allocations: 6.887 MB / 0.9093 GB, free: 55.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-05/2.325, allocations: 16.19 kB / 0.9093 GB, free: 55.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005216/2.33, allocations: 0.9811 MB / 0.9103 GB, free: 54.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007609/2.338, allocations: 0.737 MB / 0.911 GB, free: 53.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02492/2.363, allocations: 10.1 MB / 0.9209 GB, free: 43.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006665/2.369, allocations: 427 kB / 0.9213 GB, free: 43.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005908/2.37, allocations: 111.9 kB / 0.9214 GB, free: 42.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/2.37, allocations: 4 kB / 0.9214 GB, free: 42.99 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01455/2.384, allocations: 4.221 MB / 0.9255 GB, free: 38.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.841e-05/2.385, allocations: 20 kB / 0.9255 GB, free: 38.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003812/2.388, allocations: 0.8413 MB / 0.9263 GB, free: 37.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007368/2.396, allocations: 0.7409 MB / 0.9271 GB, free: 37.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/2.416, allocations: 9.622 MB / 0.9365 GB, free: 27.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00628/2.422, allocations: 407.1 kB / 0.9369 GB, free: 26.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007535/2.423, allocations: 112 kB / 0.937 GB, free: 26.78 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * 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: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008422/2.424, allocations: 161 kB / 0.9371 GB, free: 26.61 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01221/2.436, allocations: 3.498 MB / 0.9405 GB, free: 23.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006963/2.437, allocations: 122.5 kB / 0.9406 GB, free: 22.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/2.45, allocations: 4.021 MB / 0.9446 GB, free: 18.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/2.45, allocations: 31.94 kB / 0.9446 GB, free: 18.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/2.45, allocations: 12 kB / 0.9446 GB, free: 18.87 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.068e-05/2.45, allocations: 7.969 kB / 0.9446 GB, free: 18.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02094/2.471, allocations: 7.223 MB / 0.9517 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/2.471, allocations: 12.12 kB / 0.9517 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005705/2.477, allocations: 0.5186 MB / 0.9522 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0042/2.481, allocations: 0.8606 MB / 0.953 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004211/2.482, allocations: 35.95 kB / 0.9531 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/2.502, allocations: 9.36 MB / 0.9622 GB, free: 480 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.465e-05/2.502, allocations: 11.94 kB / 0.9622 GB, free: 468 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/2.516, allocations: 4.099 MB / 0.9662 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/2.518, allocations: 0.5111 MB / 0.9667 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006342/2.518, allocations: 12 kB / 0.9667 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005794/2.524, allocations: 379.3 kB / 0.9671 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006423/2.525, allocations: 156.9 kB / 0.9672 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002994/2.525, allocations: 63.95 kB / 0.9673 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001553/2.527, allocations: 0.624 MB / 0.9679 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.72e-07/2.527, allocations: 0 / 0.9679 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.007287/2.534, allocations: 1.059 MB / 0.9689 GB, free: 9.281 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 99 * 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: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0142/2.548, allocations: 6.54 MB / 0.9753 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02164/2.57, allocations: 6.196 MB / 0.9814 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/2.57, allocations: 0 / 0.9814 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.007424/2.578, allocations: 2.036 MB / 0.9834 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/2.58, allocations: 113.2 kB / 0.9835 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0358/2.615, allocations: 6.624 MB / 0.9899 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004622/2.62, allocations: 2.355 MB / 0.9922 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.008491/2.629, allocations: 1.261 MB / 0.9935 GB, free: 15.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002793/2.632, allocations: 0.839 MB / 0.9943 GB, free: 14.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/2.632, allocations: 0 / 0.9943 GB, free: 14.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2208/2.852, allocations: 50.6 MB / 1.044 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003807/2.853, allocations: 185.7 kB / 1.044 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.628/7.481, allocations: 3.938 kB / 1.044 GB, free: 12.12 MB / 0.7448 GB