Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.378/2.378, allocations: 233 MB / 246.1 MB, free: 15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.18e-05, allocations: 0 / 302.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 53.24 MB / 355.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5029/0.617, allocations: 94.97 MB / 450.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004165/0.6175, allocations: 87.95 kB / 450.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08607/0.7036, allocations: 16.91 MB / 467.5 MB, free: 5.551 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.7036, allocations: 0 / 467.5 MB, free: 5.551 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.502e-05/0.7037, allocations: 23.94 kB / 467.5 MB, free: 5.527 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002743/0.7065, allocations: 1.004 MB / 468.5 MB, free: 4.465 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.7066, allocations: 12.03 kB / 468.5 MB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003026/0.7069, allocations: 110.5 kB / 468.6 MB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.7072, allocations: 90.88 kB / 468.7 MB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007172/0.7144, allocations: 1.694 MB / 470.4 MB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/0.7145, allocations: 41.31 kB / 470.5 MB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.7147, allocations: 64 kB / 470.5 MB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.7168, allocations: 0.7879 MB / 471.3 MB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.7168, allocations: 0 / 471.3 MB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/0.7169, allocations: 24 kB / 471.3 MB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.279e-05/0.717, allocations: 41.23 kB / 471.4 MB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.7188, allocations: 0.5803 MB / 472 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006288/0.7252, allocations: 2.654 MB / 474.6 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.7268, allocations: 0.5959 MB / 475.2 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009872/0.7279, allocations: 367.2 kB / 475.6 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-05/0.7279, allocations: 16.42 kB / 475.6 MB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009397/0.7289, allocations: 466.2 kB / 476 MB, free: 12.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 3.757e-06/0.7289, allocations: 3.938 kB / 476 MB, free: 12.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.004228/0.7332, allocations: 1.739 MB / 477.8 MB, free: 10.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.7334, allocations: 259.9 kB / 478 MB, free: 10.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009393/0.7344, allocations: 491.3 kB / 478.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.437e-05/0.7345, allocations: 45.69 kB / 478.6 MB, free: 9.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.7349, allocations: 395.5 kB / 479 MB, free: 9.598 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002894/0.7352, allocations: 213 kB / 479.2 MB, free: 9.387 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.7353, allocations: 16 kB / 479.2 MB, free: 9.371 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.7356, allocations: 382.8 kB / 479.5 MB, free: 8.988 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.7362, allocations: 213.9 kB / 479.8 MB, free: 8.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008416/0.7371, allocations: 443.9 kB / 480.2 MB, free: 8.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007804/0.7379, allocations: 334.8 kB / 480.5 MB, free: 7.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.7379, allocations: 0 / 480.5 MB, free: 7.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002576/0.7405, allocations: 0.9093 MB / 481.4 MB, free: 6.977 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.652e-05/0.7406, allocations: 67.53 kB / 481.5 MB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.7406, allocations: 4 kB / 481.5 MB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.7413, allocations: 105.7 kB / 481.6 MB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.7423, allocations: 151.7 kB / 481.7 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004394/0.7467, allocations: 3.189 MB / 484.9 MB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009103/0.7477, allocations: 48.28 kB / 485 MB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.7479, allocations: 51.97 kB / 485 MB, free: 3.082 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * 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 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003291/0.7482, allocations: 221.9 kB / 485.3 MB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.7484, allocations: 71.16 kB / 485.3 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.7503, allocations: 0.7934 MB / 486.1 MB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.7504, allocations: 4 kB / 486.1 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7504, allocations: 0 / 486.1 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.7504, allocations: 11.94 kB / 486.1 MB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.7541, allocations: 1.538 MB / 487.7 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.7541, allocations: 4.031 kB / 487.7 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.7551, allocations: 119.7 kB / 487.8 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/0.7552, allocations: 7.953 kB / 487.8 MB, free: 208 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.7552, allocations: 19.98 kB / 487.8 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.7553, allocations: 7.984 kB / 487.8 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.7553, allocations: 0 / 487.8 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/0.758, allocations: 1.22 MB / 489 MB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/0.7585, allocations: 192 kB / 489.2 MB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.7587, allocations: 20.06 kB / 489.3 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006168/0.7593, allocations: 31.98 kB / 489.3 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.7595, allocations: 44.33 kB / 489.3 MB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.7596, allocations: 63.86 kB / 489.4 MB, free: 14.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007443/0.7604, allocations: 387.1 kB / 489.8 MB, free: 14.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7604, allocations: 4 kB / 489.8 MB, free: 14.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001208/0.7616, allocations: 184 kB / 489.9 MB, free: 13.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * 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 (55): * Single equations (assignments): 52 * Array equations: 0 * 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.003441/0.7651, allocations: 2.118 MB / 492.1 MB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002371/0.7675, allocations: 0.9485 MB / 493 MB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7675, allocations: 1.562 kB / 493 MB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.7685, allocations: 492.4 kB / 493.5 MB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.7698, allocations: 139.8 kB / 493.6 MB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.7739, allocations: 1.384 MB / 495 MB, free: 8.707 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009395/0.7749, allocations: 1.029 MB / 496 MB, free: 7.652 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008743/0.7758, allocations: 149.8 kB / 496.2 MB, free: 7.504 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/0.7763, allocations: 279.3 kB / 496.5 MB, free: 7.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7763, allocations: 0 / 496.5 MB, free: 7.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0617/0.8381, allocations: 14.26 MB / 0.4988 GB, free: 9.047 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002996/0.8384, allocations: 186.8 kB / 0.4989 GB, free: 8.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.946/3.784, allocations: 3.938 kB / 0.4989 GB, free: 8.816 MB / 442.7 MB