Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.348/2.348, allocations: 233 MB / 245.6 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/3.97e-05, allocations: 4 kB / 301.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 53.24 MB / 354.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4645/0.5775, allocations: 105 MB / 459.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.5778, allocations: 91.95 kB / 459.7 MB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1355/0.7133, allocations: 29.65 MB / 489.3 MB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7134, allocations: 0 / 489.3 MB, free: 14.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.144e-05/0.7135, allocations: 20 kB / 489.3 MB, free: 14.75 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.003417/0.7169, allocations: 1.105 MB / 490.4 MB, free: 13.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.717, allocations: 8.031 kB / 490.5 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004051/0.7174, allocations: 160 kB / 490.6 MB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/0.7201, allocations: 254.5 kB / 490.9 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005982/0.7261, allocations: 1.43 MB / 492.3 MB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.69e-05/0.7262, allocations: 57.98 kB / 492.3 MB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/0.7265, allocations: 87.92 kB / 492.4 MB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/0.7298, allocations: 1.318 MB / 493.7 MB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/0.7298, allocations: 0 / 493.7 MB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.73, allocations: 43.97 kB / 493.8 MB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002807/0.7303, allocations: 97.94 kB / 493.9 MB, free: 10 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/0.7332, allocations: 0.9875 MB / 494.9 MB, free: 9.012 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.01128/0.7446, allocations: 5.775 MB / 0.4889 GB, free: 2.953 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.7466, allocations: 0.7952 MB / 0.4897 GB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009561/0.7476, allocations: 375.3 kB / 0.4901 GB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.687e-05/0.7477, allocations: 4.562 kB / 0.4901 GB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.7488, allocations: 0.5166 MB / 0.4906 GB, free: 1.176 MB / 426.7 MB Notification: Performance of pre-optimization done (n=73): time 3.808e-06/0.7488, allocations: 0 / 0.4906 GB, free: 1.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.00533/0.7542, allocations: 2.076 MB / 0.4926 GB, free: 15.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.7543, allocations: 166.8 kB / 0.4927 GB, free: 14.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.7554, allocations: 0.5305 MB / 0.4933 GB, free: 14.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.7556, allocations: 41.69 kB / 0.4933 GB, free: 14.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005661/0.7562, allocations: 0.5434 MB / 0.4938 GB, free: 13.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/0.7566, allocations: 256.4 kB / 0.4941 GB, free: 13.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.108e-05/0.7567, allocations: 23.92 kB / 0.4941 GB, free: 13.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.7569, allocations: 354.8 kB / 0.4944 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009671/0.7578, allocations: 366.5 kB / 0.4948 GB, free: 12.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.7592, allocations: 0.7547 MB / 0.4955 GB, free: 11.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.7605, allocations: 0.5227 MB / 0.496 GB, free: 11.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.7606, allocations: 7.938 kB / 0.496 GB, free: 11.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004157/0.7648, allocations: 1.404 MB / 0.4974 GB, free: 9.801 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.7648, allocations: 33.7 kB / 0.4974 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002719/0.7676, allocations: 0.8678 MB / 0.4983 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.7688, allocations: 254.3 kB / 0.4985 GB, free: 8.629 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.7704, allocations: 219.6 kB / 0.4987 GB, free: 8.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006819/0.7772, allocations: 4.02 MB / 0.5027 GB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.7785, allocations: 67.95 kB / 0.5027 GB, free: 4.059 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.7786, allocations: 59.98 kB / 0.5028 GB, free: 4 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.000413/0.7791, allocations: 210.2 kB / 0.503 GB, free: 3.781 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.7793, allocations: 79.02 kB / 0.5031 GB, free: 3.703 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.7819, allocations: 0.9415 MB / 0.504 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.426e-05/0.782, allocations: 15.98 kB / 0.504 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.782, allocations: 0 / 0.504 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.782, allocations: 0 / 0.504 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005043/0.7871, allocations: 1.924 MB / 0.5059 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.7871, allocations: 4 kB / 0.5059 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.7887, allocations: 163.8 kB / 0.506 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/0.7887, allocations: 4 kB / 0.506 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.305e-05/0.7888, allocations: 24.14 kB / 0.5061 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.7888, allocations: 4 kB / 0.5061 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.7889, allocations: 7.953 kB / 0.5061 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/0.7923, allocations: 1.523 MB / 0.5076 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006082/0.793, allocations: 220.1 kB / 0.5078 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.7932, allocations: 16 kB / 0.5078 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007509/0.7939, allocations: 47.94 kB / 0.5078 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.7941, allocations: 44.45 kB / 0.5079 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.7942, allocations: 43.89 kB / 0.5079 GB, free: 14.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008113/0.7951, allocations: 407.1 kB / 0.5083 GB, free: 14.14 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-07/0.7951, allocations: 0 / 0.5083 GB, free: 14.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001526/0.7966, allocations: 264.1 kB / 0.5086 GB, free: 13.89 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.004257/0.8009, allocations: 2.56 MB / 0.5111 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003181/0.8041, allocations: 1.249 MB / 0.5123 GB, free: 9.973 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.8042, allocations: 0 / 0.5123 GB, free: 9.973 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.8054, allocations: 0.503 MB / 0.5128 GB, free: 9.457 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.8065, allocations: 125.9 kB / 0.5129 GB, free: 9.336 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.8124, allocations: 1.953 MB / 0.5148 GB, free: 7.324 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.8136, allocations: 1.135 MB / 0.5159 GB, free: 6.156 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008538/0.8145, allocations: 347.3 kB / 0.5162 GB, free: 5.816 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8145, allocations: 0 / 0.5162 GB, free: 5.816 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.555/4.37, allocations: 18.38 MB / 0.5342 GB, free: 125.4 MB / 458.7 MB