Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadModel(PowerSystems): time 2.187/2.187, allocations: 233 MB / 245.6 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.549e-05, allocations: 4 kB / 301.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09081/0.09087, allocations: 53.24 MB / 354.5 MB, free: 2.629 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4499/0.5408, allocations: 94.88 MB / 449.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.5411, allocations: 87.95 kB / 449.5 MB, free: 7.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0476/0.5887, allocations: 11.49 MB / 461 MB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.58e-06/0.5888, allocations: 0 / 461 MB, free: 11.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.482e-05/0.5888, allocations: 15.94 kB / 461 MB, free: 11.45 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.001468/0.5903, allocations: 0.7595 MB / 461.7 MB, free: 10.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.5904, allocations: 8.031 kB / 461.7 MB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.5905, allocations: 63.34 kB / 461.8 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/0.5949, allocations: 1.206 MB / 463 MB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/0.595, allocations: 35.52 kB / 463 MB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.5951, allocations: 40.69 kB / 463.1 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.5962, allocations: 0.5211 MB / 463.6 MB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.5963, allocations: 3.938 kB / 463.6 MB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.5963, allocations: 16 kB / 463.6 MB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/0.5964, allocations: 24.77 kB / 463.6 MB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000845/0.5973, allocations: 369.4 kB / 464 MB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.6006, allocations: 1.936 MB / 465.9 MB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007381/0.6013, allocations: 321.4 kB / 466.3 MB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.6018, allocations: 173.7 kB / 466.4 MB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.6018, allocations: 4 kB / 466.4 MB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004702/0.6023, allocations: 272.7 kB / 466.7 MB, free: 5.426 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.503e-06/0.6023, allocations: 0 / 466.7 MB, free: 5.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002179/0.6045, allocations: 1.074 MB / 467.8 MB, free: 4.281 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.6046, allocations: 166.2 kB / 467.9 MB, free: 4.082 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.6052, allocations: 343 kB / 468.3 MB, free: 3.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.6052, allocations: 29.7 kB / 468.3 MB, free: 3.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.6055, allocations: 334.1 kB / 468.6 MB, free: 3.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.6056, allocations: 118.3 kB / 468.7 MB, free: 3.254 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.6057, allocations: 12 kB / 468.7 MB, free: 3.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.6059, allocations: 338.8 kB / 469.1 MB, free: 2.902 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.6062, allocations: 113.1 kB / 469.2 MB, free: 2.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.6066, allocations: 281 kB / 469.5 MB, free: 2.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.607, allocations: 178.4 kB / 469.6 MB, free: 2.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.296e-06/0.607, allocations: 0.5625 kB / 469.6 MB, free: 2.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009979/0.608, allocations: 466.5 kB / 470.1 MB, free: 1.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.6081, allocations: 37.69 kB / 470.1 MB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.6081, allocations: 8 kB / 470.1 MB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.6081, allocations: 8.688 kB / 470.1 MB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.6087, allocations: 119.8 kB / 470.3 MB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.6087, allocations: 12.5 kB / 470.3 MB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.6091, allocations: 23.98 kB / 470.3 MB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/0.6092, allocations: 31.98 kB / 470.3 MB, free: 1.559 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.000189/0.6094, allocations: 174.4 kB / 470.5 MB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.6095, allocations: 43.44 kB / 470.5 MB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009408/0.6105, allocations: 451.4 kB / 471 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.405e-06/0.6105, allocations: 5.594 kB / 471 MB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.242e-06/0.6105, allocations: 0 / 471 MB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6105, allocations: 0 / 471 MB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.6123, allocations: 0.942 MB / 471.9 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6123, allocations: 0 / 471.9 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.6127, allocations: 67.89 kB / 472 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.96e-06/0.6128, allocations: 4 kB / 472 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.6128, allocations: 12.03 kB / 472 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.829e-06/0.6128, allocations: 4 kB / 472 MB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6128, allocations: 0 / 472 MB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.6142, allocations: 0.7245 MB / 472.7 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.6144, allocations: 140.6 kB / 472.9 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/0.6145, allocations: 16.05 kB / 472.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.6148, allocations: 16 kB / 472.9 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.6149, allocations: 23.92 kB / 472.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/0.615, allocations: 35.95 kB / 473 MB, free: 14.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003902/0.6154, allocations: 261.2 kB / 473.2 MB, free: 14.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.39e-07/0.6154, allocations: 3.938 kB / 473.2 MB, free: 14.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006533/0.6161, allocations: 116 kB / 473.3 MB, free: 14.4 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.0002858/0.6164, allocations: 160.3 kB / 473.5 MB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008099/0.6172, allocations: 391.1 kB / 473.9 MB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.6172, allocations: 0 / 473.9 MB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004289/0.6177, allocations: 251.2 kB / 474.1 MB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.6183, allocations: 89.5 kB / 474.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.62, allocations: 0.7554 MB / 475 MB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/0.6207, allocations: 0.8936 MB / 475.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.6209, allocations: 43.44 kB / 475.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.594e-06/0.6209, allocations: 0 / 475.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of Templates: time 0.01166/0.6326, allocations: 5.947 MB / 481.8 MB, free: 5.812 MB / 410.7 MB