Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.279/2.279, allocations: 233 MB / 245.6 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.018e-05/3.023e-05, allocations: 4 kB / 301.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 53.24 MB / 354.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4798/0.5923, allocations: 104.8 MB / 459.4 MB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/0.5927, allocations: 89.95 kB / 459.5 MB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2181/0.8108, allocations: 48.9 MB / 0.4965 GB, free: 11.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.8108, allocations: 0 / 0.4965 GB, free: 11.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001092/0.811, allocations: 43.94 kB / 0.4965 GB, free: 11.43 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.005018/0.816, allocations: 1.584 MB / 0.4981 GB, free: 9.781 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.8161, allocations: 12.03 kB / 0.4981 GB, free: 9.77 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005927/0.8167, allocations: 236.7 kB / 0.4983 GB, free: 9.527 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004538/0.8212, allocations: 453.3 kB / 0.4987 GB, free: 9.082 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008482/0.8297, allocations: 2.068 MB / 0.5007 GB, free: 6.969 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.8299, allocations: 106.7 kB / 0.5008 GB, free: 6.863 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/0.8303, allocations: 147.8 kB / 0.501 GB, free: 6.719 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005564/0.8359, allocations: 2.202 MB / 0.5031 GB, free: 4.363 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.015e-05/0.836, allocations: 7.938 kB / 0.5031 GB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.8362, allocations: 67.92 kB / 0.5032 GB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000577/0.8368, allocations: 190.7 kB / 0.5034 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00471/0.8416, allocations: 1.673 MB / 0.505 GB, free: 2.426 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.01744/0.859, allocations: 9.292 MB / 0.5141 GB, free: 8.652 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/0.8627, allocations: 1.425 MB / 0.5155 GB, free: 7.199 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.8643, allocations: 0.6691 MB / 0.5161 GB, free: 6.523 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.8645, allocations: 24.97 kB / 0.5162 GB, free: 6.496 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001902/0.8664, allocations: 0.9133 MB / 0.5171 GB, free: 5.539 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 3.958e-06/0.8664, allocations: 0 / 0.5171 GB, free: 5.539 MB / 458.7 MB Notification: Performance of matching and sorting (n=143): time 0.009346/0.8758, allocations: 3.745 MB / 0.5207 GB, free: 1.699 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002062/0.876, allocations: 294.2 kB / 0.521 GB, free: 1.348 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.8776, allocations: 0.76 MB / 0.5217 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.8778, allocations: 49.7 kB / 0.5218 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3177/1.196, allocations: 0.7407 MB / 0.5225 GB, free: 117.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008483/1.196, allocations: 494.1 kB / 0.523 GB, free: 117.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/1.197, allocations: 32.03 kB / 0.523 GB, free: 117.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/1.197, allocations: 385.2 kB / 0.5234 GB, free: 116.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/1.199, allocations: 0.6059 MB / 0.524 GB, free: 116.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/1.201, allocations: 1.135 MB / 0.5251 GB, free: 116.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/1.203, allocations: 0.8819 MB / 0.5259 GB, free: 116.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.77e-05/1.203, allocations: 5.938 kB / 0.5259 GB, free: 116.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.008154/1.211, allocations: 2.417 MB / 0.5283 GB, free: 115.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.388e-05/1.212, allocations: 66.22 kB / 0.5284 GB, free: 115.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005532/1.217, allocations: 1.68 MB / 0.53 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002975/1.22, allocations: 0.5398 MB / 0.5305 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/1.223, allocations: 323 kB / 0.5308 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/1.236, allocations: 8.664 MB / 0.5393 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.238, allocations: 91.16 kB / 0.5394 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/1.239, allocations: 98.98 kB / 0.5395 GB, free: 110.7 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.00048/1.239, allocations: 284.2 kB / 0.5398 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/1.24, allocations: 129.3 kB / 0.5399 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004451/1.244, allocations: 1.673 MB / 0.5415 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.66e-05/1.244, allocations: 20.73 kB / 0.5415 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.244, allocations: 4.5 kB / 0.5415 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/1.244, allocations: 10.25 kB / 0.5415 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008689/1.253, allocations: 3.187 MB / 0.5447 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/1.253, allocations: 5.125 kB / 0.5447 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/1.256, allocations: 318.2 kB / 0.545 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.241e-05/1.256, allocations: 5.5 kB / 0.545 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/1.256, allocations: 40.03 kB / 0.545 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.456e-05/1.256, allocations: 6.125 kB / 0.545 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.256, allocations: 8.719 kB / 0.545 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005963/1.262, allocations: 2.606 MB / 0.5476 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.263, allocations: 314 kB / 0.5479 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/1.263, allocations: 30.28 kB / 0.5479 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/1.265, allocations: 70.41 kB / 0.548 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/1.265, allocations: 81.22 kB / 0.548 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/1.265, allocations: 86.83 kB / 0.5481 GB, free: 109.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001121/1.266, allocations: 0.5702 MB / 0.5487 GB, free: 109 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.266, allocations: 0 / 0.5487 GB, free: 109 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00273/1.269, allocations: 464.6 kB / 0.5491 GB, free: 109 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.005956/1.275, allocations: 3.778 MB / 0.5528 GB, free: 107.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00514/1.28, allocations: 2.309 MB / 0.5551 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.28, allocations: 0 / 0.5551 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/1.282, allocations: 0.9385 MB / 0.556 GB, free: 106.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/1.284, allocations: 184.4 kB / 0.5562 GB, free: 106.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00973/1.294, allocations: 3.431 MB / 0.5595 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/1.296, allocations: 1.5 MB / 0.561 GB, free: 104.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/1.297, allocations: 0.5756 MB / 0.5615 GB, free: 103.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/1.297, allocations: 0 / 0.5615 GB, free: 103.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.313/4.611, allocations: 35.1 MB / 0.5958 GB, free: 92.77 MB / 458.7 MB