Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadModel(PowerSystems): time 2.356/2.356, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.519e-05, allocations: 4 kB / 304.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.367, allocations: 53.21 MB / 357.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01287/0.38, allocations: 7.461 MB / 365 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.386, allocations: 1.966 MB / 367 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.3874, allocations: 65 kB / 367.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008693/0.3883, allocations: 188.2 kB / 367.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.3909, allocations: 480.9 kB / 367.7 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.3923, allocations: 256.1 kB / 368 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.3941, allocations: 489.4 kB / 368.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005512/0.3948, allocations: 201.9 kB / 368.6 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.3961, allocations: 357.3 kB / 369 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.3975, allocations: 409.4 kB / 369.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.398, allocations: 26.94 kB / 369.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.3983, allocations: 30.25 kB / 369.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004579/0.3987, allocations: 260.7 kB / 369.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.3991, allocations: 78.06 kB / 369.8 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.4004, allocations: 0.6702 MB / 370.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4005, allocations: 0 / 370.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.666e-06/0.4005, allocations: 0 / 370.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.001e-05/0.4005, allocations: 0 / 370.4 MB, free: 4.648 MB / 298.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.00294/0.4035, allocations: 1 MB / 371.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.4036, allocations: 16.02 kB / 371.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.404, allocations: 94.88 kB / 371.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/0.4061, allocations: 0.636 MB / 372.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.96e-05/0.4063, allocations: 53.31 kB / 372.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.4065, allocations: 67.94 kB / 372.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.4087, allocations: 0.7982 MB / 373.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.4088, allocations: 0 / 373.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-05/0.4089, allocations: 31.98 kB / 373.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.835e-05/0.409, allocations: 41.28 kB / 373.2 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.4108, allocations: 0.6139 MB / 373.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005778/0.4166, allocations: 2.641 MB / 376.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.4184, allocations: 0.6245 MB / 377.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.3e-05/0.4185, allocations: 12.44 kB / 377.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009592/0.4195, allocations: 479.1 kB / 377.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 3.276e-06/0.4195, allocations: 0 / 377.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=64): time 0.005434/0.425, allocations: 2.519 MB / 380.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.4252, allocations: 243.9 kB / 380.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000945/0.4261, allocations: 0.4914 MB / 380.8 MB, free: 9.727 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.4263, allocations: 41.73 kB / 380.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.4267, allocations: 422 kB / 381.2 MB, free: 9.262 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.427, allocations: 213 kB / 381.4 MB, free: 9.051 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.4271, allocations: 16 kB / 381.5 MB, free: 9.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4272, allocations: 346.8 kB / 381.8 MB, free: 8.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006286/0.4279, allocations: 225.9 kB / 382 MB, free: 8.465 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/0.4287, allocations: 457.8 kB / 382.5 MB, free: 7.918 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008299/0.4296, allocations: 341.4 kB / 382.8 MB, free: 7.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.4296, allocations: 4 kB / 382.8 MB, free: 7.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002686/0.4323, allocations: 0.9213 MB / 383.7 MB, free: 6.617 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.53e-05/0.4324, allocations: 72.33 kB / 383.8 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.4325, allocations: 4 kB / 383.8 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006857/0.4332, allocations: 125.6 kB / 383.9 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4343, allocations: 152 kB / 384.1 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005076/0.4394, allocations: 3.246 MB / 387.3 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009149/0.4404, allocations: 48.09 kB / 387.4 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.4405, allocations: 55.95 kB / 387.4 MB, free: 2.641 MB / 314.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 (88): * Single equations (assignments): 84 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007213/0.4413, allocations: 346.4 kB / 387.8 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.4415, allocations: 75.06 kB / 387.8 MB, free: 2.207 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.4438, allocations: 0.9926 MB / 388.8 MB, free: 1.145 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.4439, allocations: 4 kB / 388.8 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.4439, allocations: 0 / 388.8 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.4439, allocations: 3.984 kB / 388.8 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/0.4482, allocations: 1.746 MB / 390.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.4482, allocations: 0 / 390.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.4493, allocations: 111.8 kB / 390.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/0.4495, allocations: 45.73 kB / 390.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.4496, allocations: 19.98 kB / 390.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.4525, allocations: 2.766 MB / 393.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.4525, allocations: 0 / 393.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/0.4557, allocations: 1.444 MB / 395 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.4563, allocations: 188.1 kB / 395.1 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.4565, allocations: 16 kB / 395.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006386/0.4571, allocations: 35.97 kB / 395.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.4573, allocations: 40.33 kB / 395.2 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.4574, allocations: 67.92 kB / 395.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007527/0.4582, allocations: 383 kB / 395.7 MB, free: 9.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.4582, allocations: 0 / 395.7 MB, free: 9.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00121/0.4595, allocations: 188 kB / 395.9 MB, free: 9.621 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (53): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002597/0.4597, allocations: 123.2 kB / 396 MB, free: 9.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.4623, allocations: 1.016 MB / 397 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4623, allocations: 0.5 kB / 397 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.4636, allocations: 0.7057 MB / 397.7 MB, free: 7.668 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.4648, allocations: 135.9 kB / 397.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.4692, allocations: 1.901 MB / 399.7 MB, free: 5.598 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.4702, allocations: 1.033 MB / 400.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.4706, allocations: 51.44 kB / 400.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.4706, allocations: 0 / 400.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of Templates: time 0.03091/0.5015, allocations: 14.27 MB / 415.1 MB, free: 6.227 MB / 346.7 MB