Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.486/2.486, allocations: 233 MB / 246.1 MB, free: 15.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.984e-05/4.992e-05, allocations: 4 kB / 302.3 MB, free: 7.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1429, allocations: 53.24 MB / 355.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4695/0.6125, allocations: 105 MB / 460.5 MB, free: 12.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003855/0.6129, allocations: 87.95 kB / 460.6 MB, free: 12.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1407/0.7537, allocations: 29.64 MB / 490.3 MB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7537, allocations: 0 / 490.3 MB, free: 14.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.715e-05/0.7538, allocations: 20 kB / 490.3 MB, free: 14.69 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.003702/0.7575, allocations: 1.109 MB / 491.4 MB, free: 13.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.7576, allocations: 8.031 kB / 491.4 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004694/0.7581, allocations: 156.1 kB / 491.5 MB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.7611, allocations: 254.5 kB / 491.8 MB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006824/0.7679, allocations: 1.438 MB / 493.2 MB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/0.7681, allocations: 65.98 kB / 493.3 MB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/0.7684, allocations: 83.98 kB / 493.4 MB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/0.7717, allocations: 1.314 MB / 494.7 MB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/0.7718, allocations: 7.938 kB / 494.7 MB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.7719, allocations: 35.98 kB / 494.7 MB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003003/0.7722, allocations: 97.94 kB / 494.8 MB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003199/0.7755, allocations: 0.9875 MB / 495.8 MB, free: 8.938 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.01449/0.79, allocations: 5.775 MB / 0.4898 GB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.7929, allocations: 0.7913 MB / 0.4906 GB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.7943, allocations: 375.3 kB / 0.491 GB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.943e-05/0.7945, allocations: 4.562 kB / 0.491 GB, free: 1.652 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/0.7962, allocations: 0.5165 MB / 0.4915 GB, free: 1.105 MB / 426.7 MB Notification: Performance of pre-optimization done (n=73): time 5.57e-06/0.7962, allocations: 0 / 0.4915 GB, free: 1.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.007881/0.8041, allocations: 2.068 MB / 0.4935 GB, free: 14.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002312/0.8044, allocations: 174.7 kB / 0.4937 GB, free: 14.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.8059, allocations: 0.5343 MB / 0.4942 GB, free: 14.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002026/0.8062, allocations: 45.69 kB / 0.4942 GB, free: 14.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007521/0.8069, allocations: 0.5058 MB / 0.4947 GB, free: 13.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004997/0.8075, allocations: 252.5 kB / 0.495 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.8076, allocations: 28.02 kB / 0.495 GB, free: 13.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003056/0.8079, allocations: 386.8 kB / 0.4954 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.8093, allocations: 362.5 kB / 0.4957 GB, free: 12.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.8113, allocations: 0.7467 MB / 0.4964 GB, free: 11.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.8134, allocations: 0.5304 MB / 0.4969 GB, free: 11.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-05/0.8135, allocations: 4 kB / 0.497 GB, free: 11.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.006149/0.8196, allocations: 1.434 MB / 0.4984 GB, free: 9.703 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.905e-05/0.8198, allocations: 37.7 kB / 0.4984 GB, free: 9.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003898/0.8237, allocations: 0.8683 MB / 0.4992 GB, free: 8.781 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/0.8254, allocations: 249.5 kB / 0.4995 GB, free: 8.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.8276, allocations: 219.6 kB / 0.4997 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009501/0.8372, allocations: 4.022 MB / 0.5036 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.8389, allocations: 71.8 kB / 0.5037 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/0.8392, allocations: 55.98 kB / 0.5037 GB, free: 3.898 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.0004536/0.8397, allocations: 206.4 kB / 0.5039 GB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.84, allocations: 79.17 kB / 0.504 GB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/0.8436, allocations: 0.9453 MB / 0.5049 GB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-05/0.8438, allocations: 15.98 kB / 0.5049 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.8438, allocations: 0 / 0.5049 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.8438, allocations: 7.938 kB / 0.505 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007225/0.8511, allocations: 1.916 MB / 0.5068 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.8512, allocations: 0 / 0.5068 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/0.8532, allocations: 164 kB / 0.507 GB, free: 472 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.32e-05/0.8533, allocations: 7.938 kB / 0.507 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.8534, allocations: 27.92 kB / 0.507 GB, free: 436 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.319e-05/0.8535, allocations: 4 kB / 0.507 GB, free: 432 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.8535, allocations: 0 / 0.507 GB, free: 432 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/0.8574, allocations: 1.527 MB / 0.5085 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006419/0.8581, allocations: 220.1 kB / 0.5087 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.8583, allocations: 16 kB / 0.5087 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/0.8591, allocations: 47.86 kB / 0.5088 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.8593, allocations: 48.45 kB / 0.5088 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.8594, allocations: 43.95 kB / 0.5089 GB, free: 14.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000829/0.8603, allocations: 399.1 kB / 0.5092 GB, free: 14.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8603, allocations: 4 kB / 0.5093 GB, free: 14.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001698/0.862, allocations: 272 kB / 0.5095 GB, free: 13.77 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.004445/0.8665, allocations: 2.553 MB / 0.512 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003311/0.8699, allocations: 1.254 MB / 0.5132 GB, free: 9.863 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.8699, allocations: 0 / 0.5132 GB, free: 9.863 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.8712, allocations: 0.4979 MB / 0.5137 GB, free: 9.352 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.8723, allocations: 132 kB / 0.5138 GB, free: 9.227 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/0.8785, allocations: 1.873 MB / 0.5157 GB, free: 7.301 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.8797, allocations: 1.135 MB / 0.5168 GB, free: 6.133 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001538/0.8813, allocations: 286.2 kB / 0.5171 GB, free: 5.848 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008601/0.8822, allocations: 339.3 kB / 0.5174 GB, free: 5.516 MB / 458.7 MB Notification: Performance of SimCode: time 1.843e-06/0.8822, allocations: 0 / 0.5174 GB, free: 5.516 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3989/1.281, allocations: 16.42 MB / 0.5334 GB, free: 127.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/1.281, allocations: 172.4 kB / 0.5336 GB, free: 127.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/4.473, allocations: 3.938 kB / 0.5336 GB, free: 127.3 MB / 458.7 MB