Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.386/2.386, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.731e-05, allocations: 4 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 53.25 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4982/0.6145, allocations: 105 MB / 460.5 MB, free: 12.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/0.6149, allocations: 83.95 kB / 460.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1662/0.7812, allocations: 29.65 MB / 490.3 MB, free: 14.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.561e-06/0.7813, allocations: 3.984 kB / 490.3 MB, free: 14.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.71e-05/0.7814, allocations: 20 kB / 490.3 MB, free: 14.45 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.004921/0.7863, allocations: 1.101 MB / 491.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.7864, allocations: 8.031 kB / 491.4 MB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005193/0.7869, allocations: 156.1 kB / 491.5 MB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.7897, allocations: 254.5 kB / 491.8 MB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007022/0.7968, allocations: 1.438 MB / 493.2 MB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.7969, allocations: 61.98 kB / 493.3 MB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003058/0.7972, allocations: 79.98 kB / 493.4 MB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004144/0.8014, allocations: 1.325 MB / 494.7 MB, free: 9.836 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/0.8015, allocations: 4 kB / 494.7 MB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.8017, allocations: 32 kB / 494.7 MB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003622/0.8021, allocations: 97.94 kB / 494.8 MB, free: 9.703 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/0.8058, allocations: 0.9875 MB / 495.8 MB, free: 8.715 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01453/0.8203, allocations: 5.771 MB / 0.4898 GB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002816/0.8232, allocations: 0.803 MB / 0.4906 GB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.8246, allocations: 371.3 kB / 0.491 GB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.435e-05/0.8247, allocations: 12.55 kB / 0.491 GB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/0.8263, allocations: 0.5127 MB / 0.4915 GB, free: 0.875 MB / 426.7 MB Notification: Performance of pre-optimization done (n=73): time 7.575e-06/0.8263, allocations: 0 / 0.4915 GB, free: 0.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.007311/0.8336, allocations: 2.079 MB / 0.4935 GB, free: 14.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/0.8338, allocations: 166.8 kB / 0.4937 GB, free: 14.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.8352, allocations: 0.5344 MB / 0.4942 GB, free: 13.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.8354, allocations: 37.7 kB / 0.4942 GB, free: 13.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007392/0.8362, allocations: 0.5019 MB / 0.4947 GB, free: 13.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005567/0.8367, allocations: 260.4 kB / 0.495 GB, free: 13.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.8369, allocations: 20 kB / 0.495 GB, free: 13.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003378/0.8372, allocations: 386.8 kB / 0.4954 GB, free: 12.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.8387, allocations: 366.5 kB / 0.4957 GB, free: 12.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.8406, allocations: 0.7505 MB / 0.4964 GB, free: 11.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.8425, allocations: 0.5305 MB / 0.497 GB, free: 10.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/0.8425, allocations: 4 kB / 0.497 GB, free: 10.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005882/0.8484, allocations: 1.435 MB / 0.4984 GB, free: 9.473 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.8485, allocations: 37.7 kB / 0.4984 GB, free: 9.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002935/0.8515, allocations: 0.8678 MB / 0.4992 GB, free: 8.551 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.8528, allocations: 249.7 kB / 0.4995 GB, free: 8.301 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.8544, allocations: 223.6 kB / 0.4997 GB, free: 8.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006927/0.8614, allocations: 4.011 MB / 0.5036 GB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.8627, allocations: 75.86 kB / 0.5037 GB, free: 3.727 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000272/0.863, allocations: 56.05 kB / 0.5037 GB, free: 3.672 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 1 * 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 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004213/0.8635, allocations: 210.2 kB / 0.5039 GB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.8637, allocations: 83.02 kB / 0.504 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.8665, allocations: 0.9415 MB / 0.5049 GB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.407e-05/0.8666, allocations: 15.98 kB / 0.505 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8667, allocations: 0 / 0.505 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.8667, allocations: 4 kB / 0.505 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005742/0.8724, allocations: 1.916 MB / 0.5068 GB, free: 404 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.8725, allocations: 0 / 0.5068 GB, free: 404 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.8741, allocations: 163.8 kB / 0.507 GB, free: 240 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.086e-05/0.8742, allocations: 7.984 kB / 0.507 GB, free: 232 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.8744, allocations: 24.16 kB / 0.507 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.317e-05/0.8744, allocations: 8 kB / 0.507 GB, free: 200 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.8744, allocations: 3.953 kB / 0.507 GB, free: 196 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006167/0.8806, allocations: 1.523 MB / 0.5085 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.8818, allocations: 216.1 kB / 0.5087 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003508/0.8822, allocations: 20 kB / 0.5087 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.8837, allocations: 47.94 kB / 0.5088 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/0.8841, allocations: 40.47 kB / 0.5088 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/0.8843, allocations: 43.95 kB / 0.5089 GB, free: 14.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001364/0.8857, allocations: 411.1 kB / 0.5093 GB, free: 13.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.8858, allocations: 0 / 0.5093 GB, free: 13.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002622/0.8884, allocations: 264 kB / 0.5095 GB, free: 13.56 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006836/0.8953, allocations: 2.558 MB / 0.512 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005227/0.9006, allocations: 1.249 MB / 0.5132 GB, free: 9.648 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/0.9007, allocations: 0 / 0.5132 GB, free: 9.648 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.9026, allocations: 0.503 MB / 0.5137 GB, free: 9.133 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.9045, allocations: 129 kB / 0.5138 GB, free: 9.008 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009262/0.9138, allocations: 1.869 MB / 0.5157 GB, free: 7.086 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/0.9157, allocations: 1.135 MB / 0.5168 GB, free: 5.918 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002278/0.918, allocations: 290.2 kB / 0.517 GB, free: 5.629 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.9194, allocations: 335.3 kB / 0.5174 GB, free: 5.301 MB / 458.7 MB Notification: Performance of SimCode: time 2.074e-06/0.9195, allocations: 0 / 0.5174 GB, free: 5.301 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3799/1.299, allocations: 16.41 MB / 0.5334 GB, free: 127.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/1.3, allocations: 174.2 kB / 0.5336 GB, free: 127.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.184/4.484, allocations: 0 / 0.5336 GB, free: 127.1 MB / 458.7 MB