Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadModel(PowerSystems): time 2.265/2.265, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.214e-05, allocations: 4 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09416/0.09421, allocations: 53.25 MB / 355.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.4699, allocations: 94.88 MB / 450.3 MB, free: 6.871 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.4703, allocations: 91.94 kB / 450.4 MB, free: 6.781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04942/0.5197, allocations: 11.49 MB / 461.9 MB, free: 11.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.158e-06/0.5198, allocations: 0 / 461.9 MB, free: 11.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.519e-05/0.5198, allocations: 15.94 kB / 461.9 MB, free: 11.15 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001512/0.5214, allocations: 0.7556 MB / 462.7 MB, free: 10.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5214, allocations: 8.031 kB / 462.7 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.5216, allocations: 63.33 kB / 462.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004558/0.5262, allocations: 1.206 MB / 463.9 MB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.502e-05/0.5263, allocations: 33 kB / 464 MB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.5264, allocations: 40.69 kB / 464 MB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.5275, allocations: 0.5229 MB / 464.5 MB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.5276, allocations: 3.938 kB / 464.5 MB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.5277, allocations: 20 kB / 464.6 MB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/0.5277, allocations: 20.77 kB / 464.6 MB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008845/0.5286, allocations: 369.4 kB / 464.9 MB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003422/0.5321, allocations: 1.932 MB / 466.9 MB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/0.5329, allocations: 317.4 kB / 467.2 MB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/0.5333, allocations: 177.7 kB / 467.4 MB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.5334, allocations: 8 kB / 467.4 MB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.5339, allocations: 276.8 kB / 467.6 MB, free: 5.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 7.175e-06/0.5339, allocations: 7.922 kB / 467.6 MB, free: 5.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002292/0.5362, allocations: 1.058 MB / 468.7 MB, free: 3.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.5364, allocations: 170.2 kB / 468.9 MB, free: 3.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.5369, allocations: 343 kB / 469.2 MB, free: 3.445 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.537, allocations: 33.7 kB / 469.2 MB, free: 3.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.5373, allocations: 291.6 kB / 469.5 MB, free: 3.113 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.5375, allocations: 122.3 kB / 469.6 MB, free: 2.992 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.5375, allocations: 12 kB / 469.7 MB, free: 2.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.5378, allocations: 360.4 kB / 470 MB, free: 2.621 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.5381, allocations: 113.1 kB / 470.1 MB, free: 2.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.5385, allocations: 285 kB / 470.4 MB, free: 2.164 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.5389, allocations: 174.4 kB / 470.6 MB, free: 1.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5389, allocations: 4 kB / 470.6 MB, free: 1.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001102/0.54, allocations: 498.5 kB / 471.1 MB, free: 1.484 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.5401, allocations: 33.7 kB / 471.1 MB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5401, allocations: 4 kB / 471.1 MB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.5402, allocations: 8 kB / 471.1 MB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.5408, allocations: 115.8 kB / 471.2 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.5408, allocations: 11.94 kB / 471.2 MB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.5412, allocations: 28.36 kB / 471.3 MB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.5413, allocations: 31.98 kB / 471.3 MB, free: 1.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.5415, allocations: 174.4 kB / 471.5 MB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.379e-05/0.5416, allocations: 47.44 kB / 471.5 MB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.5427, allocations: 443.4 kB / 471.9 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.136e-06/0.5427, allocations: 4 kB / 471.9 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.756e-06/0.5427, allocations: 0 / 471.9 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.5427, allocations: 9.297 kB / 471.9 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.5446, allocations: 0.9382 MB / 472.9 MB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.265e-06/0.5446, allocations: 0 / 472.9 MB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.5451, allocations: 67.91 kB / 473 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.438e-06/0.5451, allocations: 0 / 473 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.5452, allocations: 15.98 kB / 473 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.022e-06/0.5452, allocations: 0 / 473 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.548e-06/0.5452, allocations: 0 / 473 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.5466, allocations: 0.7206 MB / 473.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.5469, allocations: 144.5 kB / 473.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/0.547, allocations: 8 kB / 473.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.5473, allocations: 20.05 kB / 473.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.5474, allocations: 27.92 kB / 473.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/0.5475, allocations: 32.03 kB / 473.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004398/0.548, allocations: 262.6 kB / 474.2 MB, free: 14.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.548, allocations: 4 kB / 474.2 MB, free: 14.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007091/0.5487, allocations: 116 kB / 474.3 MB, free: 14.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * 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.0002971/0.549, allocations: 159.1 kB / 474.4 MB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008502/0.5499, allocations: 383.8 kB / 474.8 MB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.375e-06/0.5499, allocations: 448 / 474.8 MB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.5504, allocations: 267.2 kB / 475.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.5511, allocations: 77.45 kB / 475.2 MB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.5529, allocations: 0.7154 MB / 475.9 MB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/0.5537, allocations: 0.8898 MB / 476.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004936/0.5542, allocations: 96.38 kB / 476.9 MB, free: 11.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.5543, allocations: 39.44 kB / 476.9 MB, free: 11.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.055e-06/0.5543, allocations: 0 / 476.9 MB, free: 11.4 MB / 410.7 MB Notification: Performance of Templates: time 0.01469/0.569, allocations: 4.297 MB / 481.2 MB, free: 7.141 MB / 410.7 MB