Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.516/2.516, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.742e-05/6.755e-05, allocations: 7.984 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1475, allocations: 53.22 MB / 355.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5586/0.7062, allocations: 104.8 MB / 460.3 MB, free: 12.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003495/0.7066, allocations: 91.95 kB / 460.4 MB, free: 12.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2304/0.9371, allocations: 48.9 MB / 0.4974 GB, free: 11.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.9371, allocations: 0 / 0.4974 GB, free: 11.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001222/0.9373, allocations: 43.92 kB / 0.4974 GB, free: 11.25 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.005288/0.9426, allocations: 1.588 MB / 0.499 GB, free: 9.598 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.9427, allocations: 16.03 kB / 0.499 GB, free: 9.582 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006363/0.9433, allocations: 240.6 kB / 0.4992 GB, free: 9.336 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004734/0.9481, allocations: 449.3 kB / 0.4996 GB, free: 8.895 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008698/0.9568, allocations: 2.068 MB / 0.5017 GB, free: 6.781 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.957, allocations: 106.7 kB / 0.5018 GB, free: 6.676 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004202/0.9574, allocations: 143.9 kB / 0.5019 GB, free: 6.535 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005631/0.9631, allocations: 2.202 MB / 0.504 GB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.04e-05/0.9632, allocations: 7.938 kB / 0.5041 GB, free: 4.172 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/0.9634, allocations: 63.92 kB / 0.5041 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005794/0.964, allocations: 186.8 kB / 0.5043 GB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004916/0.969, allocations: 1.676 MB / 0.5059 GB, free: 2.246 MB / 442.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.01909/0.9881, allocations: 9.297 MB / 0.515 GB, free: 8.469 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.9921, allocations: 1.434 MB / 0.5164 GB, free: 7.008 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/0.9941, allocations: 0.6691 MB / 0.5171 GB, free: 6.332 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.9943, allocations: 20.98 kB / 0.5171 GB, free: 6.309 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002111/0.9964, allocations: 0.9172 MB / 0.518 GB, free: 5.348 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 5.56e-06/0.9965, allocations: 0 / 0.518 GB, free: 5.348 MB / 458.7 MB Notification: Performance of matching and sorting (n=143): time 0.009828/1.006, allocations: 3.749 MB / 0.5216 GB, free: 1.504 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/1.007, allocations: 290.3 kB / 0.5219 GB, free: 1.156 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/1.008, allocations: 0.7561 MB / 0.5227 GB, free: 384 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003165/1.009, allocations: 49.7 kB / 0.5227 GB, free: 328 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3121/1.321, allocations: 0.7254 MB / 0.5234 GB, free: 118.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008427/1.322, allocations: 491.7 kB / 0.5239 GB, free: 117.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/1.322, allocations: 34.69 kB / 0.5239 GB, free: 117.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003967/1.322, allocations: 434.1 kB / 0.5243 GB, free: 117.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/1.324, allocations: 0.6072 MB / 0.5249 GB, free: 117.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/1.327, allocations: 1.139 MB / 0.526 GB, free: 116.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/1.33, allocations: 0.8789 MB / 0.5269 GB, free: 116.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.461e-05/1.33, allocations: 5.531 kB / 0.5269 GB, free: 116.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.009829/1.339, allocations: 2.473 MB / 0.5293 GB, free: 116.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.34, allocations: 69.45 kB / 0.5294 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008104/1.348, allocations: 1.674 MB / 0.531 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004289/1.352, allocations: 0.5441 MB / 0.5315 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/1.356, allocations: 326.9 kB / 0.5319 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02055/1.376, allocations: 8.652 MB / 0.5403 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/1.379, allocations: 95.66 kB / 0.5404 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005447/1.38, allocations: 104.3 kB / 0.5405 GB, free: 111.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 11,(2,100.0%) 12,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007221/1.38, allocations: 283.6 kB / 0.5408 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/1.381, allocations: 124.5 kB / 0.5409 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00683/1.388, allocations: 1.674 MB / 0.5425 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.79e-05/1.388, allocations: 22.7 kB / 0.5425 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/1.388, allocations: 4.703 kB / 0.5425 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.795e-05/1.388, allocations: 6.141 kB / 0.5426 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/1.401, allocations: 3.191 MB / 0.5457 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/1.401, allocations: 2.75 kB / 0.5457 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004105/1.405, allocations: 315 kB / 0.546 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.497e-05/1.405, allocations: 5.469 kB / 0.546 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003628/1.405, allocations: 38.66 kB / 0.546 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.036e-05/1.405, allocations: 8.422 kB / 0.546 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/1.405, allocations: 4.875 kB / 0.546 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009198/1.415, allocations: 2.607 MB / 0.5486 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/1.416, allocations: 316.2 kB / 0.5489 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005164/1.417, allocations: 38.36 kB / 0.5489 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.419, allocations: 67.02 kB / 0.549 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000504/1.42, allocations: 82.06 kB / 0.5491 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003126/1.42, allocations: 82.98 kB / 0.5491 GB, free: 109.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001845/1.422, allocations: 0.5646 MB / 0.5497 GB, free: 109.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.182e-06/1.422, allocations: 0 / 0.5497 GB, free: 109.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004287/1.426, allocations: 475.3 kB / 0.5501 GB, free: 109.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 118 * Array equations: 3 * Algorithm blocks: 2 * 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.009628/1.436, allocations: 3.763 MB / 0.5538 GB, free: 108.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007799/1.444, allocations: 2.319 MB / 0.5561 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.444, allocations: 0 / 0.5561 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002892/1.447, allocations: 0.9346 MB / 0.557 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/1.449, allocations: 194.2 kB / 0.5572 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/1.463, allocations: 3.289 MB / 0.5604 GB, free: 105.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/1.465, allocations: 1.496 MB / 0.5618 GB, free: 104.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003327/1.469, allocations: 465.5 kB / 0.5623 GB, free: 104.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/1.471, allocations: 0.5655 MB / 0.5628 GB, free: 104.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.532e-06/1.471, allocations: 0 / 0.5628 GB, free: 104.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0771/1.548, allocations: 27.95 MB / 0.5901 GB, free: 99.97 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002899/1.548, allocations: 183.5 kB / 0.5903 GB, free: 99.74 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.688/5.236, allocations: 0 / 0.5903 GB, free: 99.74 MB / 458.7 MB