Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.425/2.425, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.777e-05/3.79e-05, allocations: 4 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 53.24 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.5892, allocations: 104.8 MB / 460.3 MB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/0.5896, allocations: 83.95 kB / 460.4 MB, free: 12.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2463/0.8359, allocations: 48.9 MB / 0.4974 GB, free: 11.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.836, allocations: 0 / 0.4974 GB, free: 11.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001624/0.8362, allocations: 39.94 kB / 0.4974 GB, free: 11.28 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.007217/0.8434, allocations: 1.596 MB / 0.499 GB, free: 9.613 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.8435, allocations: 12.03 kB / 0.499 GB, free: 9.602 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007677/0.8443, allocations: 232.7 kB / 0.4992 GB, free: 9.363 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00664/0.8509, allocations: 457.3 kB / 0.4996 GB, free: 8.914 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.8622, allocations: 2.065 MB / 0.5017 GB, free: 6.805 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.8624, allocations: 102.7 kB / 0.5018 GB, free: 6.703 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005657/0.863, allocations: 143.9 kB / 0.5019 GB, free: 6.562 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007333/0.8703, allocations: 2.209 MB / 0.5041 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.668e-05/0.8705, allocations: 7.938 kB / 0.5041 GB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.8707, allocations: 63.92 kB / 0.5041 GB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006168/0.8714, allocations: 186.8 kB / 0.5043 GB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005447/0.8768, allocations: 1.676 MB / 0.5059 GB, free: 2.266 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.02046/0.8974, allocations: 9.289 MB / 0.515 GB, free: 8.496 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004636/0.9021, allocations: 1.437 MB / 0.5164 GB, free: 7.031 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.9039, allocations: 0.6652 MB / 0.5171 GB, free: 6.359 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.9041, allocations: 24.97 kB / 0.5171 GB, free: 6.332 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002065/0.9062, allocations: 0.9172 MB / 0.518 GB, free: 5.371 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 4.97e-06/0.9062, allocations: 0 / 0.518 GB, free: 5.371 MB / 458.7 MB Notification: Performance of matching and sorting (n=143): time 0.009948/0.9162, allocations: 3.749 MB / 0.5216 GB, free: 1.527 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/0.9164, allocations: 290.3 kB / 0.5219 GB, free: 1.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.918, allocations: 0.7561 MB / 0.5227 GB, free: 408 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003094/0.9183, allocations: 49.7 kB / 0.5227 GB, free: 352 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3008/1.219, allocations: 0.7289 MB / 0.5234 GB, free: 118 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007615/1.22, allocations: 491.2 kB / 0.5239 GB, free: 117.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/1.22, allocations: 35.58 kB / 0.5239 GB, free: 117.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003249/1.22, allocations: 434.8 kB / 0.5243 GB, free: 117.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/1.222, allocations: 0.6068 MB / 0.5249 GB, free: 117.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/1.225, allocations: 1.135 MB / 0.526 GB, free: 116.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/1.227, allocations: 0.8797 MB / 0.5269 GB, free: 116.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/1.227, allocations: 7.969 kB / 0.5269 GB, free: 116.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.007871/1.235, allocations: 2.472 MB / 0.5293 GB, free: 116.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/1.235, allocations: 70.84 kB / 0.5294 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005676/1.241, allocations: 1.675 MB / 0.531 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002894/1.244, allocations: 0.5367 MB / 0.5315 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/1.246, allocations: 325.3 kB / 0.5319 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/1.261, allocations: 8.653 MB / 0.5403 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/1.263, allocations: 101.5 kB / 0.5404 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/1.263, allocations: 93.36 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.0004967/1.263, allocations: 287.8 kB / 0.5408 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/1.264, allocations: 124.3 kB / 0.5409 GB, free: 111 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004563/1.268, allocations: 1.672 MB / 0.5425 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.988e-05/1.268, allocations: 25.19 kB / 0.5425 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.268, allocations: 1.031 kB / 0.5425 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.149e-05/1.268, allocations: 14.73 kB / 0.5426 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009007/1.278, allocations: 3.195 MB / 0.5457 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/1.278, allocations: 2.219 kB / 0.5457 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002977/1.281, allocations: 310.4 kB / 0.546 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.628e-05/1.281, allocations: 7.531 kB / 0.546 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/1.281, allocations: 37.31 kB / 0.546 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.646e-05/1.281, allocations: 7.047 kB / 0.546 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.281, allocations: 5.938 kB / 0.546 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00607/1.287, allocations: 2.614 MB / 0.5486 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.288, allocations: 312.3 kB / 0.5489 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/1.288, allocations: 33.31 kB / 0.5489 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/1.29, allocations: 66.44 kB / 0.549 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/1.29, allocations: 83.42 kB / 0.5491 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002034/1.29, allocations: 76.91 kB / 0.5491 GB, free: 109.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001256/1.291, allocations: 0.5723 MB / 0.5497 GB, free: 109.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.292, allocations: 1.219 kB / 0.5497 GB, free: 109.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002689/1.294, allocations: 472.9 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.005895/1.3, allocations: 3.773 MB / 0.5538 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005133/1.305, allocations: 2.312 MB / 0.5561 GB, free: 106.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.305, allocations: 0 / 0.5561 GB, free: 106.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001977/1.307, allocations: 0.9324 MB / 0.557 GB, free: 106.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/1.309, allocations: 191.9 kB / 0.5572 GB, free: 106.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009397/1.318, allocations: 3.289 MB / 0.5604 GB, free: 105.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/1.32, allocations: 1.497 MB / 0.5618 GB, free: 104.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002166/1.322, allocations: 455.3 kB / 0.5623 GB, free: 104.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.323, allocations: 0.5756 MB / 0.5628 GB, free: 104 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/1.323, allocations: 0 / 0.5628 GB, free: 104 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/1.434, allocations: 27.93 MB / 0.5901 GB, free: 99.99 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/1.434, allocations: 183.9 kB / 0.5903 GB, free: 99.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/5.032, allocations: 0 / 0.5903 GB, free: 99.75 MB / 458.7 MB